You restart the machine and land on a blue screen reading `Your PC couldn't start properly`. Restart and you are back thirty seconds later. The loop is one failure retried forever, not a new one each time. Reach Safe Mode with this guide and copy your files out first.
Quick steps
- Boot to the Recovery screen and open Advanced options.
- Read SrtTrail.txt to find the component that failed.
- Run chkdsk C: /f before trusting any repair.
- Run sfc /scannow with the offline boot and windows switches.
- Try System Restore, then uninstall the newest update.
- Disable automatic recovery only as a temporary bridge.
- Reinstall when the disk itself is the problem.
Things you'll need
- A Windows 11 USB installer, ideally the one you made earlier
- A working administrator account on that machine
- A second drive with room for a copy of your user folder
- About 30 minutes without a forced power-off
Step-by-step
Method 1 of 3: Read What the Loop Is Telling You
Download image
Step 1: Boot Straight Into the Recovery Screen
Hold the power button until the machine switches off, then power on and interrupt the boot three times in a row. The fourth boot shows the Recovery screen. Click Advanced options, not Restart.
Download image
Step 2: Run Startup Repair, Then Grab the Log
Go to Troubleshoot, then Advanced options, and run Startup Repair once so the log is current. Then open Command Prompt from the same list. Both tiles live on that screen.
Download image
Step 3: Read SrtTrail.txt Before Anything Else
Type `notepad C:\Windows\System32\LogFiles\Srt\SrtTrail.txt` and scroll past the checks that passed. The failing block names the driver, hive, or file that stopped the boot. No file means no repair ran.
Download image
Step 4: Look for the Failed Boot Marker
Run `dir C:\Windows\bootstat.dat` and read the timestamp. A write from minutes ago means the last boot was recorded as bad. That flag is why you land back here after a repair that looked fine.
Download image
Step 5: Check the Disk Before Trusting Any Repair
Run `chkdsk C: /f` and let it finish. A repair written into a bad sector fails again within a day. If chkdsk reports unreadable sectors, stop here and copy your data off.
Download image
Step 6: Note the Last Update Time
Check the date on `C:\Windows\Panther\setupact.log`. If the loop started within an hour of an update, removing that update is your shortest path. A timestamp from last month means something else broke.
Source: Microsoft Learn — bcdedit command · See also Microsoft Learn — manage-bde · Read next: Fix a Blue Screen on Windows 11
Method 2 of 3: Repair the Boot Files Offline
Download image
Step 7: Run the Offline System File Check
Type `sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows` exactly. The two switches tell sfc where the boot volume and the Windows folder sit while you are outside Windows. A plain `sfc /scannow` here checks the recovery image instead.
Download image
Step 8: Restore From a Restore Point
Go back to Advanced options and pick System Restore, then choose a point from before the loop started. If the list is empty, System Protection was off on that machine. That path is closed.
Download image
Step 9: Remove the Suspicious Update Package
From Command Prompt run `DISM /Image:C:\ /Get-Packages` and read the Install Time column. Then run `DISM /Image:C:\ /Remove-Package /PackageName:<name>` for the one that matches the failure window. This is the manual version of Uninstall Updates.
Download image
Step 10: Rebuild the Boot Configuration
Run `bootrec /fixmbr`, then `bootrec /fixboot`, then `bootrec /rebuildbcd`. If fixboot answers Access is denied, the boot sector is UEFI and protected, which is normal on newer machines. Skip it and keep going.
Download image
Step 11: Rebuild the EFI Files Directly
Find the EFI partition letter with `diskpart` and `list volume`, then run `bcdboot C:\Windows /s S: /f UEFI`, replacing S with that letter. This rewrites the boot files from your own install rather than from a template. It takes about ten seconds.
Download image
Step 12: Restart and Watch Where It Stops
Close the windows and choose Continue. Watch where it stops. A spinner that dies at the logo points at a driver, while a flash of the logo followed by a reset points at storage or boot files.
Source: Microsoft Learn — Windows Recovery Environment (Windows RE) · See also Microsoft Learn — Windows Setup Automation Overview · Read next: Fix a Blue Screen on Windows 11
Download image
Step 13: Test Safe Mode as a Second Opinion
From Startup Settings choose Safe Mode and log in. If it loads when a normal boot does not, the boot files are fine and a driver or service is the culprit. Test before you reinstall.
Method 3 of 3: Break the Loop and Decide When to Stop
Download image
Step 14: Disable Recovery as a Temporary Bridge
For one clean boot to copy files, run `bcdedit /set {default} recoveryenabled No`. That skips the Recovery screen once. It repairs nothing, and the loop returns the moment recovery is enabled again.
Download image
Step 15: Copy Your Data Off First
Boot a Linux live USB or plug the drive into another PC. Copy `C:\Users` and any work folders to an external disk before you reinstall, not after. Reinstall tools lie about what they keep.
Download image
Step 16: Run a Full Surface Scan
Run `chkdsk C: /f /r` overnight. The extra switch reads every sector, not just the file table. If it takes more than four hours on a small drive, or reports new bad sectors on each run, the platter is going.
Download image
Step 17: Do a Repair Install Before a Clean One
Mount the Windows 11 ISO in File Explorer and run `setup.exe` from it. Choose Keep personal files and apps. A repair install replaces system files and keeps your programs, and it needs about 20 GB free on C:.
Download image
Step 18: Move to a New Drive First
Buy a 500 GB SSD before you reinstall on a suspect drive, and use the old disk as your backup. Reinstalling onto a failing disk usually ends with the same loop inside a week. Disks are cheap; data is not.
Source: Microsoft Learn — Hard Drives and Partitions · See also Microsoft Learn — BCD System Store Settings for UEFI · Read next: Fix a Blue Screen on Windows 11
Download image
Step 19: Stop When Repairs Stop Working
Draw the line at two failed repairs, a drive missing from BIOS, or fresh SMART warnings. Past that, more software tools are wasted money. A shop with a hardware duplicator can still read the platter, and that matters more than the install.
Tips
- SrtTrail.txt is the only file that names the exact component. Read it first. Do not run a repair before you know what failed.
- Unplug USB drives and card readers first. A stale boot entry on a stick can fake a boot failure.
- chkdsk on a dying drive can take hours and can finish it off. Check the SMART status before you commit.
- A loop that also happens in Safe Mode means the damage sits in the boot path. It is not a driver you just installed.
Warnings
- bcdedit /set {default} recoveryenabled No hides the loop. It does not repair it, and you lose the recovery tools.
- Do not run diskpart clean on a drive you have not copied. It erases every partition in seconds.
- A drive that clicks or vanishes from BIOS is failing. Stop repairing and copy the data now.
- Interrupting an update install is often what caused this. Do not do it again.
Frequently asked questions
Does this error mean my hard drive is dead?
Usually not. Most cases are a corrupt boot file or a half-finished update. A dead drive shows up as missing in BIOS or as bad sectors inside chkdsk.
Can I keep my files if I reinstall?
Yes, if you choose Keep my files during setup and the drive is readable. Copy anything critical to another disk first anyway.
Why does it loop instead of showing the error once?
Each failed repair sets a flag in bootstat.dat, so the next boot goes back to Recovery. Clearing the flag alone just delays it.
How long should chkdsk take?
A 500 GB drive with light damage usually finishes in 20 to 40 minutes. Anything past three hours means real hardware trouble.
References
- Microsoft Learn — chkdsk. https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/chkdsk
- Microsoft Learn — sfc. https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/sfc
- Microsoft Learn — bcdedit. https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/bcdedit
- Microsoft Support — Windows help and learning. https://support.microsoft.com/en-us/windows
Every guide is reviewed against its sources. See our editorial policy.
Reader comments
0 so farFinished this guide? Tell other readers what worked, what didn't, and what you would change.