Skip to content
LaptopOwners

We may earn from links. It never picks the laptop. How we make money

Laptop Stuck in an Automatic Repair Loop? How to Get Out of It

An Automatic Repair loop means Windows failed to start twice in a row, opened its recovery menu, couldn’t fix the problem, and is trying again. The likeliest cause is a Windows update, driver or system file that broke startup, not a dead laptop. You get out of it from the same recovery menu, in a set order, and only one option, Reset’s Remove everything, says it deletes your files.

Our laptop troubleshooting guide sorts every startup fault by symptom. This page goes deeper on the loop: which button to press, how to read its log, Microsoft’s commands, and saving your files before Reset.

What causes an automatic repair loop?

A startup failure causes it, and Windows decides what counts. Microsoft’s technical reference lists the triggers: two failed attempts to start Windows in a row, two unexpected shutdowns or two restarts within two minutes of the boot finishing, a Secure Boot error, and a BitLocker error on touch-only devices (Microsoft Learn). Any of these sends the laptop into the Windows Recovery Environment (WinRE), and Automatic Repair starts there (Microsoft Learn).

Startup Repair, the tool behind it, checks for damaged system files, corrupted boot configuration data (BCD), a damaged master boot record, incompatible drivers and registry errors (Microsoft). When it can’t fix the fault, the next start fails too, and you’re back on the same screen.

Holding the power button through it won’t help. Cutting power twice during startup is how Microsoft says to force the recovery menu open (Microsoft), so it feeds the loop.

Before you touch anything: BitLocker key and files

Get your BitLocker recovery key first. Microsoft says Startup Repair, System Restore, Startup Settings and Reset all ask for it on an encrypted device (Startup Repair, System Restore, Startup Settings, Reset). On a phone or another computer, go to aka.ms/myrecoverykey and sign in with the Microsoft account used on the laptop; work and school laptops use aka.ms/aadrecoverykey. Match the first 8 digits of the recovery key ID shown on the laptop. Microsoft Support can’t retrieve or recreate a lost key (Microsoft).

Only System Restore and Reset’s Keep my files say outright that they keep your documents, and none of these steps is a backup. If the laptop holds the only copy of something, copy it off before step 8.

How do I get out of the automatic repair loop?

Work down this list and test a normal start after each step.

The order to get out of an Automatic Repair loop, with the backup before Reset Flowchart. On the Automatic Repair screen choose Restart once; if it returns, choose Advanced options then Continue; if it still loops, Advanced options then Troubleshoot. Step 1 is that top row. If the loop began right after a Windows update, step 2: Uninstall Updates, Uninstall latest quality update, then step 3, Startup Repair. Otherwise go straight to step 3, Startup Repair, and note the SrtTrail.txt log path. Then, in order: 4 System Restore, which leaves personal files alone; 5 Startup Settings key 4 for Safe Mode to remove the last driver or app; 6 Command Prompt for diskpart list vol, offline SFC, DISM RevertPendingActions and bcdboot; 7 copy your files off by taking the drive to another PC or a repair shop, highlighted; 8 Reset this PC with Keep my files, which keeps documents but removes apps and settings. If the loop comes back after a reset, suspect the drive or board; Microsoft says a Surface then needs service. Stuck in Automatic Repair? Take the exits in this order Copy your files off before step 8. If Keep my files fails, the other Reset option deletes them. 1. On the Automatic Repair screen, choose Restart once. Same screen again? Choose Advanced options > Continue. Still looping? Advanced options > Troubleshoot. Did the loop start right after a Windows update? Yes: step 2 first Uninstall latest quality update, then step 3, Startup Repair. No: step 3, Startup Repair Note the log path it shows: …\Srt\SrtTrail.txt 4 System Restore Rolls Windows back to a restore point. Personal files untouched. 5 Startup Settings > 4 Safe Mode. Remove the driver or app you added last. 6 Command Prompt diskpart list vol, offline SFC, DISM RevertPendingActions, bcdboot. 7 Copy your files off Take the drive to another PC, or ask a repair shop. 8 Reset this PC > Keep my files Reinstalls Windows. Keeps documents, removes apps and settings. Loop back after a reset? Suspect the drive or the board. Microsoft says a Surface then needs service.
Order and option names from Microsoft: Surface Automatic Repair (Surface-only page; the menus are standard Windows), Microsoft: uninstall an update, Microsoft: Startup Repair, Microsoft: System Restore, Microsoft: startup settings, Microsoft Learn: boot troubleshooting and Microsoft: Reset your PC; all checked Oct 28, 2026.

