Ejemplo n.º 1
0
 def step_9(self):
     for key in TaskManager.str_unpack(
             r'hkey_local_machine\software\($|Wow6432Node\)microsoft\windows defender\spynet'
     ):
         TaskManager.reg_add(key, 'spynetreporting', 'reg_dword', '0', True)
         TaskManager.reg_add(key, 'submitsamplesconsent', 'reg_dword', '0',
                             True)
Ejemplo n.º 2
0
 def step_11(self):
     for key in TaskManager.str_unpack(
             r'hkey_local_machine\software\($|Wow6432Node\)microsoft\wcmsvc\wifinetworkmanager'
     ):
         TaskManager.reg_add(key, 'wifisensecredshared', 'reg_dword', '0',
                             True)
         TaskManager.reg_add(key, 'wifisenseopen', 'reg_dword', '0', True)
Ejemplo n.º 3
0
 def step_2(self):
     for key in TaskManager.str_unpack(
             r'hkey_local_machine\software\($|Wow6432Node\)microsoft\windows\currentversion\windowsupdate\auto update'
     ):
         TaskManager.reg_add(key, 'auoptions', 'reg_dword', '2', True)
         TaskManager.reg_add(key, 'enablefeaturedsoftware', 'reg_dword',
                             '0', True)
         TaskManager.reg_add(key, 'includerecommendedupdates', 'reg_dword',
                             '0', True)
Ejemplo n.º 4
0
 def step_13(self):
     for key in TaskManager.str_unpack(
             r'hkey_local_machine\software\($|Wow6432Node\)policies\microsoft\windows\windowsupdate'
     ):
         TaskManager.reg_add(key, 'disableosupgrade', 'reg_dword', '1',
                             True)
Ejemplo n.º 5
0
 def step_10(self):
     for key in TaskManager.str_unpack(
             os.path.join(
                 self.user_regpath,
                 r'\software\($|Wow6432Node\)policies\microsoft\office\15.0\osm'
             )):
         TaskManager.reg_add(key, 'enablelogging', 'reg_dword', '0', True)
         TaskManager.reg_add(key, 'enablefileobfuscation', 'reg_dword', '1',
                             True)
         TaskManager.reg_add(key, 'enableupload', 'reg_dword', '0', True)
     for key in TaskManager.str_unpack(
             os.path.join(
                 self.user_regpath,
                 r'\software\($|Wow6432Node\)policies\microsoft\office\16.0\osm'
             )):
         TaskManager.reg_add(key, 'enablelogging', 'reg_dword', '0', True)
         TaskManager.reg_add(key, 'enablefileobfuscation', 'reg_dword', '1',
                             True)
         TaskManager.reg_add(key, 'enableupload', 'reg_dword', '0', True)
     for key in TaskManager.str_unpack(
             r'hkey_local_machine\software\($|Wow6432Node\)policies\microsoft\windows\datacollection'
     ):
         TaskManager.reg_add(key, 'allowtelemetry', 'reg_dword', '0', True)
     for key in TaskManager.str_unpack(
             r'hkey_local_machine\software\($|Wow6432Node\)policies\microsoft\windows\scripteddiagnosticsprovider\policy'
     ):
         TaskManager.reg_add(key, 'enablequeryremoteserver', 'reg_dword',
                             '0', True)
Ejemplo n.º 6
0
 def step_8(self):
     for key in TaskManager.str_unpack(
             r'hkey_local_machine\software\($|Wow6432Node\)policies\microsoft\windows\skydrive'
     ):
         TaskManager.reg_add(key, 'disablefilesync', 'reg_dword', '1', True)
Ejemplo n.º 7
0
 def step_5(self):
     for i in ('gwx.exe', 'gwxux.exe'):
         if TaskManager.taskkill(i) not in (True, 128): raise
     TaskManager.reg_add(
         r'hkey_local_machine\software\($|Wow6432Node\)policies\microsoft\windows\gwx',
         'disablegwx', 'reg_dword', '1', True)
Ejemplo n.º 8
0
 def step_4(self):
     for key in TaskManager.str_unpack(
             r'hkey_local_machine\software\($|Wow6432Node\)microsoft\sqmclient\windows'
     ):
         TaskManager.reg_add(key, 'ceipenable', 'reg_dword', '0', True)