Saturday, April 21, 2012

Windows Update from Command Line

Although it's not essential, there is a command line command that will search and start Windows Update on Windows PC.
wuauclt

Some documented switches for this command are listed here:

From a dump of the .exe (W2k3 R2 version ) we can extract the following options:
/DetectNow
/ReportNow
/RunHandlerComServer
/RunStoreAsComServer
/ShowSettingsDialog
/ResetAuthorization
/ResetEulas
/ShowWU
/ShowWindowsUpdate
/SelfUpdateManaged
/SelfUpdateUnmanaged
/UpdateNow
/ShowWUAutoScan
/ShowFeaturedUpdates
/ShowOptions
/ShowFeaturedOptInDialog
/DemoUI

More information can be found here.

1 comment:

  1. if you searching for more options for managing windows updates via command line, you should have a look on wuinstall.com. i used it to manage several workstations with batch scripts. it worked quite well, you even can cache windows updates in your local network with that tool.

    ReplyDelete