PC Error Codes Look up a code
One safety rule: if a message shows a phone number to call, it is a scam: Microsoft never does that. Check any warning in 5 questions.

Home › PC Won't Start and BitLocker Recovery › Stuck in an Automatic Repair Loop: Getting Out Safely

Stuck in an Automatic Repair Loop: Getting Out Safely

By Editorial Team · · 9 min read

Automatic Repair loop

“Preparing Automatic Repair”

Does not mean your files are lost yet

In plain English: If your PC shows Preparing Automatic Repair, restarts, and then shows the same screen again, Windows is stuck trying to fix its own start-up and failing. This loop does not mean your files are lost yet.

First safe step: First, remove any USB drives, external drives, and memory cards, so the PC cannot try to start from one of them by mistake.

If your PC shows Preparing Automatic Repair, restarts, and then shows the same screen again, Windows is stuck trying to fix its own start-up and failing. This loop does not mean your files are lost yet. Photos, documents, and other files are usually still on the drive.

This page works through one order, safest first. Restart once, with no risk to files, then try Safe Mode, also with no risk and a chance to save copies, then System Restore, which undoes system changes but does not touch personal files, then Startup Repair, where Windows changes its own start files.

Work down the list in order and do not skip ahead to stronger steps. After each rung, check if Windows starts normally. If it does, stop there, save an extra copy of your important files, and do not try the remaining steps.

Why the Automatic Repair loop keeps repeating

Each turn starts the same way. You see 'Preparing Automatic Repair,' then 'Diagnosing your PC,' but you never reach the sign-in screen. Instead, the PC restarts and those same messages appear again, even though the last attempt did not fix anything. Once is worrying. Three or four times in a row means it is stuck.

That pattern usually means Windows found a problem while starting and tried to repair it, but the repair did not work. Windows keeps returning to repair because the same starting problem is still there on the next try. Common causes are an update that did not finish, damage to files Windows needs to start, or a drive that is starting to fail.

The loop by itself does not mean your photos and documents have been deleted. They are stored separately from the files Windows uses to start, so they are often still on the drive. Saving copies comes early in the steps that follow for that reason.

Work through the rungs in order, from the simple restart to Startup Repair, and do not skip ahead. The order matters because each rung changes more than the one before it. Plug the PC into power, let the first repair attempt finish even if it takes a while, and stop as soon as Windows starts normally.

Rung 1: Restart once from the repair screen

Data risk: none. A restart from the repair screen does not delete your files, programs, or settings, and it does not change them either. It is the safest step on the ladder, which is why it comes first.

First, remove any USB drives, external drives, and memory cards, so the PC cannot try to start from one of them by mistake. If this is a laptop, leave it plugged into power as well. Then select Restart on the repair screen, just once, and let the PC work through the attempt on its own.

Give it time to reach the sign-in screen, even if the screen goes dark or shows spinning dots for a few minutes. If Windows starts normally, stop here and do not go any further up the ladder. Copy your important files, such as photos and documents, to a USB drive before you do anything else.

If the Preparing Automatic Repair screen comes back instead, this rung has done all it can and a second restart will not change the result. Do not keep holding the power button down to force restart after restart, because that can interrupt Windows in the middle of a repair. Leave the PC on the repair screen and move on to rung 2, Safe Mode.

Rung 2: Start in Safe Mode and save your files first

Rung 2: Start in Safe Mode and save your files first

Data risk: low. Safe Mode does not delete files, programs, or settings. It starts Windows with only the basic drivers it needs, so the desktop may look large, plain, and a little blurry. That odd look is normal in Safe Mode and it goes away on a normal start.

From the Automatic Repair screen, select Advanced options, then Troubleshoot, then Advanced options again. Select Startup Settings, select Restart, and wait for the list of start choices to appear.

Press 4 or F4 to choose Safe Mode. Press 5 or F5 only if you need the internet while you are in Safe Mode, for example to copy files to online storage. Sign in as you normally would.

If your PC never shows the Automatic Repair screen, do not try to force it to appear. Follow the steps on our Safe Mode page for that situation instead, then come back here once you reach the desktop.

Once the desktop appears, save your files first. Plug in a USB drive, copy your photos, documents, and anything else you cannot replace, and check that the copies open before you change anything else.

Next, think about what changed just before the loop began. If you installed a new program shortly before that, remove it through Settings, then Apps. If the loop began right after a Windows update, follow the steps on our bad update page instead of removing programs at random.

