Windows startup

Windows won't boot: Automatic Repair and restart loops

What each startup error screen means, which recovery environment tools to try first, and when to stop so you don't lose your files.

FixLabReading 7 min

Slim laptop with a blurry blue screen and a flash drive on a white desk
Laptop on the recovery screen with a connected USB flash drive.

If Windows won't boot and shows "Preparing Automatic Repair", first decide whether you need the files from this drive. If you need them and the drive clicks, disappears, or boots only every other time: turn off the laptop and don't try to recover anything. If you have a backup or the drive runs quietly: open the Windows Recovery Environment and start with "Startup Repair".

What the screen your laptop is stuck on means

Windows startup failure screens and the first step
On-screen messageWhat happenedWhat to do
"Preparing Automatic Repair"Windows failed to start twice and is checking itselfWait while the status messages change
"Your PC did not start correctly"Startup failure, often after a sudden power lossClick "Restart" once
"Automatic Repair couldn't repair your PC"The automated tool couldn't find the cause"Advanced options", use recovery tools manually
Logo, spinning dots, endless restart loopDriver crash, broken update, or failing driveStart with Startup Repair
Blue screen with an error code on every startupWindows stop errorTake a photo of the error code
Prompt for BitLocker recovery keyDrive is encrypted; boot conditions changedEnter the 48-digit key
No bootable device, Boot device not foundBootloader not found: drive is not detected or settings got resetCheck the drive; don't reinstall Windows yet
Black screen without a logoFailure before Windows: power, memory, or displayThe recovery environment won't help

The first screen can be a false alarm. Windows flags the start of each boot and clears the mark when it reaches the sign-in screen. If the battery died or the power went out at that moment, on the next startup the system will decide the boot failed: Microsoft explicitly calls this a false positive. Click Restart: if Windows boots up, there's nothing to fix.

How to open Automatic Repair if Windows won't boot

Most of the time, you don't need to do anything: after two failed startups in a row, Windows opens the recovery environment automatically. If your laptop stubbornly spins the loading logo and the blue options screen doesn't show up, interrupt the boot twice using the power button, and "Automatic Repair" will open on the third attempt. This method is explained in detail in our guide on Windows Safe Mode.

If it still won't open, the recovery environment itself or the bootloader is damaged. You'll need a bootable Windows USB drive created on another computer. Boot from it, click Next on the first screen, and choose "Repair your computer". In the installer for Windows 10 and older Windows 11 builds, this is the "Repair your computer" link at the bottom left: it opens the recovery environment, and the rollback tool with the same name will be further down the list. Don't touch the install button: it'll start reinstalling the system from scratch.

Hands inserting a flash drive into the port of a gaming laptop
The bootable USB flash drive is connected before turning on the laptop.

What to select in Advanced options and in what order

On the blue screen, select Troubleshoot, then Advanced options. Try the tools in this order, and check normal startup after each step. If one step helps, don't go any further.

  1. Startup Repair. Windows automatically looks for and fixes startup problems. The report on what it found is in the Windows folder: System32\LogFiles\Srt\SrtTrail.txt.

  2. Uninstall Updates. If the issue started after an update, select Uninstall latest quality update. Only uninstall a major feature update if the laptop stopped working right after it.

  3. System Restore. It rolls back system files, drivers, and settings to a restore point, leaving personal files in place. It'll work if restore points were created.

  4. "Startup Settings", then "Restart" and key 4. If Windows boots in Safe Mode, look for the culprit among drivers and programs, but still keep an eye on the drive for the signs in the checklist below.

  5. Reset this PC on the previous screen. Programs are removed in either mode, but personal files can be kept or erased. Run this only after you've backed up your files.

Almost any tool here can ask for a BitLocker recovery key. If you signed in with a Microsoft account during initial laptop setup, device encryption turned on automatically on many models, so even users who didn't encrypt anything see the prompt. Open aka.ms/myrecoverykey on a phone, sign in to the same account, and find the key whose identifier starts with the same 8 characters as on your screen.

A smartphone and a yellow sticky note on a desk, with a laptop in the background
Looking up the BitLocker recovery key from another device.

What commands you can run in Command Prompt

Command Prompt is under the same "Advanced options", and from a USB drive Shift+F10 opens it on the first screen of the installer. For this kind of failure, Microsoft provides two checks in its instructions. The first checks the system files of the installed Windows and replaces corrupted ones: sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows. The second fixes partition file system errors: chkdsk C: /f. Run chkdsk only if the files you need are already copied or don't matter: by fixing the file system, it changes its structure, and corrupted files might be lost.

In the recovery environment, the system partition doesn't always get the letter C. Type dir C:\Windows: if the folder isn't found, try dir D:\Windows and use the letter where it was found in both commands. The Microsoft guide for chkdsk adds the /r switch: it reads every sector, which takes hours on a hard drive. For a drive showing signs of wear, that extra load isn't necessary until the data has been copied.

When Windows won't boot because of the drive

If any tool says it can't find Windows, or the drive disappeared from the list of drives, reinstalling won't help. First, check whether it's visible in BIOS, as described on the BIOS doesn't detect the drive page. Many laptops have their own hardware diagnostics before Windows boots: on Dell, press F12 after turning it on and select Diagnostics; on supported HP models, press Esc, then F2.

Signs that you need to save data first

Close-up of an M.2 SSD in the slot of an opened laptop
An M.2 drive inside a laptop on an antistatic mat.

If even one item applies, the next step is copying data to a working drive, not repairing Windows. That's handled by data recovery: the drive is connected to another computer and read gently, without writing to it.

What you can do yourself

  • Click Restart once after a power failure
  • Run Startup Repair
  • Uninstall the latest Windows update
  • Roll back to a restore point

Better to call a technician

  • The drive clicks or disappears from BIOS
  • You need the files, but there's no backup
  • The laptop was dropped or liquid was spilled on it
  • None of the recovery options helped

Frequently asked questions

How long should you wait for "Preparing Automatic Repair"?
As long as the messages on the screen are changing or the drive check is running, wait and don't turn off the laptop. If the message hasn't changed for a long time and the drive activity light isn't blinking, turn off the laptop and enter the recovery environment from a USB drive.
Will files be lost after "Startup Repair"?
Usually not: this tool fixes startup, not personal folders. System Restore also keeps personal files. Resetting the PC in "Remove everything" mode and "Restore to a point in time" can delete them.
What should you do if you don't have the BitLocker key?
Check the Microsoft accounts of everyone who set up the laptop, along with any printout or USB flash drive with the key. Without the key, the encrypted drive can't be read, leaving only a reset with data loss.
Will reinstalling Windows help?
If corrupted system files are to blame, yes. If the drive is failing, the new system will crash the same way, and the old files will be erased. That's why the drive is checked first and data is copied.
Can startup be fixed remotely?
We can advise you remotely based on photos and videos of the screen. You can't connect with remote access software to a laptop that won't start Windows, so you either follow the steps with our guidance or a technician handles them during an on-site visit.

Contact

Tell us what broke

Describe the problem: a technician tells you what to do next and quotes the price before any work starts.

  • Daily 10:00-21:00
  • Price agreed before any work starts
Request