From LedHed's Wiki
Revision as of 19:37, 13 January 2009 by Ledhed (Talk | contribs)

Jump to: navigation, search

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


Troubleshooting

If you are having trouble with AutoUpdates, the WindowsUpdate.log file is very handy, its located in:

C:\Windows\WindowsUpdate.log