Windows 11 stuck on Automatic Repair? If your computer repeatedly displays “Preparing Automatic Repair,” “Diagnosing your PC,” or “Automatic Repair couldn’t repair your PC,” you are dealing with a startup recovery problem rather than necessarily a permanently damaged computer. This detailed guide walks you through 15 practical checks and recovery methods, beginning with low-risk steps and moving carefully toward advanced boot repairs.
The goal is not simply to make the message disappear. It is to determine whether the problem involves an external device, a failed Windows update, corrupted system files, a damaged boot configuration, storage failure, or a hardware change. Following the right order can prevent unnecessary reinstalls and reduce the risk of losing personal files.
Symptoms and What They Mean
An Automatic Repair loop describes a repeated attempt to start Windows followed by recovery or restart. You may see the blue recovery screen, a spinning circle under the manufacturer logo, or a message that Windows could not repair the PC. Sometimes the system reaches the sign-in screen between failures; sometimes it never gets that far.
A one-time Automatic Repair attempt after a power interruption is not the same as a persistent loop. Allow an initial recovery attempt to finish when the drive appears healthy and activity continues. If the same sequence repeats without progress, stop restarting randomly and begin diagnosis.
Pay attention to any accompanying stop code, recently installed hardware, firmware changes, or updates. An INACCESSIBLE_BOOT_DEVICE stop code, for example, directs attention toward boot-drive access and storage-controller settings; it does not automatically prove the SSD is defective.
Before You Begin: Protect Your Data
A recovery procedure should preserve your documents whenever possible. If Windows starts intermittently, back up important files immediately. If it cannot start, you may be able to use a trusted recovery environment or connect the drive to another compatible computer, provided encryption and hardware conditions allow it.
Windows 11 devices may use BitLocker or device encryption. Recovery operations, firmware changes, and moving an encrypted drive can require the BitLocker recovery key. Locate it through the account or organization that manages the device before changing boot settings.
Step 1: Disconnect External Devices
A connected USB storage device, dock, memory card, or unusual peripheral can interfere with startup detection or boot order. This is one of the safest checks because it does not modify the internal disk.
- Shut the computer down normally if possible.
- Unplug external hard drives, USB flash drives, card readers, printers, and docks.
- Keep only the essential keyboard, mouse, monitor, and power connection.
- Start the computer again and watch whether the behavior changes.
If Windows now starts, reconnect devices one at a time. Check whether firmware boot order has been changed to prefer a removable device. A peripheral that triggers a repeatable failure deserves separate investigation.
Step 2: Check the Drive in BIOS or UEFI
Before running software repairs, verify that the firmware can detect the storage device that contains Windows. A drive missing from BIOS/UEFI may indicate a physical connection, controller, firmware, or storage-device problem.
- Restart and enter the firmware setup using the key shown by the manufacturer, often Delete, F2, Esc, or F10.
- Locate the storage, NVMe, SATA, or system information page.
- Confirm that the expected SSD or hard drive is listed.
- Check whether Windows Boot Manager appears among the boot choices.
- Record the current settings and exit without changing anything if you are uncertain.
For desktop systems, a qualified person can inspect SATA data and power cables with the machine fully powered off and unplugged. NVMe drives should be handled only with proper precautions. A missing drive should not be treated as a Windows-file problem until the hardware is reliably detected.
Step 3: Enter Windows Recovery Environment
The Windows Recovery Environment, commonly called WinRE, provides repair options when the operating system cannot boot. A failing startup may automatically display a recovery screen with Advanced options. If that does not happen, a Windows 11 installation USB created on a working PC is a useful alternative.
- At the recovery screen, choose Advanced options.
- Select Troubleshoot and then Advanced options.
- Look for Startup Repair, Uninstall Updates, System Restore, Startup Settings, and Command Prompt.
- If using Windows installation media, select the repair-your-computer option rather than starting a fresh installation.
Menus can vary slightly by Windows build and device manufacturer. An encrypted system may ask for a recovery key before you can use certain options. Prefer official installation media and avoid third-party “one-click boot repair” programs with unclear behavior.
Step 4: Run Startup Repair Once
Startup Repair checks certain common startup problems and may repair related files or configuration. It is a reasonable early step because it is designed for recovery rather than full reinstallation. However, it cannot fix every storage failure, bad RAM module, or corrupted third-party driver.
- Open Troubleshoot → Advanced options → Startup Repair.
- Select the Windows installation if prompted.
- Enter the requested credentials or recovery key if necessary.
- Allow the process to finish without repeatedly interrupting it.
- Read the result before deciding on another action.
If the tool says it could not repair your PC, that is diagnostic information, not a reason to run it indefinitely. Record any message or log location it provides. Repeating the same unsuccessful operation without changing conditions usually adds little value.
Step 5: Uninstall a Recent Windows Update
If the loop began immediately after Windows Update, a recent quality update may be involved. WinRE may offer an option to uninstall the latest quality update or feature update. Availability depends on the update type and recovery state.
- Open Advanced options → Uninstall Updates.
- Consider Uninstall latest quality update first when timing strongly points to a recent monthly update.
- Follow the prompts and allow the process to complete.
- Restart and check whether Windows loads.
- If successful, investigate the specific update and known issues before reinstalling it.
Do not uninstall updates simply because they exist. An unrelated update may be innocent, and removing security updates for an extended period is undesirable. Compare the crash timeline and change only what evidence supports.
Step 6: Try System Restore
System Restore can roll back certain system changes, drivers, and registry settings to a previously saved restore point. It is most useful when the computer worked recently and an appropriate restore point exists.
- Open Advanced options → System Restore.
- Choose the relevant Windows account if requested.
- Review available restore points and their dates.
- Select a point from before the failure began.
- Read the affected-program information and complete the restore.
Restore points are not guaranteed to exist. System Restore is also not a substitute for file backup. It typically leaves personal documents alone but may remove software and settings installed after the selected date.
Step 7: Start Windows in Safe Mode
Safe Mode starts Windows with a limited collection of drivers and services. If the computer works in Safe Mode, recent third-party drivers or startup software become more plausible suspects, although hardware trouble remains possible.
- Open Advanced options → Startup Settings → Restart.
- Press 4 or F4 for Safe Mode.
- If Windows opens, review recent driver installations, utilities, and security software.
- Use Device Manager to roll back a driver when the crash clearly followed its update.
- Restart normally and test again.
If Safe Mode also fails, do not assume that the only option is reinstalling Windows. Continue with storage and offline system-file checks. If the system runs long enough in Safe Mode, use that opportunity to back up your data.
Step 8: Check the Correct Windows Drive Letter
The Windows installation may not be assigned C: inside WinRE. Running an offline command against the wrong partition can produce misleading results or modify the wrong target. First identify the partition containing the Windows folder.
Open Advanced options → Command Prompt and inspect likely drive letters:
dir C:\Windows
dir D:\Windows
dir E:\Windows
A successful listing of the expected Windows directory is a useful clue. Also consider the drive size and known disk layout. If encryption prevents access, unlock the volume using the authorized recovery process rather than attempting workarounds.
Step 9: Scan the File System Carefully
File-system corruption can prevent access to startup components. CHKDSK can inspect file-system structures, but it does not make a failing SSD healthy. When a drive shows physical failure symptoms, repeated intensive scanning can make recovery harder.
After confirming the correct Windows partition letter, a read-oriented initial check can be performed with:
chkdsk D:
In this example, D: represents the verified Windows partition in WinRE. Review the result and the drive health before considering repairs. More invasive options such as /f alter file-system metadata and should follow a backup or a clear recovery plan.
Step 10: Repair Windows Files Offline with SFC
System File Checker can examine protected Windows files. Because the normal operating system is not running, offline parameters may be required. The exact paths depend on the boot and Windows partitions discovered earlier.
A typical example, only when the verified Windows installation is on D: and its boot files are on the appropriate identified volume, is:
sfc /scannow /offbootdir=D:\ /offwindir=D:\Windows
This is not a universal copy-and-paste command. On many UEFI systems, the boot environment is on a separate EFI partition, and the correct /offbootdir requires verification. If you cannot confidently identify the volumes, skip this advanced step rather than guessing.
Wait for the final report and record whether corruption was found or repaired. A successful SFC run cannot establish that RAM, storage, and power delivery are healthy. If it cannot complete, the error message can help determine whether the problem involves volume access or the Windows image.
Step 11: Investigate the Windows Component Store
DISM is another Windows servicing tool, but offline repair syntax and repair-source requirements are more complex than the commands commonly used from a running desktop. The familiar DISM /Online /Cleanup-Image /RestoreHealth command targets a running Windows installation and should not be blindly used against an offline WinRE session.
A technician may inspect an offline installation with a command such as the following after verifying the Windows partition:
DISM /Image:D:\ /Cleanup-Image /CheckHealth
The command reports information about the offline component store but does not guarantee repair. If component repair is required, use Microsoft documentation for the installed build and a matching trusted repair source. Mixing installation images from different builds can cause failures.
Step 12: Check Boot Configuration and EFI Files
Modern Windows 11 systems normally use UEFI boot with an EFI System Partition (ESP). A damaged EFI boot entry, incorrect boot order, or missing boot files can prevent startup. These conditions are distinct from a physically missing SSD.
Start by checking whether firmware offers Windows Boot Manager and whether it points to the intended drive. If boot files are genuinely damaged, Microsoft’s bcdboot utility can recreate boot environment files, but only after the Windows volume and EFI partition have been identified correctly.
For reference, the utility’s help is available through:
bcdboot /?
Because assigning drive letters to EFI partitions and rebuilding boot entries can affect startup, this guide intentionally does not prescribe a universal command using guessed partition letters. The correct procedure depends on the actual disk layout, firmware mode, and encryption state.
diskpart clean, or run legacy MBR repair commands on a UEFI/GPT installation without a confirmed diagnosis. These operations can make a recoverable system unbootable.Step 13: Test RAM and Hardware Stability
Software repair will not resolve defective memory, a failing motherboard, unstable power delivery, or a storage controller that intermittently loses the boot drive. Hardware checks become particularly important when stop codes vary, the computer freezes in firmware, or the SSD vanishes from detection.
- Return any recent CPU, GPU, or RAM overclocking to known-stable settings.
- Check whether the SSD is consistently detected after cold starts.
- If available, run the manufacturer’s built-in preboot diagnostics.
- Use a reliable memory test appropriate to the system and follow its instructions.
- If the device was recently opened, have a qualified technician inspect memory seating and connections.
A single passed memory test does not completely rule out intermittent RAM instability. Likewise, fan movement and RGB lighting do not prove that a motherboard has completed POST. Use repeatable symptoms and diagnostics before buying replacement parts.
Step 14: Back Up Files Before Resetting
If earlier steps do not restore startup, pause to protect the information stored on the device. A reset or reinstall may remove applications, settings, and sometimes personal files depending on the chosen method.
If the storage drive is healthy but Windows is unusable, data may be copied using an appropriate trusted recovery environment or by connecting the drive to another system. Encryption must be unlocked legitimately with the correct key. Business and organization-managed devices may require administrator involvement.
- Identify which files are irreplaceable: documents, photos, accounting data, browser exports, and application databases.
- Check existing cloud and external backups for completeness.
- Locate BitLocker recovery information and software license details.
- Make a separate copy of critical files before proceeding.
- Verify that the backup actually opens on another device.
Step 15: Reset or Reinstall Windows as a Last Resort
When storage and hardware appear healthy and targeted repairs have failed, resetting or reinstalling Windows may be justified. This is a last-stage decision, not the first solution to every Automatic Repair loop.
The recovery environment may provide Reset this PC with options that attempt to keep personal files or remove everything. Availability and behavior depend on the recovery environment and Windows installation. Applications and configuration may still be removed even when personal files are retained.
- Confirm that important files are backed up and accessible.
- Ensure you have account credentials, recovery keys, and required application installers.
- Read each recovery option carefully before proceeding.
- Prefer official Microsoft installation or recovery media.
- After recovery, install appropriate updates and check storage and memory stability.
If a clean Windows installation also crashes or the drive is not consistently detected, investigate hardware instead of repeatedly reinstalling. Repeated failures after a fresh install can point to deeper issues, although diagnosis is still required.
Troubleshooting Decision Table
| Symptom | Likely area to investigate | Best first action |
|---|---|---|
| Loop started after update | Update or driver compatibility | Review Uninstall Updates and System Restore |
| SSD missing in BIOS | Drive, connection, or controller | Stop software repairs; inspect hardware |
| Safe Mode works | Third-party driver or startup software | Review recent changes |
| INACCESSIBLE_BOOT_DEVICE | Storage access or controller mode | Verify firmware settings and drive detection |
| Different stop codes each time | RAM or broader instability | Test memory and baseline settings |
| Startup Repair repeatedly fails | Requires targeted diagnosis | Review WinRE options and preserve data |
| Disk reports serious errors | Storage reliability | Back up or seek recovery help |
Frequently Asked Questions
Why is Windows 11 stuck on Preparing Automatic Repair?
Windows may be unable to complete startup because of a failed update, corrupted boot files, an inaccessible drive, a driver problem, or unstable hardware. The message alone does not identify which cause applies.
How long should Automatic Repair take?
There is no reliable universal duration. An initial attempt may take several minutes or longer depending on disk performance and damage. A repeated loop with no progress needs investigation rather than endless waiting.
Will Startup Repair delete my files?
Startup Repair is intended to fix certain startup problems, not erase personal files. Nevertheless, any repair operation on an unstable drive carries risk, so backups remain important.
Can I fix an Automatic Repair loop without a USB drive?
Often yes, if the built-in Windows Recovery Environment opens and the drive is accessible. A Windows installation USB is useful when local recovery options are unavailable or damaged.
Does an Automatic Repair loop mean my SSD is dead?
No. The same symptom can result from software or boot configuration issues. A missing drive in BIOS, severe SMART warnings, or intermittent disconnections raise hardware concerns.
Should I use bootrec or rebuild the BCD immediately?
Not automatically. Windows 11 commonly uses UEFI/GPT boot. Boot repair commands must match the disk layout and verified problem; indiscriminate commands can make matters worse.
Can a BIOS update fix this problem?
Sometimes firmware updates address documented compatibility issues, but they are not a general repair. Firmware flashing introduces risk and should be performed only with a relevant manufacturer-supported reason.
What if BitLocker asks for a recovery key?
Use the recovery key associated with the device, Microsoft account, or managing organization. Do not format the drive or bypass encryption in an attempt to access files.
What if Safe Mode also fails?
Continue with drive detection, file-system assessment, offline repair where appropriate, and hardware diagnostics. Safe Mode failure alone does not justify wiping the disk.
Is reinstalling Windows the fastest solution?
It may restore a software-damaged installation, but it can remove programs and settings and does not fix faulty hardware. Back up data and diagnose obvious hardware problems first.
How to Prevent Future Startup Loops
Maintain reliable backups, avoid interrupting updates, and use a stable power source. Install firmware and storage drivers only when appropriate for your exact hardware, and keep a record of any changes to BIOS storage settings. Watch for drive health warnings and investigate repeated unexpected shutdowns before they become a boot failure.
If you experience blue screens before a startup loop, our Windows 11 Blue Screen Errors guide explains how to collect stop codes and evaluate drivers, memory, and storage. The two problems sometimes share a root cause, but they require different evidence.
For general Windows recovery documentation, refer to Microsoft Windows Support and the documentation provided by your PC or motherboard manufacturer. Recovery menu names and options can change with Windows versions.
Final Thoughts
A Windows 11 Automatic Repair loop is a symptom, not a diagnosis. Begin with external devices and drive detection, use WinRE’s built-in recovery options, and only then consider targeted command-line repairs. Avoid guessing drive letters, changing storage modes without a plan, or formatting partitions to make an error message disappear.
The most successful troubleshooting strategy is also the safest: preserve your files, document the behavior, identify the likely cause, and escalate from low-risk checks to advanced recovery only when the evidence supports it. Explore more practical tutorials at PC Fix Atlas in our BIOS & Startup, Windows Fixes, and Hardware sections.