KB – Troubleshooting Windows Server Update Services

Command line switches for wuauclt

The following are the command line for wuauclt.

/a /ResetAuthorizationInitiates an asynchronous background search for applicable updates. If Automatic Updates is disabled, this option has no effect.
/r /ReportNowSends all queued reporting events to the server asynchronously.
/? /h /helpShows 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:

  1. Press Windows Key + X on the keyboard and then select “Command Prompt (Admin)” from the menu.
  2. Stop the BITSCryptographicMSI 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
  3. 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
  4. Now, let’s restart the BITS, CryptographicMSI 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

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

Published by

Ronny Van den Broeck

I'm a network and system engineer for more than 20 years now. During this period I became a pro in hunting down one's and zero's, with an eager mindset to help people accomplish the same or abstract them away from the matrix.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s