Skip to content

Instantly share code, notes, and snippets.

@avsej
Created March 30, 2010 13:25
Show Gist options
  • Save avsej/349096 to your computer and use it in GitHub Desktop.
Save avsej/349096 to your computer and use it in GitHub Desktop.
@echo off
pause
net stop "wuauserv"
echo importing setup-wsus.reg
%windir%\regedit.exe /s setup-wsus.reg
echo setup-wsus.reg imported succesfully
net start "wuauserv"
echo forcing update detection
wuauclt /detectnow
pause
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]
"WUServer"="http://backup.altoros.corp"
"WUStatusServer"="http://backup.altoros.corp"
"ElevateNonAdmins"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"NoAutoUpdate"=dword:00000000
"AUOptions"=dword:00000004
"ScheduledInstallDay"=dword:00000000
"ScheduledInstallTime"=dword:0000000a
"NoAutoRebootWithLoggedOnUsers"=dword:00000001
"AutoInstallMinorUpdates"=dword:00000001
"RebootRelaunchTimeoutEnabled"=dword:00000001
"RebootRelaunchTimeout"=dword:0000003c
"RescheduleWaitTimeEnabled"=dword:00000001
"RescheduleWaitTime"=dword:0000000f
"DetectionFrequencyEnabled"=dword:00000001
"RebootWarningTimeoutEnabled"=dword:00000001
"RebootWarningTimeout"=dword:0000001e
"UseWUServer"=dword:00000001
"NoAUShutdownOption"=dword:00000000
"NoAUAsDefaultShutdownOption"=dword:00000000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment