Manipulating SUS Settings through the Registry

Goto the SUS Home Page

 

Contributed By: Mohammed. Athif Khaleel [MVP SUS/ WSUS]
I have seen many folks trying to work on SUS through the Registry. Here are some more details..

***Edit the Code based on your options & requirement***

Simple cut and past the code below into a text file and name it
SUS.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate]
"WUServer"="http://Your-SUS-Server"
"WUStatusServer"="http://Your-SUS-Server"

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU]
"NoAutoUpdate"=dword:00000000
"AUOptions"=dword:00000004
"NoAutoRebootWithLoggedOnUsers"=dword:00000001
"RescheduleWaitTime"=dword:0000001e
"ScheduledInstallDay"=dword:00000000
"ScheduledInstallTime"=dword:00000010
"UseWUServer"=dword:00000001
"LastWaitTimeout"=-
"DetectionStartTime"=-

Now cut and paste the code below into a text file and name it SUS.bat

@echo off
Net Stop "wuauserv"
regedit.exe /s C:\SUS.reg(Location of REG file)
Net Start "wuauserv"

Note:
  1. Place both files in root of C: then double click SUS.bat which will configure clients to use the specified SUS server and force update (Deleting the "LastWaitTimeout" key).
     
  2. "RescheduleWaitTime"=dword:0000001e = 30 minutes. I set this value to be so high because AU waits for other services to start before it starts and putting a higher value is always good based on my experience it really helps!
     
  3. You have to EDIT the code based on your options.

Enjoy. . . .
Athif
Mohammed. Athif Khaleel
"Save the Internet. Keep all Systems Patched"
 

© FAQShop.com 2003 - 2008

Goto the SUS Home Page

Email the Author