Windows server update 2012 error

Knut S 60 Reputation points
2023-05-22T12:12:42.29+00:00

I am facing the error "0x800f0831" when trying to install updates on Windows 2012 R2. The Windows update log shows the following error message:

Handler FATAL: Completed install of CBS update with type=0, requiresReboot=0, installerError=1, hr=0x800f0831

2023-05-22 08:54:05:402 868 578 AU RESUMED AU: Installing update [UpdateId = {C26169A9-1D4E-45B5-A541-F64D9B9F1860}]

2023-05-22 08:54:05:402 868 578 AU # WARNING: Install failed, error = 0x800F0831 / 0x800F0831

I have referred to a Microsoft article (https://learn.microsoft.com/en-us/troubleshoot/mem/configmgr/update-management/error-0x800f0831-installing-update?source=recommendations) but it did not help me. How can I fix this error and successfully install updates on Windows 2012 R2?

Microsoft Security | Intune | Configuration Manager | Updates
Windows for business | Windows Server | User experience | Other
{count} votes

2 answers

Sort by: Most helpful
  1. S.Sengupta 24,636 Reputation points MVP
    2023-05-22T13:12:52.7866667+00:00

    Press the Windows and X keys, and select Command Prompt (Admin).

    Then run the commands below one by one. Hit Enter after each command and wait until CMD finishes running the current command before entering a new one:

    net stop bits

    net stop wuauserv

    net stop appidsvc

    net stop cryptsvc

    Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader*.*"

    rmdir %systemroot%\SoftwareDistribution /S /Q

    rmdir %systemroot%\system32\catroot2 /S /Q

    net start bits

    net start wuauserv

    net start appidsvc

    net start cryptsvc


  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

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.