Browse Source

disable seeding of updates via group policies

pull/8/head
Alex Hirsch 10 years ago
parent
commit
8f62260852
  1. 6
      scripts/optimize-windows-update.ps1

6
scripts/optimize-windows-update.ps1

@ -17,12 +17,12 @@ $reg | Out-File $regfile
Start-Process "regedit.exe" -ArgumentList ("/s", "$regfile") -Wait Start-Process "regedit.exe" -ArgumentList ("/s", "$regfile") -Wait
rm $regfile rm $regfile
echo "Disable seeding of updates to other computers" echo "Disable seeding of updates to other computers via Group Policies"
$reg = @" $reg = @"
Windows Registry Editor Version 5.00 Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization] [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization]
"SystemSettingsDownloadMode"=dword:00000003 "DODownloadMode"=dword:00000000
"@ "@
$regfile = "$env:windir\Temp\registry.reg" $regfile = "$env:windir\Temp\registry.reg"
$reg | Out-File $regfile $reg | Out-File $regfile

Loading…
Cancel
Save