Solution:
Break Boot Loops via Safe Mode / WinRE
If your computer is stuck displaying 'Undoing changes made to your computer' or failing to boot past restart after an update, you can remove pending update flags from the Windows Recovery Environment.
# Step 1: Force Boot into Recovery Mode (WinRE)
1. Power on your PC. As soon as the Windows logo appears, press and hold the
Power Button for 5–10 seconds to force a hard shutdown.
2. Repeat this process
2 to 3 times. Windows will automatically trigger
Automatic Repair.
3. On the recovery screen, select
Advanced options > Troubleshoot > Advanced options > Command Prompt.
# Step 2: Remove Pending Driver/Package Actions
In the WinRE Command Prompt, enter:
cmd
dism /image:C:\ /cleanup-image /revertpendingactions
*(Note: Replace
C: with your system drive letter if assigned differently in recovery environment).*
# Step 3: Reboot to Normal Desktop
1. Close the command prompt window and click
Continue to boot into Windows normally.
2. Once back on your desktop, use the
SoftwareDistribution Reset solution before attempting updates again.