How to Fix the Windows 11 Automatic Repair Loop (Step-by-Step Guide)
Your PC restarts, shows "Preparing Automatic Repair", fails, and starts again. This is the Automatic Repair loop. It looks scary, but your files are usually safe. This guide explains why it happens and shows the fixes in the order you should try them, from the safest to the last resort.
Why Windows 11 Gets Stuck in Automatic Repair
Windows starts Automatic Repair on its own when it fails to start several times in a row. Common causes are a bad update, a driver that will not load, damaged system files, a boot configuration problem, or a failing drive.
There is also a recent cause. In early December 2026, Microsoft confirmed that Windows updates released on or after October 28, 2026 can stop some PCs from starting. For Windows 11 24H2, the affected updates are those released on or after November 10, 2026. The PC may restart again and again, freeze at the Windows logo, or open Automatic Repair. It affects PCs that have an old driver file called PxHlpa64.sys (version 3.1.16 or earlier) and have virtualization-based security (VBS) turned on. This driver is installed by older disc-burning programs such as some versions of Roxio, Corel and Sonic, and by Adobe Photoshop Elements 9 and older. Newer driver versions (3.1.17 and later) are not affected.
Before You Start
- Unplug USB drives, printers and other extra devices. A device that is connected can sometimes cause a boot problem.
- If your drive is encrypted with BitLocker, Windows may ask for your BitLocker recovery key. Find it in your Microsoft account before you start.
- Your personal files are not deleted by the first fixes below. If the files are very important, copy them to another drive when you get a chance.
Step 1: Open the Windows Recovery Environment
All fixes start from the Windows Recovery Environment (Windows RE). If you see the Automatic Repair screen, select Advanced options. If your PC will not show it, Microsoft describes this way to force it:
- Turn on the PC and wait for the Windows or manufacturer logo.
- As soon as the logo appears, hold the power button until the PC shuts down.
- Turn it on again and repeat the step above.
- Turn it on a third time. Windows should show the Automatic Repair screen. Select Advanced options.
If this does not work, you can start from a Windows USB drive made on another PC. Boot from it, choose your language, then select Repair my PC. See our guide to creating a Windows 11 bootable USB with Rufus if you need to make one.

Step 2: Run Startup Repair
In Windows RE, select Troubleshoot > Advanced options > Startup Repair, then select Restart. Windows scans the PC and tries to fix missing or damaged system files, boot configuration data, drivers and registry errors. This can take several minutes. Do not turn off the PC while it works. If it fixes the problem, Windows starts normally. If it cannot, it shows a report.
Step 3: Uninstall the Latest Update
If the problem started after a Windows update, remove that update. In Windows RE, select Troubleshoot > Advanced options > Uninstall Updates. Choose Uninstall latest quality update first. If that does not help and the option is offered, try Uninstall latest feature update. Then restart.
Some updates cannot be removed, and removing a security update has risks, so install the update again later once the issue is fixed.
Step 4: Try Safe Mode
Safe Mode starts Windows with only the basic files and drivers. If Windows starts there, a driver or program is the cause.
- In Windows RE, select Troubleshoot > Advanced options > Startup Settings > Restart.
- When the Startup Settings list appears, press 4 or F4 for Safe Mode (or 5 or F5 for Safe Mode with Networking).
- In Safe Mode, open Settings > Apps > Installed apps and uninstall any program you added just before the problem started.
- Restart the PC normally.
If Windows keeps starting in Safe Mode, press the Windows key + R, type msconfig, press Enter, open the Boot tab, and clear the Safe boot box.

Step 5: Fix the PxHlpa64.sys Driver Problem
Try this step if Steps 2 to 4 did not help, or if you have old disc-burning software on the PC. Microsoft recommends this fix for the issue described at the top of this guide.
If Windows can start (for example in Safe Mode):
- Open File Explorer and go to C:\Windows\System32\drivers.
- Right-click PxHlpa64.sys, select Properties, then open the Details tab and read the file version.
- If the version is 3.1.16 or older, update the software that installed it, or uninstall that software if you no longer use it (Settings > Apps > Installed apps).
- Restart, then open Settings > Windows Update and select Check for updates.
If Windows will not start at all, open the Windows Recovery Environment and select Troubleshoot > Advanced options > Command Prompt. If your drive uses BitLocker, you may be asked for the recovery key.
In this environment the Windows drive may have a different letter, for example D: or E: instead of C:. To find it, type this command and press Enter. It only shows a result and changes nothing:
for %d in (C D E F G H I J K L M N O P Q R S T U V W Y Z) do @if exist %d:\Windows\System32\drivers\PxHlpa64.sys echo ren %d:\Windows\System32\drivers\PxHlpa64.sys PxHlpa64.sys.old
If nothing is shown, the driver is not on your PC and this fix does not apply to you. If a line is shown, copy the one for your Windows drive, paste it at the prompt and press Enter. For example:
ren D:\Windows\System32\drivers\PxHlpa64.sys PxHlpa64.sys.old
Then type exit, press Enter and select Continue. After Windows starts, check the version of PxHlpa64.sys.old in C:\Windows\System32\drivers. If it is 3.1.16 or older, update or uninstall the software that installed it.
Step 6: Reset the PC as a Last Resort
If nothing works, Windows RE can reset the PC. Select Troubleshoot > Reset this PC. You can choose to keep your personal files or remove everything. Apps are removed either way, so use this only when the other steps failed. If you still cannot start Windows after a reset, the drive may be failing. See our guide on how to check if your SSD or hard drive is failing.

How to Avoid the Problem Next Time
- Install Windows updates when you have time, not right before you need the PC.
- Remove old software you no longer use, especially old disc-burning programs.
- Keep your important files backed up on another drive or in the cloud.
- Create a Windows recovery USB drive while your PC works.
Sources
- Microsoft Windows release health, Windows might not start on devices with old versions of the PxHlpa64.sys driver: https://learn.microsoft.com/en-us/windows/release-health/status-windows-11-25h2 (24H2 version: https://learn.microsoft.com/en-us/windows/release-health/status-windows-11-24h2)
- Microsoft Support, Windows recovery environment: https://support.microsoft.com/en-us/windows/experience/backup-recovery/windows-recovery-environment
- Microsoft Support, Startup Repair: https://support.microsoft.com/en-us/windows/experience/startup-boot/startup-repair
- Microsoft Support, How to uninstall a Windows Update: https://support.microsoft.com/en-us/windows/deployment/updates-lifecycle/how-to-uninstall-a-windows-update
- Microsoft Support, Windows startup settings: https://support.microsoft.com/en-us/windows/experience/startup-boot/windows-startup-settings
- BleepingComputer report on the Microsoft confirmation (Dec 3, 2026): https://www.bleepingcomputer.com/news/microsoft/microsoft-recent-windows-updates-cause-boot-issues-on-some-pcs/
- Microsoft Learn, Windows 11 known issues (PxHlpa64.sys): https://learn.microsoft.com/en-us/windows/release-health/status-windows-11-26H2