Windows Updates failure with error code 800F0831 on Windows Server 2012 R2

Johnny Yeung 1 Reputation point
2022-08-29T20:48:08.24+00:00

Hi there,
I have a Windows Server 2012 R2 keep failing on Windows Updates for 3 patches (KB5012639, KB5014001 & KB5016681) with the error code 800F0831.
I tried to remove cache, manually downloading the patches to install but still no luck. Do you have any idea for this error?
I did "sfc/ scannow" and confirmed there's no invalid system file.
FYR.
235905-image.png

Thank you
Johnny

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,110 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Dave Patrick 426.1K Reputation points MVP
    2022-08-29T22:31:54.433+00:00

    Some things to try
    https://learn.microsoft.com/en-us/windows/deployment/update/windows-update-resources#reset-windows-update-components-manually
    sfc /scannow
    dism /online /cleanup-image /restorehealth
    a repair install by running setup.exe from the root of install media

    --please don't forget to upvote and Accept as answer if the reply is helpful--


  2. Dave Patrick 426.1K Reputation points MVP
    2022-08-30T14:38:05.327+00:00

    If the repair install also fails then time may be better spent standing up a new one for replacement, patch fully, migrate roles over, and move on.

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments