The fix for a Windows 11 installation that keeps restarting after reboot is to disable automatic restart on system failure, then boot from the installation media and run Startup Repair or use Command Prompt to fix the boot configuration. This usually resolves the loop caused by a corrupted boot record, driver conflict, or incomplete update.
Why Windows 11 Gets Stuck in a Restart Loop
A restart loop during installation typically means Windows cannot finish a critical phase and is reverting to a previous state, only to try again. The most common triggers are:
- Corrupted boot files – the Boot Configuration Data (BCD) or Master Boot Record (MBR) is damaged, so the system cannot load the next installation stage.
- Driver conflicts – a storage, chipset, or graphics driver loaded during setup causes a blue screen (BSOD) that triggers an automatic restart.
- Insufficient disk space – Windows 11 needs at least 64 GB, but temporary files during installation can require more.
- BIOS/UEFI settings – incorrect boot mode (UEFI vs. Legacy) or Secure Boot disabled can cause the installer to fail and reboot.
- Faulty RAM or storage – hardware errors can crash the installer mid-way.
Understanding which phase the loop occurs in helps narrow the fix. If it restarts during the first “Getting files ready” stage, it’s often media or hardware. If it restarts after the first reboot (when the Windows logo appears), it’s usually a driver or boot configuration issue.
How to Stop the Restart Loop Immediately
Before you can fix anything, you need to break the cycle. Windows has a built-in option to prevent automatic restart on system failure, but you can’t access it from a crashing installer. Instead, use the Windows Recovery Environment (WinRE) or installation media.
- Create a Windows 11 installation USB drive using Microsoft’s Media Creation Tool (needs another working PC).
- Boot from the USB – press F12, F2, Esc, or Del during startup to enter the boot menu (key varies by manufacturer).
- When the Windows Setup screen appears, click “Next” then “Repair your computer” (bottom-left).
- Choose Troubleshoot > Advanced options > Startup Repair. This scans and fixes common boot issues.
If Startup Repair doesn’t work, go back to Advanced options and select “Command Prompt”. Then run the following commands one by one, pressing Enter after each:
bootrec /fixmbr bootrec /fixboot bootrec /scanos bootrec /rebuildbcd
These commands repair the master boot record, rewrite the boot sector, and rebuild the BCD store. After that, type exit and restart normally. This resolves the majority of restart loops caused by corrupted boot files.
What to Do If the Loop Persists After Boot Repair
If the above doesn’t stop the restarts, the problem is likely driver-related or hardware-related. Try these in order:
- Disable automatic restart on failure – from the Command Prompt, run
reg add "HKLM\SYSTEM\CurrentControlSet\Control\CrashControl" /v AutoReboot /t REG_DWORD /d 0 /f. This stops Windows from restarting after a BSOD, so you can read the error code on the blue screen. - Boot into Safe Mode – from Advanced options, select Startup Settings > Restart, then press 4 or F4 for Safe Mode. If it boots, the issue is a driver or service. Uninstall recently added drivers or run
sfc /scannowanddism /online /cleanup-image /restorehealth. - Check disk for errors – in Command Prompt, run
chkdsk C: /f /r. This scans and repairs file system errors that can crash the installer. - Test RAM – use Windows Memory Diagnostic (type “Windows Memory Diagnostic” in the Start menu) or MemTest86 from a bootable USB. Faulty RAM is a common cause of random restarts during installation.
- Reset BIOS to defaults – enter BIOS (F2 or Del during boot), load “Optimized Defaults”, and ensure SATA mode is AHCI (not RAID or IDE) and Secure Boot is enabled if you’re installing in UEFI mode.
If you see a specific stop code like CRITICAL_PROCESS_DIED or SYSTEM_THREAD_EXCEPTION_NOT_HANDLED, note it down – it points to the exact driver or component causing the crash.
Common Causes and Their Specific Fixes
Different restart loop patterns point to different root causes:
- Loop right after “Restarting” – often a driver issue. Boot to Safe Mode and uninstall the graphics or storage driver you suspect.
- Loop during “Getting updates” – the installer is downloading updates that conflict. Disconnect from the internet during installation (unplug Ethernet or turn off Wi-Fi) and try again.
- Loop after “Preparing” – could be insufficient disk space. Delete any existing partitions on the target drive during setup (backup data first) or use a larger drive.
- Loop with a blue screen flash – almost always a driver or hardware failure. Check the stop code and test RAM/storage.
- Loop when booting from USB – the USB drive itself may be corrupted. Recreate it with the Media Creation Tool, or try a different USB port (preferably USB 2.0).
If you’re upgrading from Windows 10 and the loop starts after the first reboot, it’s often a third-party antivirus or a legacy driver. Uninstall antivirus and update all drivers before retrying the upgrade.
How to Reinstall Windows 11 Without the Loop
If all repair attempts fail, a clean install is the most reliable fix. This erases everything on the system drive, so back up your files first (you can use a Linux live USB to copy data if Windows won’t boot).
- Boot from the Windows 11 installation USB.
- Select your language and click “Install now”.
- When asked for a product key, click “I don’t have a product key” (Windows will activate later if your hardware already has a digital license).
- Choose “Custom: Install Windows only (advanced)”.
- Select each partition on the target drive and click “Delete” – this removes all existing data and partitions.
- Select the unallocated space and click “Next”. Windows will create the necessary partitions automatically.
During a clean install, the restart loop rarely occurs because there are no old drivers or conflicting files. After installation, install the latest chipset and storage drivers from your motherboard manufacturer’s website.
When to Suspect Hardware Failure
If the loop persists even with a clean install, or if it starts at random times (not just during installation), hardware is the likely culprit. The most common hardware causes are:
- RAM – run MemTest86 for at least 4 passes. Even one error means the stick is bad.
- Storage drive – use the manufacturer’s diagnostic tool (e.g., Samsung Magician, Crucial Storage Executive) or check the S.M.A.R.T. status in BIOS. A failing SSD/HDD can cause crashes during install.
- Power supply – an unstable PSU can cause random restarts, especially under load during installation. If your PSU is old or underpowered, test with a known-good unit.
- Motherboard – a failing capacitor or BIOS chip can cause instability. Update the BIOS to the latest version from the manufacturer’s site.
If you suspect hardware, test each component one at a time. Remove all non-essential hardware (extra RAM sticks, GPUs, drives) and try the installation with the minimum configuration.
Frequently Asked Questions
Why does Windows 11 keep restarting during installation?
The most common reasons are corrupted boot files, incompatible drivers, insufficient disk space, or hardware issues like faulty RAM. The restart loop is Windows’ way of trying to recover from a failed phase, but if the underlying cause isn’t fixed, it repeats indefinitely.
Can I fix the restart loop without losing my files?
Yes, if the issue is boot-related. Startup Repair and bootrec commands don’t touch your personal files. If the loop is caused by a driver, booting into Safe Mode and uninstalling the driver also preserves your data. Only a clean install (which erases the drive) will lose files.
How do I boot into Safe Mode if Windows won’t start?
Insert the installation USB, boot from it, and choose “Repair your computer” > Troubleshoot > Advanced options > Startup Settings > Restart. After the restart, press 4 or F4 to enter Safe Mode. If that doesn’t work, you can force Safe Mode by interrupting the boot three times (turn off the PC during the Windows logo) to trigger WinRE.
What does “bootrec /fixboot” do exactly?
It writes a new boot sector to the system partition. This is often needed when the boot sector is corrupted by a failed update or a third-party tool. If you get “Access is denied” when running it, it usually means the system partition is not the active one – you may need to use diskpart to assign a drive letter first.
Is it safe to delete partitions during a clean install?
Yes, but only if you have backed up everything you need. Deleting partitions erases all data on the drive. If you have multiple drives, make absolutely sure you select the correct one – double-check the drive size and model before deleting.
Should I disable Secure Boot to fix the loop?
Usually not. Windows 11 requires Secure Boot to be enabled. Disabling it can cause more problems. Instead, check that your BIOS is set to UEFI mode (not Legacy) and that Secure Boot is enabled. If it’s already enabled, try resetting BIOS to defaults.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Android Camera for 7 Office Tasks: Step-by-Step
- Pair Phone to Pioneer Stereo After Bluetooth Reset
- Fix Windows Not Saving Remote Desktop Credentials
- Fix Error 0x8007025d in Windows 10
- Fix Alexa App Stuck on Setup
- Essential Tips for macOS Users Switching to Windows