How to fix error code 0x800f0991 when installing KB5058499

Robert Standley 35 Reputation points
2025-05-31T11:49:25.59+00:00

Windows update failed for 2025-05 Cumulative Update Preview for Windows 11 Version 24H2 for x64-based Systems (KB5058499) with istall error 0x800f0991.

Windows Troubleshooter was tried and did not resolve.

Tried manual download and install of update and that did not work.

Edition Windows 11 Pro

Version 24H2

Installed on ‎01/‎04/‎2025

OS build 26100.4061

Experience Windows Feature Experience Pack 1000.26100.84.0

Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. S.Sengupta 24,476 Reputation points MVP
    2025-06-01T02:44:45.0566667+00:00

    Open Command Prompt as Admin and type (hit the Enter key in each case):

    sfc /scannow

    DISM /Online /Cleanup-Image /RestoreHealth

    Reset Windows Update components:

    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

    Reboot.

    1 person found this answer helpful.

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.