If your Windows 11 PC is stuck on Preparing Automatic Repair, Windows failed to start normally and is trying to diagnose the boot problem. It is not a virus scan or data recovery tool; WinRE is loading because the normal boot path did not finish.
The cause could be a damaged update, bad driver, loose drive or failing disk. Check whether the firmware sees the drive, protect your data, and work from the least destructive repair to the most destructive one. Stop once Windows starts.
For a shorter guided version, the Windows Boot Repair Assistant asks five questions and returns a safe next step without changing your PC.
What Preparing Automatic Repair actually does
When Windows starts, the boot manager loads the operating system and its drivers. If that fails several times, Windows can enter the Windows Recovery Environment (WinRE) automatically. You may see Preparing Automatic Repair, then Diagnosing your PC, then Automatic Repair or Startup Repair. If Windows cannot repair the PC, it should offer Advanced options.
The screen is a recovery mode, not the desktop. It can appear after two interrupted starts or several failed boots. Quick Machine Recovery may try a cloud repair on Windows 11 24H2 and later; Point-in-time restore is another option. These are not a backup.
First, decide whether to wait or intervene
Do not force a restart just because the screen is boring. Check the drive light; a repair can take 15–30 minutes, especially on a hard drive. Unplug USB drives before the next restart, since a bootable USB can change the boot order.
| What you see | What it means | First action |
|---|---|---|
| Progress dots or disk activity | Windows is still working | Leave it alone |
| No disk activity after 20–30 minutes | Repair is stalled | Force one shutdown, then restart |
| Restarts to the same screen | Repair did not fix the boot problem | Open WinRE > Advanced options |
| “Automatic Repair” or “Startup Repair” failed | Windows needs manual recovery | Try the next recovery option |
One forced restart is reasonable when the screen is truly frozen. Do not hold the power button while the drive is working; that can interrupt a repair.
Before you start: protect your data
The most important step is a copy of anything you cannot replace.
- If Windows still boots sometimes, copy documents, photos and work files to an external drive now.
- If you use BitLocker, find the recovery key before entering WinRE. Check your Microsoft account, work/school account, printouts and USB backups.
- If this is a work or school PC, contact IT before changing recovery settings.
- If the drive clicks, smells hot, or is missing from firmware, stop; it needs data recovery, not more writes.
How to open Windows Recovery Environment
You need WinRE for every fix below.
If you can sign in
Open Settings > System > Recovery > Advanced startup > Restart now and choose Troubleshoot > Advanced options. Shift+Restart also works.
If you cannot sign in
At the sign-in screen, hold Shift and select Power > Restart. If the repair screen appears, select Advanced options.
If no sign-in screen appears, interrupt boot twice: power on, hold the power button through the logo until shutdown, then repeat and power on a third time. Use this only if you cannot reach the desktop.
If WinRE will not open
Boot Windows 11 installation media, choose Repair my PC, then open Troubleshoot > Advanced options. Some manufacturers provide a recovery button; check the manual.
Fix 1: Run Startup Repair once
Startup Repair checks for missing system files, a damaged boot configuration, incompatible drivers and some registry problems. It is the least destructive automated option, but it does not fix every boot loop.
Let Windows try to repair the startup files
- Open Troubleshoot > Advanced options > Startup Repair > Restart.
- Select your account and enter the password if asked.
- Let the tool run; the PC may restart.
- If Windows starts, sign in and back up your files before doing anything else.
Do not close the lid or remove power while Startup Repair runs. If it finds no problem, the drive may still be unhealthy.
Fix 2: Undo the change that caused the loop
If the loop began after an update, driver or hardware, roll it back; otherwise try Option B first. For update-cache steps, see our Windows Update stuck guide.
Option A: Uninstall the latest update
Roll back the most recent quality or feature update
- Open Troubleshoot > Advanced options > Uninstall Updates.
- Choose Uninstall latest quality update (monthly) or Uninstall latest feature update (version upgrade).
- Confirm and let Windows finish; it may restart more than once.
- If Windows starts, pause updates and back up before retrying.
Do not interrupt the rollback. If the option is missing, try a restore point.
Do not reinstall the update until the disk passes a health check.
Option B: Use a restore point
On Windows 11 24H2 and later, Point-in-time restore rolls back the whole PC, including files, to a recent restore point kept for up to 72 hours. System Restore rolls back system files and settings, not personal files.
Restore Windows to a point before the failure
- In WinRE, open Troubleshoot > Point-in-time restore.
- If it is unavailable, open Troubleshoot > Advanced options > System Restore.
- Choose a point dated before the loop started.
- Confirm, let it finish, then restart and back up.
If there is no restore point, skip this. A restore point is not a backup.
Fix 3: Boot into Safe Mode and remove the trigger
Safe Mode loads a minimal set of drivers. If Windows starts, the boot files are probably intact and a driver, app or update is the trigger. If Safe Mode loops too, skip to command-line repairs.
Start Windows with only the essential drivers
- Open Troubleshoot > Advanced options > Startup Settings > Restart.
- Press 4 for Safe Mode or 5 for Safe Mode with Networking.
- Remove software installed just before the loop and check Device Manager for a new display, storage or network driver.
- Restart normally; Startup Settings applies to one boot.
If Startup Settings is missing, run bcdedit /set {default} safeboot minimal in WinRE Command Prompt. Undo it with bcdedit /deletevalue {default} safeboot.
If a driver or app was the trigger, reinstall its latest version. See our program won’t open on Windows guide if an app still fails.
Fix 4: Repair system files and the boot configuration
If Startup Repair, rollback and Safe Mode all fail, use Command Prompt. Read the whole section first; the wrong drive letter can make things worse.
Check the disk, system files and boot record
-
Open Troubleshoot > Advanced options > Command Prompt.
-
Type
diskpart, thenlist volume. Identify Windows by label and size, note its letter, confirm withdir X:\Users(replaceX:), then typeexit. Use that letter in place ofC:below. -
Run a read-only check. If it reports errors, run
chkdsk C: /f. Do not use/ron a clicking or overheating drive.chkdsk C: -
Repair the offline image. If source files cannot be found, stop and back up.
DISM /Image:C:\ /Cleanup-Image /RestoreHealth -
Replace
C:in both paths if Windows is on another letter. If SFC cannot start the repair service, skip it.sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows -
/scanosis read-only./rebuildbcdchanges the boot configuration; back it up withbcdedit /export C:\bcdbackupif available. Stop if no Windows installations are found.bootrec /scanos bootrec /rebuildbcd -
Close Command Prompt and continue or restart.
Do not run diskpart clean, format, or fix-MBR tools without a backup. Do not run bootrec /fixboot just because a forum said so; on UEFI it often returns “Access is denied.”
Fix 5: Reset or reinstall as a last resort
If the non-destructive repairs fail, reset Windows or reinstall it. Neither is a data recovery service.
Reset Windows as a last resort
- Open Troubleshoot > Reset this PC.
- Choose Keep my files only if you accept it is not a backup. It removes apps and settings but tries to keep personal files. Do not use it on a failing drive.
- Choose Remove everything only if the data is backed up or you are disposing of the device.
- Keep the PC connected to power; do not force a restart unless it is clearly frozen.
- After Windows starts, run Windows Update and restore your files.
If Reset this PC fails, try Cloud rebuild (Rebuild PC) on Windows 11 with the October 2026 update or later. It removes all personal files, apps and settings, so back up first.
If the reset fails at the same point, stop; the drive may have a hardware problem. Reinstalling from installation media can remove everything on the system drive, so back up first.
If Windows will not boot at all, get your files off first
If the drive is failing or WinRE cannot load, copy your data before fixing Windows.
-
Use another PC and a USB drive enclosure. Do not initialize, format or “repair” the disk when Windows offers to.
-
Boot a Linux live USB. It does not write to the Windows drive; BitLocker drives still need the recovery key.
-
Use WinRE
robocopy. Identify the Windows and backup volumes withdiskpart, then copy the user folder:robocopy "C:\Users\Your Name" "D:\Backup" /E /COPY:DAT /R:1 /W:1Confirm that
D:is the external drive, not another partition on the failing disk.
If the drive is not detected, clicks, or reports a SMART warning, stop and contact a recovery professional.
What not to do
- Do not use a registry cleaner or “one-click repair” tool. It can break boot settings.
- Do not use
diskpart cleanor format the disk without a verified backup. - Do not disable BitLocker or change Secure Boot to bypass a prompt. Find the recovery key.
- Do not install random drivers. Use Windows Update or the manufacturer.
- Do not reset a failing drive. It can make recovery harder.
When to stop and get help
Stop troubleshooting and seek professional help if:
- The drive is not listed in the UEFI/BIOS firmware.
- The drive clicks, beeps, smells hot, or disappears intermittently.
- Startup Repair, a restore or a reset cannot complete, and the same error returns.
- You do not have the BitLocker recovery key and the data is important.
For a work or school device, contact IT first. For a consumer PC, use manufacturer support or a reputable data recovery service, not another “automatic repair fix” download.
Check whether the repair worked
When Windows starts, do not assume the problem is gone:
- Open Settings > System > About and confirm the version and build.
- Check Device Manager for warning icons under display, storage and network adapters.
- Restart once more. A repair that only works until the next reboot is not finished.
If the PC boots but runs slowly, check drive health and free space before performance tweaks. Our Windows 11 slow-performance guide covers the first checks.
Prevent another repair loop
- Keep at least 15–20% of the system drive free.
- Do not force a shutdown during an update; use Restart.
- Create a recovery drive and know your BitLocker key.
- Back up important files; this guide is not a backup.
Sources and further reading
- Microsoft Support: Windows recovery environment
- Microsoft Support: Startup Repair
- Microsoft Support: Recovery options in Windows
- Microsoft Support: Reset your PC
- Microsoft Support: Find your BitLocker recovery key
- Microsoft Learn: Repair a Windows Image