From LedHed's Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
 
== Windows Automatic Update Client Command Line Switches ==
 
== Windows Automatic Update Client Command Line Switches ==
 
wuauclt:
 
wuauclt:
Line 5: Line 6:
 
  /detectnow
 
  /detectnow
 
  /? or /h or /help
 
  /? or /h or /help
 +
 +
  
 
== Force an Update ==
 
== Force an Update ==
  
 
  wuauclt.exe /a /detectnow
 
  wuauclt.exe /a /detectnow
 +
 +
  
 
== Force a client to report to the WSUS server ==
 
== Force a client to report to the WSUS server ==
  
 
  wuauclt.exe /r
 
  wuauclt.exe /r
 +
 +
  
 
== Script to reinitialize AutoUpdates ==
 
== Script to reinitialize AutoUpdates ==
Line 24: Line 31:
 
  net start wuauserv
 
  net start wuauserv
 
  wuauclt.exe /resetauthorization /detectnow
 
  wuauclt.exe /resetauthorization /detectnow
 +
  
  
Line 32: Line 40:
 
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)<br>
 
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)<br>
 
Reference: [http://blogs.msdn.com/jjameson/archive/2008/04/08/wsus-clients-failing-with-error-0x80244019-after-installing-wsus-sp1.aspx Error 0x80244019 After Installing WSUS SP1]
 
Reference: [http://blogs.msdn.com/jjameson/archive/2008/04/08/wsus-clients-failing-with-error-0x80244019-after-installing-wsus-sp1.aspx Error 0x80244019 After Installing WSUS SP1]
 +
 +
  
 
== Troubleshooting ==
 
== Troubleshooting ==
 
If you are having trouble with AutoUpdates, the WindowsUpdate.log file is very handy, its located in:
 
If you are having trouble with AutoUpdates, the WindowsUpdate.log file is very handy, its located in:
 
  C:\Windows\WindowsUpdate.log
 
  C:\Windows\WindowsUpdate.log
 +
 +
 +
 +
 +
  
 
[[Category:Windows]]
 
[[Category:Windows]]

Revision as of 19:36, 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


Troubleshooting

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

C:\Windows\WindowsUpdate.log