1. Restart once, then try Continue

On the Automatic Repair screen, choose Restart. If the screen comes back, choose Advanced options, then Continue on the “Choose an option” screen to try Windows again. Those are Microsoft’s first two steps for Surface laptops (Microsoft); the page is Surface-only, but the menus are standard Windows.

2. Uninstall the latest update if the loop began after one

If the laptop updated last night and looped this morning, start here. Choose Advanced options > Troubleshoot > Advanced options > Uninstall Updates > Uninstall latest quality update (Microsoft). Restart and see if it boots.

3. Run Startup Repair and read SrtTrail.txt

Choose Troubleshoot > Advanced options > Startup Repair > Restart (Microsoft). If it can’t fix the problem, Microsoft says it gives a detailed report. Startup Repair also writes a log file at:

%windir%\System32\LogFiles\Srt\Srttrail.txt

That path is from Microsoft Learn, and an asker on Microsoft Q&A quoted it from the “couldn’t repair your PC” screen (example). Its stated cause decides your next step. A driver or system file named in it points to steps 4 to 6. A boot configuration or boot sector problem points to bcdboot in step 6. A disk error points to the hardware box below.

4. System Restore

Choose Troubleshoot > Advanced options > System Restore and pick a point from before the trouble started (Microsoft). It rolls back system files, registry settings and installed programs “without affecting your personal files”. Microsoft’s Surface page warns it may remove recently installed apps and drivers, so have installers and product keys ready (Microsoft). No restore points listed? Skip ahead.

5. Safe Mode

Safe Mode starts Windows with a limited set of files and drivers. Choose Troubleshoot > Advanced options > Startup Settings > Restart, then press 4 for Safe Mode or 5 for Safe Mode with Networking (Microsoft). If it starts, uninstall the driver or app you added last, then restart normally.

6. Repair commands from the recovery Command Prompt

Choose Troubleshoot > Advanced options > Command Prompt. One trap first: from a recovery or install command line, Windows may not be on drive C:. Microsoft’s bcdboot repair steps use D: and say to check the letter with diskpart first:

diskpart
list vol
exit

Look for the volume with your Windows drive’s size, and use its letter wherever the commands below say C:. Run System File Checker against the offline copy of Windows:

SFC /Scannow /OffBootDir=C:\ /OffWinDir=C:\Windows

If the loop started during an update, check for pending update packages, then roll back the unfinished changes. Microsoft’s boot guide gives both:

DISM /image:C:\ /get-packages
DISM /Image:C:\ /Cleanup-Image /RevertPendingActions

If the log or the error points at boot files, copy fresh ones from the Windows folder to the system partition (Microsoft Learn):

bcdboot C:\Windows

For “Bootmgr missing” style errors, Microsoft also lists BOOTREC commands; the hub has them. Dell’s fallback order matches this page: System Restore, System File Checker, then back up and reinstall (Dell).

Commands from Microsoft Learn: Advanced troubleshooting for Windows boot problems and Microsoft Learn: BCDBoot, checked Oct 28, 2026.

Leave chkdsk /f /r for last, and only on a drive that’s quiet. Microsoft says /r reads every sector, which takes “a considerable amount of time” on a large hard drive (Microsoft Learn). On a failing drive, copy your files first.

