From 4e9067bab088ee73fcc4e98babc29c5e8887be89 Mon Sep 17 00:00:00 2001 From: Alex Hirsch Date: Tue, 4 Aug 2015 13:56:38 +0200 Subject: [PATCH] disable-settingssync.reg --> fix-privacy-settings.ps1 --- scripts/disable-settingssync.reg | Bin 4074 -> 0 bytes scripts/fix-privacy-settings.ps1 | 62 +++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) delete mode 100644 scripts/disable-settingssync.reg create mode 100644 scripts/fix-privacy-settings.ps1 diff --git a/scripts/disable-settingssync.reg b/scripts/disable-settingssync.reg deleted file mode 100644 index 277e57a016120bcbf00f0b9bcbbbeef0c14c1727..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4074 zcmeH~T}$IY6o%hxVgG~lIxLC`yMh;f3%a|dT1AXVtT6^_Qj&JH`{P%iGilUDFp4({ zVVERmCUfS@nfH9%|36Z!L>EeRt6a0{C{)B)uAwrG8QEkuhDxDlb;x|iYz&=1FX_AH zXx}vB`iXY5%bH`IXM_P6BzJ9^62j>*tsV>>iXZE>l zKKw@fks(3C{In#-Gh}q=)^4Af?azT0oCmR305Eh8E4Wp@@k zkF^C>*tuHTfcIawB1BT#C*beEy}NMiv))ER`fD6ZO|>f0=9SaD&SQQeRU4V@9y0Cm zjOYp4d&^oo)n~gYU)!7{bvKkx?(Or->4V@NEkyHX73Xxr))4%a*qcV?`|f&Sa@U*O zZ2;vF>_13`5fYojU4)Czs=^S|X; zPgrZBLm4lt-mQ(6EH}42&^%kLe@=HruHM*c9r6mSWuVQhcI4wiRXt|y Q*<+R>m7-;~4-)mUy#N3J diff --git a/scripts/fix-privacy-settings.ps1 b/scripts/fix-privacy-settings.ps1 new file mode 100644 index 0000000..5eecba9 --- /dev/null +++ b/scripts/fix-privacy-settings.ps1 @@ -0,0 +1,62 @@ +# Description: +# This script will try to fix many of the privacy settings for the user. + +echo "Disable synchronisation of settings" +$reg = @" +Windows Registry Editor Version 5.00 + +[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync] +"BackupPolicy"=dword:0000003c +"DeviceMetadataUploaded"=dword:00000000 +"SettingsVersion"=dword:00000001 +"PriorLogons"=dword:00000001 + +[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups] + +[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\Accessibility] +"SettingsVersion"=dword:00000003 +"Enabled"=dword:00000000 + +[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\AppSync] +"Enabled"=dword:00000000 +"SettingsVersion"=dword:00000003 + +[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\BrowserSettings] +"SettingsVersion"=dword:00000003 +"Enabled"=dword:00000000 + +[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\Credentials] +"SettingsVersion"=dword:00000003 +"Enabled"=dword:00000000 + +[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\DesktopTheme] +"SettingsVersion"=dword:00000003 +"Enabled"=dword:00000000 + +[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\Language] +"SettingsVersion"=dword:00000003 +"Enabled"=dword:00000000 + +[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\PackageState] +"Enabled"=dword:00000000 +"SettingsVersion"=dword:00000003 + +[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\Personalization] +"SettingsVersion"=dword:00000003 +"Enabled"=dword:00000000 + +[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\StartLayout] +"SettingsVersion"=dword:00000003 +"Enabled"=dword:00000000 + +[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\Windows] +"SettingsVersion"=dword:00000003 +"Enabled"=dword:00000000 + +[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\SyncData] +"LastBackgroundUpload"=hex:aa,4f,9c,80,e0,cd,d0,01 +"@ +$regfile = "$env:windir\Temp\registry.reg" +$reg | Out-File $regfile +regedit /s $regfile +rm $regfile \ No newline at end of file