Fix KB5065789 first by running the Windows Update Troubleshooter, then System File Checker from an elevated terminal. That order works well because the troubleshooter repairs update components, while SFC checks Windows system files that may be blocking the install. Microsoft describes System File Checker as a tool that scans protected system files and replaces corrupted versions with correct copies [source: Microsoft]. If KB5065789 keeps failing, do not keep pressing Retry all day; that usually wastes time and writes the same error back into Windows Update.
TLDR: Start with Settings > System > Troubleshoot > Other troubleshooters > Windows Update, then reboot and run sfc /scannow in Windows Terminal as administrator. For example, if a laptop fails KB5065789 at 35% three times in a row, the troubleshooter may reset stuck update services, while SFC may repair corrupted files that stop installation. In many real support cases, this basic two-step fix takes about 15 to 30 minutes, far less than a full repair install. If SFC reports that it fixed files, always restart before trying the update again.
Why KB5065789 May Fail on Windows 11
Windows Update errors often look mysterious, but the cause is usually boring. A broken update cache. A stuck service. A damaged system file. A half-installed patch from the previous reboot. It drives me crazy that Windows sometimes shows only a vague message like “Something went wrong” after making you wait 20 minutes.
KB5065789 may fail during download, installation, restart, or rollback. You might see a code such as 0x800f081f, 0x80070002, 0x80073712, or 0x800f0922. The exact code helps, but you can still follow the same repair path below.
Before You Start: Quick Checks
Do these small checks first. They sound basic, but they prevent needless repair work.
- Restart the PC once. Do not shut down. Use Restart, because it reloads update services cleanly.
- Check free disk space. Try to keep at least 15 GB free on the Windows drive.
- Pause your VPN. Some update downloads fail when traffic is filtered or redirected.
- Unplug extra USB devices. Leave only your keyboard, mouse, and charger connected.
- Temporarily pause third-party antivirus. Turn it back on after the update finishes.
If KB5065789 still fails after these checks, move to the Windows Update Troubleshooter.
Step 1: Run the Windows Update Troubleshooter
The Windows Update Troubleshooter is not glamorous, but it can fix several common issues quickly. It checks update services, repair registrations, pending restart states, and update database problems. Sometimes it also clears a stuck download queue.
- Right-click Start.
- Select Settings.
- Go to System.
- Open Troubleshoot.
- Click Other troubleshooters.
- Find Windows Update.
- Click Run.
Let the tool finish. Do not close it early, even if it seems frozen for a minute. If it says it made changes, restart your computer. Then return to Settings > Windows Update and click Check for updates.
If KB5065789 installs, you are done. If it fails again, do not panic. The next step checks deeper system files.
Step 2: Run System File Checker
System File Checker, often called SFC, scans Windows protected files. If it finds corruption, it tries to replace the bad file with a clean cached copy. This can help when Windows Update cannot verify or apply package files correctly.
Use an administrator terminal:
- Right-click Start.
- Choose Terminal (Admin) or Windows PowerShell (Admin).
- Accept the User Account Control prompt.
- Type the command below and press Enter:
sfc /scannow
The scan usually takes 5 to 20 minutes. Older drives may take longer. Leave the window open until it reaches 100%.
What the SFC Results Mean
When SFC finishes, Windows shows one of several messages. Here is what to do next.
- “Windows Resource Protection did not find any integrity violations.”
No protected system file damage was found. Restart anyway, then try KB5065789 again. - “Windows Resource Protection found corrupt files and successfully repaired them.”
This is good news. Restart your PC before running Windows Update again. - “Windows Resource Protection found corrupt files but was unable to fix some of them.”
SFC found damage but could not repair all of it. Run the DISM command in the next section, then run SFC again. - “Windows Resource Protection could not perform the requested operation.”
Restart into Safe Mode and run SFC again, or use DISM first.
If SFC Cannot Fix Everything, Use DISM
This article focuses on SFC and the Windows Update Troubleshooter, but DISM is worth using when SFC gets stuck. DISM repairs the Windows component store, which SFC may need for clean replacement files.
Open Terminal (Admin) again and run:
DISM /Online /Cleanup-Image /RestoreHealth
Wait for it to finish. It may pause at certain percentages. That is normal. After DISM completes, run SFC again:
sfc /scannow
Restart your PC, then try installing KB5065789 again.
Retry KB5065789 the Right Way
After the troubleshooter and SFC scan, install the update cleanly.
- Open Settings.
- Go to Windows Update.
- Click Check for updates.
- Let KB5065789 download fully.
- Click Restart now when asked.
Do not force a shutdown during the restart stage. If the update seems stuck, give it time. A large cumulative update can sit at the same percentage for several minutes, especially on slower storage.
What If KB5065789 Still Fails?
If the update still refuses to install, check the error code again. A storage issue, damaged update cache, or blocked system reserved partition may be involved. You can also try these extra fixes:
- Clear temporary files from Settings > System > Storage > Temporary files.
- Pause updates for one week, restart, then resume updates.
- Install other pending updates first, especially servicing stack or .NET updates.
- Check time and region settings, since wrong system time can break secure update checks.
- Run Windows Update again from a clean boot if background apps keep interfering.
When to Stop Troubleshooting
If you have run the troubleshooter, SFC, DISM, and several restarts, expect to waste time on repeated retries unless the error changes. At that point, use the Microsoft Update Catalog for a manual install, or consider an in-place repair upgrade using the Windows 11 Installation Assistant. Keep your files backed up before any repair path that touches the operating system.
For most users, though, the fix is simpler. Run the Windows Update Troubleshooter. Reboot. Run sfc /scannow. Reboot again. Then install KB5065789. That routine clears a surprising number of Windows 11 update failures without wiping apps, resetting your profile, or spending an evening chasing vague error messages.

