Fix KB5065789 by clearing stuck Windows Update files first, then repair system files, and only then try manual installation. Microsoft tracks Windows 11 update status and known issues through its release health pages, so check whether the update is paused, pulled, or failing for many users before you spend an hour chasing a local problem [source: Microsoft]. If Windows keeps asking for a restart after every boot, treat it as a separate symptom. That loop usually means a pending update flag was not cleared.
TLDR: Start with a full shutdown, then run the Windows Update troubleshooter, DISM, and SFC. If KB5065789 still fails, reset the Windows Update cache and install the update manually from Microsoft Update Catalog. For example, on a small office laptop with 80 GB free space and a 20 minute restart loop, clearing SoftwareDistribution and running sfc /scannow often fixes the issue without reinstalling Windows. Expect the full process to take 30 to 60 minutes, depending on disk speed.
What KB5065789 Error Usually Looks Like
Windows 11 update failures are rarely polite. You may see “Install error”, “Something didn’t go as planned”, or a restart button that comes back like a bad pop up. Honestly, it feels like Windows sometimes forgets it already restarted.
Common signs include:
- The update reaches 25%, 70%, or 100%, then rolls back.
- Windows Update says “Restart required” after every reboot.
- The PC takes 60 to 120 seconds longer than usual to shut down.
- You see error codes such as 0x800f0922, 0x80070002, or 0x80073712.
- Update history shows KB5065789 failed more than once.
Step 1: Do a Real Shutdown
Do not start with registry edits. Start simple.
- Save your work.
- Click Start.
- Hold Shift.
- Click Power, then Shut down.
- Wait 30 seconds.
- Turn the PC back on.
This clears some hybrid boot weirdness caused by Fast Startup. It sounds too basic, but it often stops the repeated restart message.
Step 2: Check Free Space and Pause Extra Updates
Open Settings > System > Storage. You want at least 20 GB free. More is better. Feature files, rollback files, and temporary packages need room to breathe.
Then go to Settings > Windows Update. Pause updates for one week, restart, then resume updates. This forces Windows to refresh its update schedule. It drives me crazy that this can work, but it does.
Step 3: Run the Built In Troubleshooter
Go to Settings > System > Troubleshoot > Other troubleshooters. Run Windows Update.
Let it finish. If it says it fixed something, restart. If it says nothing was found, keep going. The troubleshooter is not magic, but it can repair broken service settings and update permissions.
Step 4: Repair Windows Files with DISM and SFC
Right click Start and choose Terminal Admin. Run these commands one at a time:
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow
DISM repairs the Windows image. SFC checks protected system files. If either tool reports repairs, restart and try KB5065789 again.
Step 5: Reset Windows Update Components
If the update still fails, the download cache may be damaged. In Terminal Admin, run:
net stop wuauserv
net stop bits
net stop cryptsvc
net stop msiserver
Now rename the update cache folders:
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
Restart the services:
net start wuauserv
net start bits
net start cryptsvc
net start msiserver
Restart your PC. Then check for updates again. Windows will rebuild those folders.
Step 6: Diagnose Repeated Restart Requests
If Windows keeps saying “Restart required”, check whether the system has pending update flags.
Open Registry Editor only if you are comfortable. Look for these keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPendingHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
Do not delete random registry keys. First, restart again after closing all apps. If the flags return every time, Windows is likely stuck finishing a package.
You can also check Event Viewer. Open Windows Logs > Setup and look for recent update failures. Search for KB5065789, failure, or rollback. Microsoft also documents common Windows Update troubleshooting steps for repair and reset work [source: Microsoft].
Step 7: Try Manual Installation
If Windows Update keeps failing, download KB5065789 manually from the Microsoft Update Catalog. Choose the package that matches your system type, such as x64 or Arm64. You can check this under Settings > System > About.
Before installing, unplug non essential USB devices. Keep your charger connected. If BitLocker is enabled, make sure you can access your recovery key. Nobody wants a routine update to turn into a lockout.
When to Stop and Use Recovery Options
If KB5065789 fails after cache reset, DISM, SFC, and manual install, stop repeating the same steps. Use System Restore if you have a restore point. You can also try Settings > System > Recovery > Fix problems using Windows Update, if your build offers it.
As a last resort, perform an in place repair install using the Windows 11 ISO. Choose Keep personal files and apps. This refreshes Windows without wiping your normal setup.
Quick Prevention Tips
- Keep at least 20 GB free before large updates.
- Update drivers from your PC maker, not random driver sites.
- Restart once before Patch Tuesday updates.
- Pause updates for a few days if reports show widespread failures.
- Back up important files before installing major cumulative updates.
KB5065789 errors are annoying, but most are fixable. Clear the stuck files, repair Windows, check the restart flags, then install manually if needed. The trick is to work in order, not panic click the restart button fifteen times.