@@ -25,6 +25,7 @@ internal static class CloudStorage
2525 [
2626 RegOp . DeleteValue ( @"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Dropbox\Update" , "DisableAutoStart" ) ,
2727 ] ,
28+ DetectOps = [ RegOp . CheckMissing ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" , "Dropbox" ) ] ,
2829 } ,
2930 new TweakDef
3031 {
@@ -84,6 +85,7 @@ internal static class CloudStorage
8485 [
8586 RegOp . DeleteValue ( @"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\DriveFS" , "DisableAutoStart" ) ,
8687 ] ,
88+ DetectOps = [ RegOp . CheckMissing ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" , "GoogleDriveFS" ) ] ,
8789 } ,
8890 new TweakDef
8991 {
@@ -125,6 +127,7 @@ internal static class CloudStorage
125127 RegOp . DeleteValue ( @"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\DriveFS" , "BandwidthRxKBPS" ) ,
126128 RegOp . DeleteValue ( @"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\DriveFS" , "BandwidthTxKBPS" ) ,
127129 ] ,
130+ DetectOps = [ RegOp . CheckDword ( @"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\DriveFS" , "BandwidthTxKBPS" , 1024 ) ] ,
128131 } ,
129132 new TweakDef
130133 {
@@ -141,6 +144,7 @@ internal static class CloudStorage
141144 RegOp . DeleteValue ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" , "iCloudDrive" ) ,
142145 RegOp . DeleteValue ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" , "iCloudServices" ) ,
143146 ] ,
147+ DetectOps = [ RegOp . CheckMissing ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" , "iCloudDrive" ) ] ,
144148 } ,
145149 new TweakDef
146150 {
@@ -177,6 +181,7 @@ internal static class CloudStorage
177181 RegOp . DeleteValue ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" , "Box" ) ,
178182 RegOp . DeleteValue ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" , "BoxDrive" ) ,
179183 ] ,
184+ DetectOps = [ RegOp . CheckMissing ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" , "Box" ) ] ,
180185 } ,
181186 new TweakDef
182187 {
@@ -192,6 +197,7 @@ internal static class CloudStorage
192197 [
193198 RegOp . DeleteValue ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" , "MEGAsync" ) ,
194199 ] ,
200+ DetectOps = [ RegOp . CheckMissing ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" , "MEGAsync" ) ] ,
195201 } ,
196202 new TweakDef
197203 {
@@ -207,6 +213,7 @@ internal static class CloudStorage
207213 [
208214 RegOp . DeleteValue ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" , "pCloud Drive" ) ,
209215 ] ,
216+ DetectOps = [ RegOp . CheckMissing ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" , "pCloud Drive" ) ] ,
210217 } ,
211218 new TweakDef
212219 {
@@ -222,6 +229,7 @@ internal static class CloudStorage
222229 [
223230 RegOp . DeleteValue ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" , "Nextcloud" ) ,
224231 ] ,
232+ DetectOps = [ RegOp . CheckMissing ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" , "Nextcloud" ) ] ,
225233 } ,
226234 new TweakDef
227235 {
@@ -237,6 +245,7 @@ internal static class CloudStorage
237245 [
238246 RegOp . DeleteValue ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" , "Tresorit" ) ,
239247 ] ,
248+ DetectOps = [ RegOp . CheckMissing ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" , "Tresorit" ) ] ,
240249 } ,
241250 new TweakDef
242251 {
@@ -252,6 +261,7 @@ internal static class CloudStorage
252261 [
253262 RegOp . DeleteValue ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" , "Sync.com" ) ,
254263 ] ,
264+ DetectOps = [ RegOp . CheckMissing ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" , "Sync.com" ) ] ,
255265 } ,
256266 new TweakDef
257267 {
@@ -267,6 +277,7 @@ internal static class CloudStorage
267277 [
268278 RegOp . DeleteValue ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" , "SpiderOakONE" ) ,
269279 ] ,
280+ DetectOps = [ RegOp . CheckMissing ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" , "SpiderOakONE" ) ] ,
270281 } ,
271282 new TweakDef
272283 {
@@ -282,6 +293,7 @@ internal static class CloudStorage
282293 [
283294 RegOp . DeleteValue ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" , "Amazon Drive" ) ,
284295 ] ,
296+ DetectOps = [ RegOp . CheckMissing ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" , "Amazon Drive" ) ] ,
285297 } ,
286298 new TweakDef
287299 {
@@ -303,6 +315,7 @@ internal static class CloudStorage
303315 RegOp . DeleteValue ( @"HKEY_CURRENT_USER\Software\Dropbox\Config" , "throttle_upload_rate" ) ,
304316 RegOp . DeleteValue ( @"HKEY_CURRENT_USER\Software\Dropbox\Config" , "throttle_upload_style" ) ,
305317 ] ,
318+ DetectOps = [ RegOp . CheckDword ( @"HKEY_CURRENT_USER\Software\Dropbox\Config" , "throttle_upload_rate" , 512 ) ] ,
306319 } ,
307320 new TweakDef
308321 {
@@ -342,6 +355,7 @@ internal static class CloudStorage
342355 [
343356 RegOp . DeleteValue ( @"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\DriveFS" , "MaxCacheSizeMB" ) ,
344357 ] ,
358+ DetectOps = [ RegOp . CheckDword ( @"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\DriveFS" , "MaxCacheSizeMB" , 10240 ) ] ,
345359 } ,
346360 new TweakDef
347361 {
0 commit comments