Server 2012 R2 - updates failing with code 800F0831

cidzor

Member
Joined
Mar 11, 2019
Posts
7
I have a 2012 R2 Standard server that won't install Windows Updates. It appears that Windows Update hasn't been working on this server for a long while (several months, at least).

When I go to Windows Update and "Check for Updates" it always shows the same 13 updates available. If I tell it to install those, it acts like they installed and says a reboot is necessary. When I reboot and check for updates again, it shows them all as available again, and update history shows me that they all failed with error 800F0831. I've tried them all at once, one at a time, started with the oldest one in the list by itself, etc, and same result each time. Sometimes it fails right there, but most times it acts like they installed with a reboot needed (then update history shows me they failed after I reboot and check it).

What I've tried already:

- Stop Windows Update, BITS, and Cryptographic Services, rename C:\Windows\system32\catroot2 to catroot2.old, rename C:\Windows\SoftwareDistribution to SoftwareDistribution.old, and start those services back up so the folders get recreated (this was something I tried based on Google searching before I came across this forum). Folders recreated, but the problem didn't change.

- sfc.exe from elevated command prompt. It ran for about 10 minutes and said "Windows Resource Protection did not find any integrity violations"

- DISM /Online /cleanup-image /RestoreHealth from elevated command prompt. I got "The restore operation completed successfully. The component store corruption was repaired." However, the problem remains.

Is it generally ok to run sfcfix on a server? If so, I can run that too. Just wanted to check first.

Here's a Google Drive link for the zipped CSB folder (a bit over 15MB, so it's too large to upload):
CBS.zip
 
Hello and welcome!

Install Update with DISM

  1. Download this update and save to your desktop. The file name will be Windows8.1-KB4480963-x64.cab .zip.
  2. Right-click on this file and select Extract All... Click the Extract button. You can close the folder window that opens
  3. Click on the Start button and in the search box, type Command Prompt
  4. When you see Command Prompt on the list, right-click on it and select Run as administrator. Go ahead and allow if you receive the UAC prompt.
  5. Copy and paste the following command into the command prompt window and press enter.

    dism /online /add-package /packagepath:%userprofile%\desktop\Windows8.1-KB4480963-x64.cab
  6. You should receive the message:
    The operation completed successfully.
    Restart Windows to complete this operation. <---You may not get this line.
    Do you want to restart the computer now (Y/N)? <---You may not get this line.




Go ahead and do so if prompted. Let me know what errors if any come up. If you do get errors, please zip/attach your CBS.log
 
Hi,

Thanks for the reply.

I downloaded that update, but when I tried to extract it to the desktop, I got errors about how various filenames/paths were too long, so I cancelled that process and extracted it to the root of a storage drive (D:) instead (no errors on extracting there) then tried the command this way:

dism /online /add-package /packagepath:d:\Windows8.1-KB4480963-x64.cab

That gave me the following:

Deployment Image Servicing and Management tool
Version: 6.3.9600.17031

Image Version: 6.3.9600.17031

Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~
~9600.19235.1.5
[progress indicator that reached 100% after a couple of minutes]
The operation completed successfully.
Restart Windows to complete this operation.
Do you want to restart the computer now? (Y/N)

I actually can't restart the server right now, but I should be able to do it this evening and will let you know where it goes from there.
 
Sorry for the delays in response here. Between my schedule and schedules of the people who use that server, I haven't gotten around to rebooting it yet. I've just got one scheduled to automatically happen in the early morning tomorrow (the 15th). So I should have an answer for you by the time I start my day tomorrow.
 
Ok. Server rebooted as scheduled last night (according to event logs and systeminfo command). I logged on this morning, opened Windows Update, and checked for updates. It found 11. As a test, I selected the oldest one in the list (KB3121261) and tried installing it. Failed with the same error (800F0831).

I zipped the CBS folder and put that on Google Drive afterwards. Here's the link:
CBS (1).zip
 
There are still some missing.

Install Update with DISM


  1. Download this update and save to your desktop. The file name will be Windows8.1-KB4093114-x64.cab.zip.
  2. Right-click on this file and select Extract All... Click the Extract button. You can close the folder window that opens
  3. Click on the Start button and in the search box, type Command Prompt
  4. When you see Command Prompt on the list, right-click on it and select Run as administrator. Go ahead and allow if you receive the UAC prompt.
  5. Copy and paste the following command into the command prompt window and press enter.

    dism /online /add-package /packagepath:%userprofile%\desktop\Windows8.1-KB4093114-x64.cab
  6. You should receive the message:
    The operation completed successfully.
    Restart Windows to complete this operation. <---You may not get this line.
    Do you want to restart the computer now (Y/N)? <---You may not get this line.



Go ahead and do so if prompted. Let me know what errors if any come up. If you do get errors, please zip/attach your CBS.log
 
Done. Here's what it gave me:

Deployment Image Servicing and Management tool
Version: 6.3.9600.17031

Image Version: 6.3.9600.17031

Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~
~9600.18993.1.5
[progress indicator that got to 100% after a minute or so]
The operation completed successfully.

No prompt for a restart this time, so I didn't.
 
I ran a check for updates earlier this morning, which showed the same 11 it found before. I tried KB3121261, and it failed with the same error. I've been just trying that one since it's the oldest one in the list (if I look at the "published" date on the right side).

Here's a link to cbs.log:
CBS3.zip
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top