diff --git a/README.md b/README.md index 479c3b7..6e060d0 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,5 @@ # Debloat Windows 10 -**Important:** There seems to be an issue where sound, brightness settings, and **network** get disabled. -Please take extra caution and have a look [at the corresponding issue](https://github.com/W4RH4WK/Debloat-Windows-10/issues/270). - This project collects PowerShell scripts which help to *debloat* Windows 10, tweak common settings and install basic software components. diff --git a/scripts/fix-privacy-settings.ps1 b/scripts/fix-privacy-settings.ps1 index b74e212..731d7f1 100644 --- a/scripts/fix-privacy-settings.ps1 +++ b/scripts/fix-privacy-settings.ps1 @@ -103,10 +103,13 @@ Takeown-Registry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Spynet" Set-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows Defender\Spynet" "SpyNetReporting" 0 # write-protected even after takeown ?! Set-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows Defender\Spynet" "SubmitSamplesConsent" 0 -Write-Output "Do not share wifi networks" -$user = New-Object System.Security.Principal.NTAccount($env:UserName) -$sid = $user.Translate([System.Security.Principal.SecurityIdentifier]).value -force-mkdir ("HKLM:\SOFTWARE\Microsoft\WcmSvc\wifinetworkmanager\features\" + $sid) -Set-ItemProperty ("HKLM:\SOFTWARE\Microsoft\WcmSvc\wifinetworkmanager\features\" + $sid) "FeatureStates" 0x33c -Set-ItemProperty "HKLM:\SOFTWARE\Microsoft\WcmSvc\wifinetworkmanager\features" "WiFiSenseCredShared" 0 -Set-ItemProperty "HKLM:\SOFTWARE\Microsoft\WcmSvc\wifinetworkmanager\features" "WiFiSenseOpen" 0 +# The following section can cause problems with network / internet connectivity +# in generel. See the corresponding issue: +# https://github.com/W4RH4WK/Debloat-Windows-10/issues/270 +#Write-Output "Do not share wifi networks" +#$user = New-Object System.Security.Principal.NTAccount($env:UserName) +#$sid = $user.Translate([System.Security.Principal.SecurityIdentifier]).value +#force-mkdir ("HKLM:\SOFTWARE\Microsoft\WcmSvc\wifinetworkmanager\features\" + $sid) +#Set-ItemProperty ("HKLM:\SOFTWARE\Microsoft\WcmSvc\wifinetworkmanager\features\" + $sid) "FeatureStates" 0x33c +#Set-ItemProperty "HKLM:\SOFTWARE\Microsoft\WcmSvc\wifinetworkmanager\features" "WiFiSenseCredShared" 0 +#Set-ItemProperty "HKLM:\SOFTWARE\Microsoft\WcmSvc\wifinetworkmanager\features" "WiFiSenseOpen" 0