Thursday, April 03, 2008

Handy WSUS Commands

When im doing troubleshooting i always find random commands that help me along the way, this is the best of the best for WSUS.
Note: all are done at the commandline unless specified otherwise

wuauclt /detectnow
Explanation: Forcing an update/install of a client against the server, this command will force the client to check for new updates and install them if thats enforced in a group policy.

wuauclt /detectnow /reauthorize
Explanation: A variant that can be used when really trying to update a machine in the WSUS database.

wuauclt.exe /resetauthorization
Explanation: This will reauthorize the machine for WSUS updates,

All commands will create an entry in the windowsupdate.log file this is located in the root of your system root (usually WINNT or WINDOWS), make sure its the one without a space as the ‘windows update.log” file is different.

/ReportNow
Explanation: This will send reports to the report server immediately.


Page 1 of 1 pages