Command Line Tips & Fixes Windows

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.

One thought on “Windows Update from Command Line

  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.

Leave a Reply

Your email address will not be published. Required fields are marked *