When you finish, restart the PC normally. If Windows reaches the sign-in screen and the desktop, stop the ladder, you are done. If Preparing Automatic Repair appears again, move on to rung 3, System Restore.

Rung 3: Use System Restore to go back before the loop started

Data risk for rung 3: your photos, documents, and other personal files will not be removed. The cost is different. System Restore takes Windows back to an earlier date, so programs, drivers, and updates added after that date will be removed and may need to be installed again. Changes you made to Windows settings after that date will also be undone. That trade is why this rung comes before Startup Repair.

From the Automatic Repair screen, select Advanced options, then select System Restore. Sign in with your usual Windows account if you are asked. Choose a restore point dated before the loop started. If Scan for affected programs is shown, select it and read the list. It tells you which programs and drivers will be removed or put back by that point. Take your time on this screen, because the date matters.

Check the date once more before you confirm. If it is from after the loop began, go back and choose an earlier point. Then select Next and Finish. Stay plugged into power, allow plenty of time, and do not turn the PC off while the restore runs, even if progress looks slow. The PC will restart when the restore is done. A laptop battery alone is not enough for this step.

If Windows starts normally after the restart, stop the ladder and open a few important files to check them. If there is no restore point, or the restore fails, write down the message and the date you tried. Do not try random dates one after another. Move on to rung 4, Startup Repair, and keep that note for the next steps. One careful try gives you clearer information than several guesses.

Rung 4: Run Startup Repair from Advanced options

Rung 4: Run Startup Repair from Advanced options

Data risk on this rung: low. Startup Repair works on the files Windows needs to start, and it does not remove your personal files or your installed programs. It comes last for a reason. The earlier rungs left those start files alone, but this one lets Windows change them itself, so try it only after the safer steps have not worked. That is the risk from this attempt.

From the Automatic Repair screen you are on now, follow these steps in order:

  1. Select Advanced options, then Startup Repair.
  2. Select your Windows installation if Windows lists one.
  3. Select your account if you are asked to choose one.
  4. Type your password if asked, then select Continue.
  5. Wait while Windows diagnoses your PC.

The repair then starts on its own. No disk or download is needed.

Stay plugged into power and do not interrupt it, even if it seems slow. On an older PC, Startup Repair can take a long time with little on screen to show progress. Do not press the power button to hurry it along. If it finishes and Windows restarts to the sign-in screen, the repair worked. Sign in, stop the ladder, and copy important files to a USB drive.

If the screen says Startup Repair could not repair your PC, do not run it again and again. Running it repeatedly will not change the result, and it keeps you from the safer next step. Write down the exact message and any file name shown, such as SrtTrail.txt, then move to the final section below. Keep that note for what comes next. Your files come first from here.

If the ladder does not work, protect your files before you try more

If you have worked through all four rungs in order and the Automatic Repair screen still comes back, stop there. Do not run the same steps again hoping for a different result. Watch for signs the drive itself may be failing: clicking or grinding noises from the PC, repair attempts that get slower each time, or the loop returning after every rung. Repeated attempts will not fix a failing drive.

From this point, saving your files comes before fixing Windows. If a repair shop or data recovery service helps you, use these words: "Please copy the drive first, and give me a price before any repair." Ask them not to reset or reinstall Windows until that copy is made, and get the price in writing if you can. Time matters if the drive is failing. Do not wait for days.

Treat Reset this PC as a last resort outside the ladder. Its choices can remove far more than any rung above, and picking in a hurry can be hard to undo. Read our Reset comparison page for the fine print first, and choose an option only after you understand what it keeps and what it removes. Take time to read it.

If the screen changes instead, leave this ladder. A BitLocker recovery screen needs the BitLocker recovery page, and a blue screen with a stop code needs the page for that code. Follow the page that matches the screen in front of you, and keep your notes on the exact message and any file name you saw. Each screen has its own first steps. Use those steps first.

Conclusion

You do not need to solve this loop in one sitting. Working in order, with the risk to your files stated before each step, means you know what you have tried and what you have not risked yet. That record matters if you pause and come back tomorrow, or hand the PC to someone else.

If Windows is back, make a fresh copy of your photos and documents today, while the PC is working. If it is not back, keep the notes you made along the way and put that copy first. Either way, the next step is a clear one, not another loop of guesses.