Your definitive guide to troubleshooting and resolving the frustrating 0x800f0922 update failure for Windows 11's KB5034765 security patch.
Keywords: Windows 11 update error, 0x800f0922, KB5034765 fails to install, fix windows update, C:\$WinREAgent delete, DISM SFC
Contents 📋
What is Error 0x800f0922?
The Windows Update Error 0x800f0922 is a common, yet frustrating, issue encountered by Windows 11 users. It often results in the message: "Something didn't go as planned. No need to worry – undoing changes. Please keep your computer on."
Specifically, when trying to install the KB5034765 Cumulative Update (released in February 2024), many users have reported the installation process getting stuck at 96% before failing with this error code. The issue is often related to:
- Insufficient space in the System Reserved Partition.
- Conflicts with the Windows Recovery Environment (WinRE), which Microsoft officially acknowledged for the KB5034765 update.
- Corrupted system files or update components.
⚠ IMPORTANT: Always create a system restore point before making significant changes to your system files or update components.
Method 1: The Microsoft-Confirmed Workaround (Quick Fix)
For the specific KB5034765 failure, Microsoft confirmed the issue was related to the Windows Recovery Environment (WinRE) and provided a simple workaround: deleting the $WinREAgent folder.
Steps to Delete C:\$WinREAgent Folder
- Show Hidden Files: Open File Explorer (Windows Key + E). Click the three-dot menu (...) in the toolbar, select Options. Go to the View tab.
- In the Advanced settings list, check the option for "Show hidden files, folders, and drives." Click Apply and OK.
- Locate and Delete: Navigate to your main system drive (usually C:).
- Find the hidden folder named
$WinREAgent. - Right-click on the
$WinREAgentfolder and select Delete. - Restart your PC and try installing the KB5034765 update again.
Alternatively, use Command Prompt:
- Open Command Prompt as an Administrator (Search "cmd", right-click, "Run as administrator").
- Type the following command and press Enter:
rd /s /q "C:\$WinREAgent" - Close the Command Prompt and retry the update.
Method 2: Run the Windows Update Troubleshooter
This built-in tool can automatically diagnose and fix common update issues.
- Go to Settings (Windows Key + I).
- Navigate to System > Troubleshoot > Other troubleshooters.
- Find Windows Update in the list and click Run.
- Follow the on-screen instructions. Once complete, restart your computer.
Method 3: Ensure Enough System Reserved Partition Space
Error 0x800f0922 can also occur if the System Reserved Partition is too full. A simple step is disabling a feature that consumes space.
Disable .NET Framework 3.5
Disabling and re-enabling this feature can sometimes free up the necessary space or resolve installation conflicts.
- Open the Run dialog (Windows Key + R), type
optionalfeatures, and press Enter. This opens the Windows Features window. - Find and uncheck the box next to .NET Framework 3.5 (includes .NET 2.0 and 3.0).
- Click OK and let Windows apply the changes.
- Restart your PC and try the update.
Method 4: Reset Windows Update Components
If the update service itself is corrupted, resetting its components is the best fix.
- Open Command Prompt as an Administrator.
- Stop the necessary update services by typing the following commands, pressing Enter after each one:
net stop wuauservnet stop cryptSvcnet stop bitsnet stop msiserver - Rename the folders that store old updates:
ren C:\Windows\SoftwareDistribution SoftwareDistribution.oldren C:\Windows\System32\catroot2 catroot2.old - Restart the services you stopped:
net start wuauservnet start cryptSvcnet start bitsnet start msiserver - Close Command Prompt and try the Windows Update process again.
Method 5: Repair System Files with DISM and SFC
Corrupted system files are a common cause of update failures. The System File Checker (SFC) and Deployment Image Servicing and Management (DISM) tools can scan and repair these files.
- Open Command Prompt as an Administrator.
- Run the DISM command first to prepare the image:
DISM /Online /Cleanup-Image /RestoreHealth(Wait for this process to complete, which may take several minutes.)
- Run the SFC command to scan and repair protected system files:
sfc /scannow - Once both processes are finished, restart your PC and attempt the update again.
Method 6: Manually Install KB5034765 via Microsoft Catalog
If all else fails, bypassing the Windows Update service and installing the patch directly can work.
- Go to the Microsoft Update Catalog website.
- In the search box, type KB5034765 and click Search.
- Locate the update that matches your Windows 11 version and system architecture (x64).
- Click the Download button next to the correct version.
- Click the link that appears to download the .msu file.
- Once downloaded, double-click the file to run the installer and follow the prompts.
