Windows 10: Disabling features
Published: July 18, 2016 - 5:43 PM
Hello,
here are some registry keys attached:
Registry keys included:
- disable AD Customization
- disable Cloud
- disable Data Collector
- disable Drive Encryption
- disable Windows Error Reporting
- disable Messenger
- disable OneDrive
- disable Store
- disable Windows Search
- disable Windows Update Shares
Python code (the package filters so they only apply to Windows 10):
def install():
# if you want to modify the keys depending on environment (win32/win64... params..)
global uninstallkey
global uninstallstring
print('Installing chal-config-pc')
import wmi
c = wmi.WMI()
for os in c.Win32_OperatingSystem():
name_os=os.Caption
print "SE="+name_os[:20]
if name_os[:20]=='Microsoft Windows 10':
print('-------------------------------')
print('CONFIGURATIONS FOR WINDOWS 10')
print('-------------------------------')
print('Applying registry key windows-10_desactiver_ad-cust.reg')
run(r'regedit.exe /s windows-10_desactiver_ad-cust.reg')
print('Applying registry key windows-10_desactiver_cloud.reg')
run(r'regedit.exe /s windows-10_desactiver_cloud.reg')
print('Applying registry key registry key windows-10_desactiver_data-collect.reg')
run(r'regedit.exe /s windows-10_desactiver_data-collect.reg')
print('Applying the registry key windows-10_desactiver_encrypt-drives.reg')
run(r'regedit.exe /s windows-10_desactiver_encrypt-drives.reg')
print('Applying the registry key windows-10_desactivate_error-reports.reg')
run(r'regedit.exe /s windows-10_desactiver_error-reportst.reg')
print('Applying registry key windows-10_desactiver_messenger.reg')
run(r'regedit.exe /s windows-10_desactiver_messenger.reg')
print('Applying registry key windows-10_desactiver_onedrive.reg')
run(r'regedit.exe /s windows-10_desactiver_onedrive.reg')
print('Applying the registry key windows-10_desactiver_store.reg')
run(r'regedit.exe /s windows-10_desactiver_store.reg')
print('Applying the registry key windows-10_desactiver_windows-search.reg')
run(r'regedit.exe /s windows-10_desactiver_windows-search.reg')
print('Applying registry key windows-10_desactiver_winupdate-share.reg')
run(r'regedit.exe /s windows-10_desactiver_winupdate-share.reg')
here are some registry keys attached:
Registry keys included:
- disable AD Customization
- disable Cloud
- disable Data Collector
- disable Drive Encryption
- disable Windows Error Reporting
- disable Messenger
- disable OneDrive
- disable Store
- disable Windows Search
- disable Windows Update Shares
Python code (the package filters so they only apply to Windows 10):
def install():
# if you want to modify the keys depending on environment (win32/win64... params..)
global uninstallkey
global uninstallstring
print('Installing chal-config-pc')
import wmi
c = wmi.WMI()
for os in c.Win32_OperatingSystem():
name_os=os.Caption
print "SE="+name_os[:20]
if name_os[:20]=='Microsoft Windows 10':
print('-------------------------------')
print('CONFIGURATIONS FOR WINDOWS 10')
print('-------------------------------')
print('Applying registry key windows-10_desactiver_ad-cust.reg')
run(r'regedit.exe /s windows-10_desactiver_ad-cust.reg')
print('Applying registry key windows-10_desactiver_cloud.reg')
run(r'regedit.exe /s windows-10_desactiver_cloud.reg')
print('Applying registry key registry key windows-10_desactiver_data-collect.reg')
run(r'regedit.exe /s windows-10_desactiver_data-collect.reg')
print('Applying the registry key windows-10_desactiver_encrypt-drives.reg')
run(r'regedit.exe /s windows-10_desactiver_encrypt-drives.reg')
print('Applying the registry key windows-10_desactivate_error-reports.reg')
run(r'regedit.exe /s windows-10_desactiver_error-reportst.reg')
print('Applying registry key windows-10_desactiver_messenger.reg')
run(r'regedit.exe /s windows-10_desactiver_messenger.reg')
print('Applying registry key windows-10_desactiver_onedrive.reg')
run(r'regedit.exe /s windows-10_desactiver_onedrive.reg')
print('Applying the registry key windows-10_desactiver_store.reg')
run(r'regedit.exe /s windows-10_desactiver_store.reg')
print('Applying the registry key windows-10_desactiver_windows-search.reg')
run(r'regedit.exe /s windows-10_desactiver_windows-search.reg')
print('Applying registry key windows-10_desactiver_winupdate-share.reg')
run(r'regedit.exe /s windows-10_desactiver_winupdate-share.reg')
