Command line switches for wuauclt
The following are the command line for wuauclt.
Option | Description |
---|---|
/a /ResetAuthorization | Initiates an asynchronous background search for applicable updates. If Automatic Updates is disabled, this option has no effect. |
/r /ReportNow | Sends all queued reporting events to the server asynchronously. |
/? /h /help | Shows this help information. |
Method 1: Reset Windows update components.
Resetting Windows Update Components will fix corrupt Windows Update Components and help you to install the Windows Updates. Please follow the below steps to reset the Windows Updates Components manually:
- Press Windows Key + X on the keyboard and then select “Command Prompt (Admin)” from the menu.
- Stop the BITS, Cryptographic, MSI Installer and the Windows Update Services. To do this, type the following commands at a command prompt. Press the “ENTER” key after you type each command.
- net stop wuauserv
- net stop cryptSvc
- net stop bits
- net stop msiserver
- Now rename the SoftwareDistribution and Catroot2 folder. You can do this by typing the following commands in the Command Prompt. Press the “ENTER” key after you type each command.
- ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
- ren C:\Windows\System32\catroot2 Catroot2.old
- Now, let’s restart the BITS, Cryptographic, MSI Installer and the Windows Update Services. Type the following commands in the Command Prompt for this. Press the ENTER key after you type each command.
- net start wuauserv
- net start cryptSvc
- net start bits
- net start msiserver
5. Type Exit in the Command Prompt to close it.
Now you may try running the Windows Updates and check if the above steps resolve the issue.
Solving the Windows Update 80072EE2 Error
To fix this I simply performed the follow steps:
Windows Update Error 80072EE2 RegeditGo to Start
In the Run box type regedit and hit enter
In the registry editor, browse to the folder in the left hand panel to the HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate folder and delete the keys in the right hand pane called WUServer and WIStatusServer
In the Run box type services.exe and hit enter
Find the ‘Windows Update‘ service at the bottom of the list
Right click it and select Restart
rem @echo off
set /p id=Input computername:
echo Stopping wuauserv on %id%
sc \\%id% stop wuauserv
echo Stopping cryptSvc on %id%
sc \\%id% stop cryptSvc
echo Stopping bits on %id%
sc \\%id% stop bits
echo Stopping msiserver on %id%
sc \\%id% stop msiserver
net use w: \\%id%\c$
ren w:\Windows\SoftwareDistribution SoftwareDistribution.old.$((( RANDOM % 10 )+1))
ren w:\Windows\System32\catroot2 Catroot2.old
net use w: /d
pause
echo Starting wuauserv on %id%
sc \\%id% start wuauserv
echo Starting cryptSvc on %id%
sc \\%id% start cryptSvc
echo Starting bits on %id%
sc \\%id% start bits
echo Starting msiserver on %id%
sc \\%id% start msiserver