From fd4d291b888ecfd0c033f3fd17c18b609b30e138 Mon Sep 17 00:00:00 2001 From: narutards Date: Mon, 24 Aug 2015 12:27:25 +0200 Subject: [PATCH] Update fix-privacy-settings.ps1 keys dont exist by default and need to be created first --- scripts/fix-privacy-settings.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/fix-privacy-settings.ps1 b/scripts/fix-privacy-settings.ps1 index 4560f61..4ac5805 100644 --- a/scripts/fix-privacy-settings.ps1 +++ b/scripts/fix-privacy-settings.ps1 @@ -12,9 +12,11 @@ Set-WindowsSearchSetting -EnableWebResultsSetting $false echo "Set general privacy options" sp "HKCU:\Control Panel\International\User Profile" "HttpAcceptLanguageOptOut" 1 +mkdir -Force "HKCU:\Printers\Defaults" sp "HKCU:\Printers\Defaults" "NetID" "{00000000-0000-0000-0000-000000000000}" mkdir -Force "HKCU:\SOFTWARE\Microsoft\Input\TIPC" sp "HKCU:\SOFTWARE\Microsoft\Input\TIPC" "Enabled" 0 +mkdir -Force "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo" sp "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo" "Enabled" 0 sp "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost" "EnableWebContentEvaluation" 0