Disable further adware
This commit is contained in:
parent
0aa49cd6d4
commit
2594791471
1 changed files with 6 additions and 0 deletions
|
@ -58,5 +58,11 @@ $startLayout | Add-Member -NotePropertyName "primaryOEMPins" -NotePropertyValue
|
|||
|
||||
$startLayout | ConvertTo-Json -Compress | Set-Content "$env:SystemDrive\Users\Default\AppData\Local\Microsoft\Windows\Shell\LayoutModification.json";
|
||||
|
||||
$contentDeliveryPath = "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager";
|
||||
Set-ItemProperty "HKLM:\Software\Policies\Microsoft\Windows\CloudContent" -Name "DisableWindowsConsumerFeatures" -Value 1 -Type "DWord";
|
||||
Set-ItemProperty "$contentDeliveryPath" -Name "ContentDeliveryAllowed" -Value 0 -Type "DWord";
|
||||
Set-ItemProperty "$contentDeliveryPath" -Name "SilentInstalledAppsEnabled" -Value 0 -Type "DWord";
|
||||
Set-ItemProperty "$contentDeliveryPath" -Name "SystemPaneSuggestionsEnabled" -Value 0 -Type "DWord";
|
||||
|
||||
Pop-Location;
|
||||
Remove-Item -Recurse "$tempDir";
|
||||
|
|
Loading…
Reference in a new issue