October 7th, 2011, 10:24 AM
Windows Update command line
I have a computer that is WSUS client.
If I open the windows update app and click on "check for updates" on the left, I receive a message that there aren't any available updates. Log shows that it's checking the WSUS server.
However, if I click on "Check online for updates from Microsoft Update", I'm notified that I do have updates available.
What I'm trying to do is force the client to check for updates using the command line.
These two commands only check the WSUS server.
Does anyone know how to force a wsus client to check online for updates using the command line?
October 8th, 2011, 02:12 PM
Have you checked to see if the updates are being downloaded to the WSUS server ? Your log files show it's checking the server, but the server may not have updates available to the client.
The No Ma'am commandments:
1.) It is O.K. to call hooters 'knockers' and sometimes snack trays
2.) It is wrong to be French
3.) It is O.K. to put all bad people in a giant meat grinder
4.) Lawyers, see rule 3
5.) It is O.K. to drive a gas guzzler if it helps you get babes
6.) Everyone should car pool but me
7.) Bring back the word 'stewardesses'
8.) Synchronized swimming is not a sport
9.) Mud wrestling is a sport
June 29th, 2012, 06:20 AM
checking online windows updates via command line
you could use wuinstall, it is a command line tool for managing windows updates.
it has serveral more options than wuauclt.exe. for example you bypass a configured wsus server.
would temporarly bypass the wsus server and search online for available windows updates.
wuinstall.exe /search /bypass_wsus
it temporarly changes the registry entry for the wsus server and after execution sets again the original value.
July 12th, 2012, 04:06 PM
You can try using UDC (Updates Deployment Commander). It is a command line tool to install and create reports of updates. It comes with a feature to download directly from internet and ignore WSUS.
It enables you to target specific updates (or all), install them, audit patching status and output to CSV, reboot, etc. It is network path aware so you can dump reports to a central network share. It comes with a tool to merge multiple reports to a single one.