16.08.2021 Views

Windows Update Commands - USOClient, Powershell, WUAUCLT

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

WUAUCLT

The windows update command utility in windows is: WUAUCLT. This stands for Windows Update Automatic Update

Client. This client has been deprecated in windows 10 and server 2016. Howeve,r it is still available through windows 7

and server 2012R2.

Below is a list of arguments you can pass to the WUAUCLT commands and a short explanation of what each argument

does.

Search:

Command

/DetectNow

/ReportNow

Description

Detect and download updates that are available (will vary by system settings)

Tell the client to report its status back to the WSUS server

/RunHandlerComServer

/RunStoreAsComServer

/ShowSettingsDialog

/ShowWindowsUpdate

/ResetAuthorization

/ResetEulas

/ShowWU

/SelfUpdateManaged

/SelfUpdateUnmanaged

/ShowOptions

/ShowFeaturedOptInDialog

/DemoUI

/ShowFeaturedUpdates

Show Windows Update settings dialog

Shows the windows update dialog box or web page (depending on windows version)

when an update check occurs a cookie is stored that prevents a new update or check for 1 hour.

So, you should use this to delete this cookie

Resets the accepted EULA's

Shows the windows update dialog on windows vista and above. Opens Windows update on XP

Scan for windows updates using WSUS

Triggers a windows update scan using the windows update website

Open the windows update settings window

Show Opt-In dialog for featured updates

Show the icons for windows update

Open windows update dialog and shows the featured updates

/ShowWUAutoScan

/UpdateNow

Install updates now

Showing 1 to 17 of 17 entries

Examples

See below for some examples of running the wuauclt. All examples should be run from an elevated/administrative

command prompt

If all you want to do is detect and install updates right now, you would run:

Wuauclt /dectectnow /updatenow


If it is refusing to install, you can run:

Wuauclt /resetauthorization

If you want to have the client report its status back to the WSUS server, you would run:

Wuauclt /reportnow

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!