Browse Source

privacy: do not share wifi networks

pull/55/head
Alex Hirsch 10 years ago
parent
commit
e438e31155
  1. 8
      scripts/fix-privacy-settings.ps1

8
scripts/fix-privacy-settings.ps1

@ -279,3 +279,11 @@ regimport(@"
"SpyNetReporting"=dword:00000000
"SubmitSamplesConsent"=dword:00000000
"@)
echo "Do not share wifi networks"
$user = New-Object System.Security.Principal.NTAccount($env:UserName)
$sid = $user.Translate([System.Security.Principal.SecurityIdentifier]).value
regimport(@"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WcmSvc\wifinetworkmanager\features\$sid]
"FeatureStates"=dword:0000033c
"@)

Loading…
Cancel
Save