Forum Discussion
Windows gets stuck in a restart cycle due to corrupted boot files
You’re stuck in a restart loop before Windows loads and cannot reach Safe Mode or recovery automatically, so the safest path is Windows Recovery Environment from installation media. On another PC, create Windows 11 installation media, boot the affected device from it, choose Repair my PC, then Troubleshoot > Advanced options > Startup Repair. Let that complete before using Command Prompt. If Startup Repair fails, open Command Prompt and run diskpart, then list volume to identify the actual Windows partition because drive letters can change in recovery; exit DiskPart and run bcdboot D:\Windows, replacing D: with the verified Windows volume. This rebuilds boot-environment files without intentionally deleting personal data, but it cannot guarantee data safety if the disk is failing or encrypted. Have the BitLocker recovery key available, avoid Format or a clean installation, and back up the drive first if it can be read from another PC.