(→Clients "Not Yet Reported") |
|||
Line 51: | Line 51: | ||
If you have clients that refuse to report to the WSUS server try the following:<br> | If you have clients that refuse to report to the WSUS server try the following:<br> | ||
1) Stop the Automatic Updates Service<br> | 1) Stop the Automatic Updates Service<br> | ||
− | 2) delete %windir%\SoftwareDistribution<br> | + | net stop "Automatic Updates" |
+ | 2) delete<br> | ||
+ | %windir%\SoftwareDistribution<br> | ||
3) Start Automatic Updates Service<br> | 3) Start Automatic Updates Service<br> | ||
+ | net start "Automatic Updates" | ||
4) Run:<br> | 4) Run:<br> | ||
wuauclt /detectnow /resetauthorization | wuauclt /detectnow /resetauthorization |
Revision as of 23:06, 24 September 2010
Contents
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
Clients "Not Yet Reported"
If you have clients that refuse to report to the WSUS server try the following:
1) Stop the Automatic Updates Service
net stop "Automatic Updates"
2) delete
%windir%\SoftwareDistribution
3) Start Automatic Updates Service
net start "Automatic Updates"
4) Run:
wuauclt /detectnow /resetauthorization
The nasty client should report to the WSUS server shortly there after.