Boot · Windows 11
Fix a PC stuck in a boot loop
A PC that restarts at the same point, over and over — at the logo, at sign-in, or into Automatic Repair and straight back — feels like a candidate for a full reset. It usually is not. Most boot loops come from one of three causes: an update that went wrong, a drive that is failing, or boot settings that no longer match the disk. This guide separates those three in the recovery environment first.
What you need
- Time to watch two or three full cycles. The loop itself is the main evidence — where it restarts, and whether it restarts at exactly the same point every time, separates the causes.
- A note of what changed just before the loop began. An update the night before, a new drive or a cloned disk, a change in the BIOS or UEFI settings, or nothing at all. Each answer points at a different branch in the section below.
- Patience with the recovery environment. Every fix in this guide runs from the Windows recovery environment, reached by interrupting the boot.
Read the loop before you touch it
- Cause one: a bad update. If the loop began on the first restart after a Windows update — the loop drops you into Automatic Repair each time — the update is the prime suspect. Its fix is uninstalling the latest update from the recovery environment, covered in the simple fixes below.
- Cause two: a failing drive. If the restart point varies from cycle to cycle, the PC sometimes cannot see its drive at all, the drive drops out of the BIOS or UEFI device list, or a mechanical drive is clicking, the drive itself is failing and no software repair will hold. Stop and work through Check a drive for failure with SMART and chkdsk before spending more time here.
- Cause three: a boot-configuration loop. If the PC restarts at exactly the same point every cycle, the drive is reliably present, and the loop began after a disk change, a clone, or a BIOS or UEFI settings change, the boot configuration — the data that tells the PC where Windows lives — is the likely fault. Its fix is the Command Prompt route in the advanced section below.
- If none of the three fits cleanly, work in order anyway. The simple fixes run from least to most invasive, and Startup Repair and the update uninstall are safe to try on any loop.
The simple fixes, in order
- Get into the recovery environment. Start the PC and, as Windows begins to load, hold the power button to force it off. Repeat this three times. On the next start Windows should open the recovery environment instead of looping — if Automatic Repair appears, let it finish and choose Advanced options when it offers them. Microsoft's Recovery options in Windows describes this environment and its options.
- Run Startup Repair first. From Advanced options, choose Startup Repair and let it run to completion. Restart when it finishes and watch a full cycle: if the PC reaches sign-in, test it once more with a second restart before calling it done, per the end state below.
- If the loop began after an update, uninstall the latest update. Back in Advanced options, choose Uninstall Updates, then Uninstall latest quality update, and follow it through. If the loop began after a larger feature update and the option to uninstall the latest feature update is offered, that is the matching choice for that case. Restart and watch: a PC that boots cleanly with the update removed has named its cause, and Windows will offer the update again later.
- Try System Restore if a restore point exists. From Advanced options, choose System Restore and pick a restore point dated before the loop began. Restore rolls Windows system files and settings back to that point without touching your personal files. If no restore point is offered, the feature was off or the points are gone — move on rather than hunting for one.
- Only then consider the Command Prompt route. If Startup Repair, the update uninstall, and System Restore have all run without breaking the loop — and the drive checks out, per the read section — the boot configuration itself needs rebuilding by hand. That is the advanced route, next.
The advanced route: boot configuration from Command Prompt
- Open Command Prompt from the recovery environment. From Advanced options, choose Command Prompt. Type each command exactly as shown and press Enter after each.
- Ask Windows what installations it can find. Run
bootrec /scanos. It scans the drives for Windows installations and reports what it finds. A result that finds your installation means the Windows files are present and the problem is in the boot configuration pointing at them — the next step rebuilds that. - Rebuild the boot configuration. Run
bootrec /rebuildbcd. When it finds your Windows installation and asks whether to add it to the boot list, confirm. This writes a fresh boot entry based on the installation that actually exists. - Read the boot entries to confirm what was written. Run
BCDEdit /enumand read the entries it lists. You are checking that a Windows Boot Loader entry exists and that its device and path point at the drive your installation is on. Microsoft's BCDEdit reference documents this command and the entries it manages. - Restart and watch two full cycles. Close the Command Prompt, choose Continue to exit the recovery environment, and let the PC start. Do not judge it on the first sign-in alone — restart once more from Windows and confirm it reaches sign-in a second time, which is the end state below.
End state
- The PC boots to the Windows sign-in screen twice in a row, with a normal restart in between — one lucky boot does not count as fixed.
- You know which of the three causes it was: an update removed, a restore point applied, or a boot entry rebuilt — so if the loop returns, you start at that branch, not at the top.
- No reset was needed, and your files, apps, and settings are as they were before the loop began.
When it goes wrong
- The PC never completes a boot at all, rather than looping. A machine that fails once and stays failed — a black screen, an error message that just sits there, no repeating cycle — is a different fault with a different order of fixes. Use the Windows 11 PC that will not boot guide for that case instead.
- You cannot reach the recovery environment. If three forced interruptions do not bring it up, the drive or its recovery partition may be part of the problem. Boot from a Windows installation USB if you have one and choose Repair your computer — it opens the same recovery environment and the same Advanced options this guide uses.
- Every repair runs, and the loop survives all of them. With the drive healthy and the update, restore, and boot-configuration routes exhausted, a reset is the last resort — and it is a considered one, not a first move. Reset Windows 11 and keep your files covers the version that preserves your personal files, and what it still removes, so you can go in knowing the cost.
- The loop came back after the same update reinstalled. That confirms the update as the cause rather than a coincidence. Uninstall it again from the recovery environment, then pause updates in Settings > Windows Update for a few weeks once you are back in.
Related fixes
-
Fix a PC stuck in the 'Preparing automatic repair' loop
'Preparing automatic repair' followed by a restart, over and over, means Windows cannot finish starting and its own repair is not clearing the cause. Work inside the recovery environment in order: Startup Repair once, then the last update, then a restore point.
-
Fix Windows Update error 0x8024a203 or a stuck 'checking for updates' spinner
Windows Update sitting on checking for updates, or failing with error 0x8024a203, usually means a stuck update service or a damaged download cache rather than a broken update. Restart the services first, clear the cache next, and repair the system files only if the spinner survives both.
-
Fix a PC stuck on 'Getting Windows ready' for hours
A screen that says 'Getting Windows ready' for a short while is normal after an update. The same screen for many hours, with no progress and no disk activity, usually means the update has stalled. Wait the right amount of time first, then use the recovery route instead of guessing.
-
Fix a Windows 11 PC that won't boot
A Windows 11 machine that will not start, worked in the Recovery Environment: Startup Repair, Safe Mode, System Restore, and update removal.
Sources
- Microsoft Support, Recovery options in Windows — the recovery environment, Startup Repair, update uninstall, and System Restore options.
- Microsoft Learn, BCDEdit — the command reference for viewing and managing boot configuration entries.