Windows update failing.

Virinder Mangat 1 Reputation point
2021-08-20T03:44:03.583+00:00

For the past two months, one of the servers has randomly started failing installing Windows updates. The server did have an issue at a point and was restored before the updates started failing.

On event viewer the following errors are appearing.
Event ID 20
Installation Failure: Windows failed to install the following update with error 0x800F0900: 2021-08 Security Monthly Quality Rollup for Windows Server 2012 R2 for x64-based Systems (KB5005076).

Event ID 1000
Faulting application name: mmc.exe, version: 6.3.9600.18910, time stamp: 0x5a57a503
Faulting module name: clr.dll, version: 4.8.4350.0, time stamp: 0x6063d586
Exception code: 0xc0000005
Fault offset: 0x0000000000023c53
Faulting process id: 0x65b4
Faulting application start time: 0x01d795721e6d0a43
Faulting application path: C:\Windows\system32\mmc.exe
Faulting module path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Report Id: 6bd3ecfd-0165-11ec-8142-005056aadf6f
Faulting package full name:
Faulting package-relative application ID:

Event ID 1023
Application: mmc.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an internal error in the .NET Runtime at IP 00007FF89AEF3C53 (00007FF89AED0000) with exit code 80131506.

I've also noticed that opening server manager comes up with an error and it immediately closes as well which seems to indicate that there is an underlying issue with the server.

I've run sfc /scannow as well as DISM commands and it's coming up with the following messages

C:\Windows\system32>sfc /scannow

Beginning system scan. This process will take some time.

Beginning verification phase of system scan.
Verification 100% complete.

Windows Resource Protection found corrupt files but was unable to fix some
of them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For
example C:\Windows\Logs\CBS\CBS.log. Note that logging is currently not
supported in offline servicing scenarios.

C:\Windows\system32>dism /online /cleanup-image /checkhealth

Deployment Image Servicing and Management tool
Version: 6.3.9600.19408

Image Version: 6.3.9600.19397

The component store is repairable.
The operation completed successfully.

C:\Windows\system32>dism /online /cleanup-image /scanhealth

Deployment Image Servicing and Management tool
Version: 6.3.9600.19408

Image Version: 6.3.9600.19397

[==========================100.0%==========================]

Error: 2

The system cannot find the file specified.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

C:\Windows\system32>dism /online /cleanup-image /restorehealth

Deployment Image Servicing and Management tool
Version: 6.3.9600.19408

Image Version: 6.3.9600.19397

[==========================100.0%==========================]

Error: 2

The system cannot find the file specified.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

Unfortunately I'm not well verse with the logs from DISM. I've attached both the DISM and CBS and I'm not sure what else can I do to resolve this issue at this point. 124828-cbs.log124877-dism.log

Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. anass netada 1 Reputation point
    2021-08-20T14:27:19.237+00:00

    i have windows 8.1 and still have the same probleme i play in faceit cs go and the anti cheat demand me to install the update KB5005076(533.7 mo) but it fails every time i install it its says some update have failed to install i tryed to download it from microsft directly but still same dont wanna be installed welp plz

    0 comments No comments

  2. Srdjan 1 Reputation point
    2021-09-09T13:18:33.25+00:00

    I've had the same issue with one of my 2012R2 servers.
    The way I've managed to patch it:

    Download the update that is failing manually from Microsoft Update Catalog and save locally to the server

    DISCONNECT FROM THE NETWORK

    Start Command Prompt as administrator, run the following commands:
    net stop wuauserv
    net stop cryptSvc
    net stop bits
    net stop msiserver
    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    ren C:\Windows\System32\catroot2 Catroot2.old
    net start wuauserv
    net start cryptSvc
    net start bits
    net start msiserver

    then run
    sfc/scannow

    it will throw an error, it can be disregarded

    Install the update from the downloaded file still disconnected from network, it should update successfully.

    Connect to the Network again

    Hope this helps, good luck.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.