Forum Discussion
2025-10 Cumulative Update for Windows Server 2019 (KB5066586) Undoes Update on Reboot
We have a Windows Server 2019 Standard which will not install the 2025-10 Cumulative Update for Windows Server 2019 (KB5066586) update. The installation part goes fine, but when the server is rebooted to finalize the update, it goes into "Undoing changes". Then it reboots again, and I am back where I started.
The error code is 0x8007000d.
I have done the following to debug this:
- Ran System File Checker sfc /scannow. No errors found.
- DISM /Online /Cleanup-Image /ScanHealth. No errors found.
- Ran Windows Update Troubleshooter. No errors found.
- Shut down Windows Update services. Renamed SoftwareDistribution and Catroot2 folders. Restarted services. No change.
- Ran ScanDisk. No errors found.
- Disabled antivirus. No change.
- Ran Disk Cleanup and manually deleted additional temp files. No change.
- Checked Event Viewer. Only error is Event 20 which is a failure of the Windows Update Agent.
I am out of ideas. If anyone has some, I would much appreciate the help.
I am out of ideas.
So even though I ran DISM /Online /Cleanup-Image /ScanHealth, and no errors were found, you still recommend running DISM.exe /Online /Cleanup-Image /RestoreHealth ? I am glad to give it a try.
I don't have a similar image to copy from unfortunately.
I checked the CBS log file, but it does not go back far enough to get information on the install failure. I'll save this log file after my next attempt. I am also going to update the drivers on this server.
I will rerun DISM with the RestoreHealth option this Saturday and report back.
This has been a tough one to diagnose. I greatly appreciate you help with this.
10 Replies
- Michael2000Brass Contributor
Anyone got any further ideas?
- PedroLucasCopper Contributor
Hello Michael2000.
Your action plan covers most of the possible causes so if still the same, I do not think there's much you can do (maybe, some package that became corrupt leading to the actual scenario).
Only thing left is to double-check if following scenario applies: https://learn.microsoft.com/en-us/troubleshoot/windows-client/performance/windows-devices-fail-boot-after-installing-kb4041676-kb4041691
- Michael2000Brass Contributor
Thank you for your response. Unfortunately, the article does not apply to what I am experiencing. The system is not having trouble rebooting. It reverses the installation of the Cumulative Update on reboot.
- LCazesCopper Contributor
Hello,
Start by stopping non-Microsoft services with MSCONFIG.
Stop and disable SQL Server-type services.
Check if you have any unknown profiles in "Advanced system settings" -> User Profiles -> Settings.
If you have any, delete them.
Reboot your server.
Try installing your updates again.
That's it.- Michael2000Brass Contributor
I performed these step.
- No SQL Server, so did not need to stop those services.
- I didn't have any unknown profiles, but I did find a bunch of profiles in there, as if people were logging into the server, even though they weren't. I deleted them all.
- MSCONFIG not running. All of the other services looked normal.
Unfortunately, the update did not install. By the way, it is now trying to install 2025-11 Cumulative Update for Windows Server 2919. This is what happens on the reboot.
- Michael2000Brass Contributor
Sorry for the slow respones. I was on a work trip.
I appreciate these tips. These are some good ideas. I'll give them a try this coming Saturday. I have to wait until the weekend, because this is a production server. I'll report back on Monday, Nov. 17.
- Michael2000Brass Contributor
I manually downloaded the 2025-12 Cumulative Update for Windows Server 2019 from the Windows Update Catalog. It did not install. I also tried an older 2025-07 Cumulative Update and it didn't install either.
Based on the link to the Microsoft Learn page, and reviewing the cbs.log file, it appears the drivers are not loading. There are a number of drivers that are failing to install. I'm not sure how to get around this.