Fix HP Laptop Stuck in a Blue Screen Loop After Factory Reset
Question details
The user needs to recover an HP laptop that is continuously trapped in a blue screen error and reboot loop after attempting a factory reset.

- Product
- HP Laptop
- Device & OS
- Windows
- Scenario
- The user is attempting to boot into Windows after performing a system factory reset.
- Observed behavior
- The laptop repeatedly displays a blue screen, tries to install updates, shows 'Undoing changes', and then restarts to display the same error screen continuously.
Ensure you have access to a secondary, working computer and a blank USB flash drive (at least 8GB) to create a bootable Windows recovery media.
Perform Startup Repair via Windows Installation Media
Use a secondary computer to create a bootable USB drive to bypass the boot loop and repair the corrupted Windows installation on your HP laptop.
A continuous blue screen loop after a factory reset usually indicates corrupted system files or a failed update sequence. Booting from an external Windows installation media allows you to access advanced recovery environments without relying on the damaged internal operating system.
On a working PC, navigate to the official Microsoft software download page, download the Windows Media Creation Tool, and use it to format a blank USB flash drive into a Windows installation media.
Insert the created USB drive into your HP laptop. Turn on the laptop and immediately press the Boot Menu key repeatedly (usually F9 or F10 for HP) until the boot options appear, then select your USB drive.
When the Windows setup screen appears, choose your language preferences and click 'Next'. Then, click 'Repair your computer' located in the bottom left corner of the window.
Navigate to 'Troubleshoot' > 'Advanced options' > 'Startup Repair'. Allow the diagnostic tool to run and attempt to fix the corrupted files causing the boot loop.

Consult Support Channels and Forums
Escalate the issue to official support channels or Microsoft community forums if built-in recovery tools fail to resolve the blue screen loop.
Need Office Software After Resetting Your PC? Try WPS Office
Once your HP laptop is successfully repaired and running a fresh version of Windows, you will need a reliable productivity suite. WPS Office is a free, lightweight alternative to Microsoft Office that installs quickly and runs smoothly on newly reset machines.

Frequently Asked Questions
Will fixing the boot loop delete my personal files?
If Startup Repair is successful, your files remain intact. However, if you are forced to perform a clean installation of Windows to fix the loop, the primary system partition will be wiped. If you didn't back up beforehand, you may need professional data recovery assistance before reinstalling.
Why does my HP laptop say 'Undoing changes' on a loop?
This occurs when Windows attempts to apply system updates or reset configurations but encounters a critical error. The system automatically rolls back the changes, reboots, and tries again, resulting in an infinite loop if the corrupted file is never bypassed.
Can a hardware issue cause a blue screen loop after a reset?
Yes. A failing hard drive, corrupted RAM, or overheating can disrupt the intensive factory reset process, corrupting essential Windows files and triggering persistent blue screen errors.




