Share via

0x800f0805 windows 11 update error

Max Blinov 20 Reputation points
2026-04-04T12:56:56.0066667+00:00

Hello, I’ve encountered a problem with updating Windows 11. I’m getting error 0x800f0805 for update KB5086672 (26200.8117).

I tried checking the system using
sfc /scannow
DISM /Online /Cleanup-Image /RestoreHealth
but no errors were found.

I also attempted to repair the system, but the Windows Update Troubleshooter is inactive (grayed out).

I tried downloading the Media Creation Tool and using it to repair the system, but when I run it, I get error 0x80070002-0x20000 (I am located in Georgia).

I also tried downloading a Windows 11PRO ISO. I was able to download it, and during the preparation stage everything goes fine. The computer restarts, briefly shows installation progress, but then immediately restarts again and gives error 0x8007000D - 0x20006 (SAFE_OS during REPLICATE_OC).

Windows for home | Windows 11 | Windows update
0 comments No comments

Answer accepted by question author

Ramesh Srinivasan 81,450 Reputation points Independent Advisor
2026-04-04T13:38:01.86+00:00

Hi Max,

The error codes 0x8007000D - 0x20006 (SAFE_OS during REPLICATE_OC) and 0x800f0805 denotes that the CBS registry key is damaged or deleted entirely. Do you have System Restore Points on the computer?

Please open Command Prompt (admin) and run these commands to query the servicing configuration:

dism /online /get-intl

dism /online /get-currentedition

vssadmin list shadows

powershell -command "Get-ComputerRestorePoint | Format-Table -AutoSize"

reg save "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing" "C:\CBS.dat" /y

Copy the output to a text file and upload it in your next reply.

Also, upload a zipped copy of "C:\CBS.dat" to OneDrive and post the link here.

Was this answer helpful?


1 additional answer

Sort by: Most helpful
  1. AI answer

    2026-04-04T12:57:10.59+00:00

    Error 0x800f0805 and the related setup errors (0x80070002-0x20000, 0x8007000D-0x20006) indicate problems with Windows Update components and/or the component store, even if SFC/DISM basic checks report no issues. Use the supported advanced repair steps for Windows Update and the component store, then retry the update or in-place upgrade.

    Follow these steps in order:

    1. Run the Windows Update troubleshooter (if/when it becomes available)
    • Go to Start > Settings > System > Troubleshoot > Other troubleshooters.
    • Under Most frequent, select Windows Update > Run.
    • Let it complete, restart the PC, then go to Start > Settings > Windows Update > Check for updates and try installing KB5086672 again.

    If it is still grayed out, continue with the manual repair steps below.

    1. Reset Windows Update components (SoftwareDistribution and Catroot2) These steps repair many 0x8007 and 0x800f update/setup errors.
    2. Open Command Prompt as administrator.
    3. Run these commands one by one, pressing Enter after each and waiting for completion:
         net stop bits
         net stop wuauserv
         ren %systemroot%\softwaredistribution softwaredistribution.bak
         ren %systemroot%\system32\catroot2 catroot2.bak
         net start bits
         net start wuauserv
      
    4. Close Command Prompt and restart the PC.
    5. After restart, go to Settings > Windows Update > Check for updates and try the update again.
    6. Repair system files and component store more thoroughly Even though SFC/DISM reported no errors earlier, run the full recommended sequence once more after resetting update components.
    7. Open Command Prompt as administrator.
    8. Run:
         DISM.exe /Online /Cleanup-image /Restorehealth
      
      Wait for it to complete and confirm it reports that the operation completed successfully.
    9. Then run:
          sfc /scannow
      
      Wait until verification reaches 100%.
    10. Restart the PC and try Windows Update again.
    11. Check disk for errors Underlying disk issues can cause 0x8007000D and 0x80070002 during setup.
    12. Open Command Prompt as administrator.
    13. Run:
          chkdsk /f C:
      
    14. Approve running at next restart if prompted, then restart and let the disk check complete.
    15. After Windows loads, try the update again.
    16. Perform a clean restart (clean boot) and retry the in-place upgrade Third-party services or drivers can interfere with setup and cause SAFE_OS errors.
    17. Perform a clean restart into Windows as described in Perform a clean restart into Windows (minimal drivers and startup programs).
    18. After the clean restart, run the Windows 11 ISO setup.exe from within Windows.
    19. When asked how to get updates during setup, choose Not now to reduce online dependencies during the upgrade.
    20. Keep personal files and apps selected, then proceed with the in-place upgrade.

    If the ISO-based in-place upgrade still fails with SAFE_OS / REPLICATE_OC after these repairs, the next supported step is a clean installation of Windows 11 using the latest ISO, after backing up files.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

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