Reset the Windows Update cache first; since DISM, SFC, and the troubleshooter have already failed, the next supported escalation is Fix problems using Windows Update, which reinstalls Windows 11 while preserving apps, files, and settings.
1. Reset the Windows Update components
This removes downloaded update-cache data, not personal files. Microsoft documents renaming the update folders from an elevated Command Prompt.^1^
- Search for Command Prompt.
- Select Run as administrator.
- Run these commands individually:
net stop bits
net stop wuauserv
ren %systemroot%\SoftwareDistribution SoftwareDistribution.bak
ren %systemroot%\System32\catroot2 catroot2.bak
net start bits
net start wuauserv
- Restart the computer.
- Open Settings → Windows Update → Check for updates.
Windows creates fresh SoftwareDistribution and catroot2 folders during the retry.
2. Reinstall the current Windows version without removing anything
If error 0x800f0993 returns, use the built-in repair-reinstall rather than repeating DISM or SFC:
- Back up important personal files as a precaution.
- Connect the computer to power and the internet.
- Open Settings → System → Recovery.
- Under Fix problems using Windows Update, select Reinstall now.
- Select whether Windows may restart automatically, then select OK.
- Let Windows download and install the repair version.
- Restart, then return to Settings → Windows Update → Check for updates.
This reinstalls the same Windows version, repairs Windows components, and preserves installed applications, personal files, and settings.^2^
The option may be absent if:
- The PC is managed by work or school update policies.
- Windows is older than build
22621. - The required February 2024 optional update or a later update is not installed.^2^
3. If “Reinstall now” is unavailable
Perform an in-place repair installation using Windows 11 installation media:
- Run
winverand note the installed Windows edition, version, and language. - Download the Windows 11 Media Creation Tool.
- Let it use the recommended options for this PC and create an ISO.
- Right-click the ISO and select Mount.
- Open the mounted drive and run
setup.exe. - Choose Keep personal files and apps and complete Setup.
Using the Media Creation Tool’s recommended image preserves files, settings, and applications during the repair installation.^3^
Before starting an in-place installation, disconnect nonessential USB devices, external drives, printers, and docks. If third-party antivirus is installed, remove it temporarily only after confirming that it can be reinstalled and that any required activation details are available.^4^
Update-specific exception
Open Settings → Windows Update → Update history and note the failed update’s KB number. If it is specifically KB5051987 on Windows 11 24H2, a matching Microsoft Q&A case recommends installing the prerequisite KB5043080 package first and then KB5051987 from the Microsoft Update Catalog.^5^ Do not use those packages for a different KB or Windows version.
References
- Troubleshoot problems updating Windows | Microsoft Support
- Fix issues by reinstalling the current version of Windows | Microsoft Support
- Windows 11 - Unable to update and run troubleshooter. - Microsoft Q&A
- Get help with Windows upgrade and installation errors
- Windows 24H2 (KB5051987) installation error - Microsoft Q&A