From LedHed's Wiki
Jump to: navigation, search
Line 13: Line 13:
  
 
  wuauclt.exe /r
 
  wuauclt.exe /r
 +
 +
== Script to reinitialize AutoUpdates ==
 +
This scrips re-registers the Automatic Update DLL files, restarts the AutoUpdate service and forces the client to detect new updates.<br>
 +
Save this as a .bat or .cmd file.  Can be used as a startup scrips via Group Policy
 +
regsvr32 /s wuapi.dll
 +
regsvr32 /s wups.dll
 +
regsvr32 /s wuaueng.dll
 +
regsvr32 /s wucltui.dll
 +
regsvr32 /s msxml3.dll
 +
net start wuauserv
 +
wuauclt.exe /resetauthorization /detectnow
 +
  
 
== WSUS 3.0 SP1 Tips ==
 
== WSUS 3.0 SP1 Tips ==

Revision as of 19:33, 13 January 2009

Windows Automatic Update Client Command Line Switches

wuauclt:

/r or /reportnow
/a or /resetauthorization
/detectnow
/? or /h or /help

Force an Update

wuauclt.exe /a /detectnow

Force a client to report to the WSUS server

wuauclt.exe /r

Script to reinitialize AutoUpdates

This scrips re-registers the Automatic Update DLL files, restarts the AutoUpdate service and forces the client to detect new updates.
Save this as a .bat or .cmd file. Can be used as a startup scrips via Group Policy

regsvr32 /s wuapi.dll
regsvr32 /s wups.dll
regsvr32 /s wuaueng.dll
regsvr32 /s wucltui.dll
regsvr32 /s msxml3.dll
net start wuauserv
wuauclt.exe /resetauthorization /detectnow


WSUS 3.0 SP1 Tips

1) Make sure Disk Quotas are disabled on the drive where you host the WSUS update files. Otherwise the MMC snap-in will fail with an "Out of disk space" error.

2) If you install WSUS 3 SP1 on port 8530, the SelfUpdate virtual directory isn't created. You will have to manually create the SelfUpdate virtual directory and point it to C:\Program Files\Update Services\Selfupdate (leave the default permissions)
Reference: Error 0x80244019 After Installing WSUS SP1