If the laptop keeps stopping on the recovery options, Microsoft gives a command to break that cycle. It switches off the automatic jump to recovery; it doesn’t fix the cause (Microsoft Learn):

Bcdedit /set {default} recoveryenabled no

7. Copy your files off

If you’ve reached this point, back up before you reset. In a 2021 Microsoft Q&A thread, the asker’s reset kept failing, and replies suggested taking the drive out, reading it from another computer through a USB adapter, and copying the files off before reinstalling (Microsoft Q&A). Drive location and connectors vary by model, so Dell says to check the service manual before opening one (Dell); if you can’t get the drive out, a repair shop is the route.

8. Reset this PC with Keep my files

Choose Troubleshoot > Reset this PC > Keep my files. Microsoft says it “removes apps and settings but preserves your documents, photos, and other personal data” (Microsoft). Cloud download fetches a fresh copy of Windows; Local reinstall uses files already on the laptop. If Keep my files fails, Remove everything wipes personal files too. Only do that once your files are safe.

What each recovery option does to your files

Option (Troubleshoot > Advanced options)What it changesYour documentsSource
Startup RepairSystem files, BCD, master boot record, drivers, registry errorsNot listed as changedMicrosoft
Uninstall latest quality updateRemoves the latest quality updateNot listed as changedMicrosoft
System RestoreSystem files, registry, installed programs back to a restore pointKept (“without affecting your personal files”)Microsoft
Startup Settings > 4 (Safe Mode)Nothing; starts with fewer driversNot touchedMicrosoft
Command Prompt (sfc, DISM, bcdboot)System files, pending updates, boot filesNot listed as changed; chkdsk /r on a failing drive is a riskMicrosoft Learn
Reset this PC > Keep my filesReinstalls Windows, removes apps and settingsKeptMicrosoft
Reset this PC > Remove everythingReinstalls WindowsDeletedMicrosoft
Microsoft support pages, checked Oct 28, 2026.

In one HP Community thread, an HP employee suggested a hard reset (holding power 10 to 15 seconds), then tapping F11 for HP’s recovery environment and Startup Repair or System Restore (HP Community). A second owner in the same thread had tried that and still looped, then got a “BIOS not found” message. Once startup messages mention the BIOS or boot device, treat it as hardware. Recovery keys vary by maker, so check your user guide.

FAQ

Why does my laptop say Automatic Repair couldn't repair your PC?

Startup Repair found a problem it couldn’t fix. Its log, Srttrail.txt, says what it found. Work through the steps above, starting with the latest update.

How do I get out of the automatic repair loop without losing files?

Work through steps 1 to 6 above first; System Restore says outright it keeps personal files. If you reach Reset this PC, copy your files off, then choose Keep my files.

What is SrtTrail.txt?

It’s the log Startup Repair writes when it runs. Microsoft gives its location as %windir%\System32\LogFiles\Srt\Srttrail.txt. Its stated cause, such as a driver, boot files or a disk error, decides your next step.

Can I turn off Automatic Repair?

Microsoft’s boot guide gives Bcdedit /set {default} recoveryenabled no for a PC that keeps stopping on the recovery screen. It stops the recovery screen from opening by itself but doesn’t fix why Windows fails to start, so you still need to fix the cause.

Does an automatic repair loop mean my hard drive is dead?

Not usually. Updates, drivers and damaged system files are the common causes. Suspect the drive if it clicks, if chkdsk can’t read it, if the maker’s diagnostics flag storage, or if the loop survives a reset.

What to do next

  1. Get your BitLocker key from aka.ms/myrecoverykey on another device.
  2. On the repair screen: Restart, then Advanced options > Continue.
  3. If it began after an update, uninstall the latest quality update; otherwise run Startup Repair and note what SrtTrail.txt says.
  4. Try System Restore and Safe Mode, then the commands; copy your files off before Reset this PC.
  5. If it loops after a reset, run the maker’s diagnostics and price the repair with our repair or replace calculator. You’ll need your exact model; here is how to find it.

Sources

More guides guides