A PC that powers on but never reaches the Windows desktop is one of the most stressful problems you can have, especially straight after a driver update, a power cut or a hardware change. Before you reach for a reinstall, Windows 11 has a built-in fix-it tool designed for exactly this: Startup Repair, which runs from the Windows Recovery Environment (WinRE). This guide explains how to get into WinRE whether or not Windows still loads, how to run Startup Repair, what it can and can't fix, and the order in which to try WinRE's other tools if it doesn't work.
What Startup Repair does
Microsoft describes Startup Repair as a recovery tool that scans your computer for problems that stop Windows from starting and then tries to fix them automatically. The issues it tries to repair include:
Missing or damaged system files
Corrupted boot configuration data (BCD)
A damaged master boot record (MBR)
Incompatible drivers
Registry errors
Microsoft's troubleshooting guide adds that its diagnostics include analysing startup log files to work out the cause. It's quick, it doesn't touch your personal files, and it's the logical first step. None of those is a hardware fault, so if your SSD is dying, memory is faulty or a component has come loose, Startup Repair isn't designed to help.
Step 1: Get into the Windows Recovery Environment
Microsoft documents several routes into WinRE. Pick whichever matches your situation.
If Windows fails to start on its own: WinRE is designed to open automatically. Microsoft's technical reference says it starts after two consecutive failed attempts to start Windows, two unexpected shutdowns within two minutes of boot completing, or two reboots within two minutes of boot completing. You'll see an Automatic Repair screen; choose Advanced options.
If it doesn't open automatically, force it: Microsoft's steps are to turn the PC on and, as soon as the Windows or manufacturer logo appears, hold the power button until the PC switches off. Do that twice. On the third start-up, Windows should show the Automatic Repair screen. Select Advanced options.
If Windows still loads (for example, it's unstable but usable): open Settings > System > Recovery and select Restart now next to Advanced startup. Alternatively, hold Shift while you select Power > Restart.
If nothing on the drive works: boot from a USB recovery drive, which takes you straight to WinRE, or from Windows installation media. With installation media, Microsoft says to choose your language on the first setup screen, select Next and then Repair my PC (labelled "Repair your computer" on some versions). If the PC won't boot from USB, you may need to change the boot order in the firmware settings. Our guides to creating a recovery drive and making a Windows 11 installation USB cover making these on another PC.
Some devices also have a dedicated recovery button or key combination set by the manufacturer.
Step 2: Run Startup Repair
In WinRE, select Troubleshoot > Advanced options > Startup Repair.
Select Restart.
If your drive is encrypted with BitLocker or device encryption, you'll be asked for the recovery key. Microsoft notes you need it for this and several other WinRE tools. Our guide to finding your BitLocker recovery key explains where it's usually stored.
Let Startup Repair run. It scans the system and attempts fixes automatically. If it can't fix the problem, Microsoft says it provides a detailed report of the issues it found.
When it finishes, Microsoft's troubleshooting guide suggests shutting down and then turning the PC on again to see whether Windows starts normally.
Check the log. Startup Repair writes a log called SrtTrail.txt in the Windows\System32\LogFiles\Srt folder on your Windows drive. If Windows starts again, it's worth reading to see what was found. If it doesn't, you can still reach it from WinRE's Command Prompt; Microsoft's own boot troubleshooting steps use Notepad from there. If the folder isn't on C:, check the other drive letters.
Step 3: If Startup Repair doesn't fix it
WinRE has more tools under Troubleshoot > Advanced options. Microsoft lists them as Startup Settings, Command Prompt, Uninstall Updates, UEFI Firmware Settings, System Image Recovery, Point-in-time restore, System Restore and Reset this PC. A sensible order, from least to most disruptive, is:
Uninstall Updates (if it broke after an update)
If the problem started straight after Windows Update ran, Uninstall Updates lets you remove recently installed updates without loading Windows. Our guide to uninstalling a Windows 11 update covers both routes.
Startup Settings and Safe Mode
Startup Settings restarts the PC into a menu of options selected with the number or function keys. The most useful are:
Safe Mode and Safe Mode with Networking: Windows starts with a minimal set of drivers and services. If the PC boots in Safe Mode, Microsoft says default settings and basic drivers probably aren't the cause, which points to a recently installed driver or app. That's your chance to roll back or remove it; see our guide to rolling back a graphics driver and Safe Mode vs clean boot.
Enable low-resolution video: starts Windows with your current video driver at a low resolution and refresh rate, useful if a bad display setting leaves you with a black screen.
Enable boot logging: creates ntbtlog.txt, a list of the drivers loaded during start-up.
Disable automatic restart on system failure: stops the endless reboot when a blue screen happens during start-up, so you can read the stop code. Microsoft says to use it only if Windows is stuck in a fail-restart loop.
If your PC keeps booting into Safe Mode afterwards, Microsoft's fix is to press Windows + R, run msconfig, open the Boot tab and clear the Safe boot box.
Point-in-time restore or System Restore
Point-in-time restore is a newer option that rolls back the whole PC, including apps, settings and personal files, to a recent automatic restore point. Microsoft says to use System Restore if point-in-time restore isn't available or you need to go back more than three days; System Restore rolls back system files and settings but not personal files. Our System Restore guide explains how restore points work.
Command Prompt repairs (for confident users)
Microsoft's boot troubleshooting guide lists several commands you can run from WinRE's Command Prompt:
Offline file check: SFC /Scannow /OffBootDir=C:\ /OffWinDir=C:\Windows (change C: if your Windows drive has a different letter in WinRE).
Disk check: chkdsk /f /r to look for and repair file system errors.
Boot code repairs: bootrec /fixmbr rewrites the master boot code and bootrec /fixboot repairs the boot sector. Microsoft notes that /fixmbr only overwrites the boot code, so it may not help if the partition table itself is corrupt.
BCD repairs: bootrec /scanos looks for Windows installations, and bootrec /rebuildbcd rebuilds the boot configuration store. Microsoft's steps start by exporting a backup of the BCD with bcdedit /export before rebuilding it.
These are more advanced than Startup Repair, and the bootrec commands are aimed at specific boot-code and BCD errors. If you're not sure, try the options above first. Our guide to repairing Windows 11 with DISM and SFC covers file repairs once you're back in Windows, and if you see the INACCESSIBLE_BOOT_DEVICE stop code specifically, follow our dedicated fix.
Reset this PC (last resort before a clean install)
Reset this PC reinstalls Windows and lets you keep or remove your personal files. Microsoft describes it as the most disruptive of the in-place options and suggests trying the others first. If you can still get into Windows at all, a repair install that keeps your files is a gentler alternative. Windows 11 also includes Quick Machine Recovery, a WinRE option that uses an internet connection to help repair the PC; see our Quick Machine Recovery guide.
When it's probably hardware
If Startup Repair fails every time, Safe Mode won't load and the command-line checks report disk errors, suspect hardware. Check that the boot drive appears in the firmware (UEFI) settings, reseat or test memory (see Windows Memory Diagnostic vs MemTest86), and think back to any recent changes such as a new drive, a BIOS update or overclocking settings. If blue screens are involved, our guide to analysing BSOD minidumps can help pin down a faulty driver once you're back in Windows.
Our verdict
When Windows 11 won't boot, start with Startup Repair: get into the Windows Recovery Environment (it opens automatically after repeated failed starts, or you can force it by interrupting boot twice), then choose Troubleshoot > Advanced options > Startup Repair and have your BitLocker recovery key ready. If that doesn't work, move through Uninstall Updates, Safe Mode, point-in-time restore or System Restore, and the Command Prompt repairs, leaving Reset this PC until last. Keep a recovery drive or installation USB somewhere safe, so you can still get into WinRE if the drive itself won't start.