What the "BOOTMGR is missing" Error Means
The "BOOTMGR is missing. Press any key to restart" error is a critical failure during the initial boot stage of a computer that appears before the Windows logo. It indicates that the operating system's primary boot manager is not found or cannot be executed.
Symptoms:
- After turning on your PC or laptop, you see a black or gray screen with white error text.
- The computer does not load Windows and does not proceed to the password entry screen.
- You are typically prompted to press any key to attempt a reboot, which results in the same error.
The BOOTMGR error is not specific to any computer manufacturer and is characteristic of all Windows versions starting with Windows Vista (Windows XP used the ntldr file).
Causes
The error occurs due to problems with the disk's boot sectors or corruption of key system files. Here are the main causes, from most to least frequent:
- Corruption or absence of the
bootmgrfile in the root of the system partition (usually a hidden 100-500 MB partition). The file may have been deleted, damaged by viruses, or incorrect disk utility operations. - Corruption or absence of the Boot Configuration Data (BCD) store. BCD is the modern replacement for the old
boot.ini. If its entries are corrupted, the bootloader does not know where to find Windows files. - Incorrect Boot Order in BIOS/UEFI. The system attempts to boot from a disk that does not contain Windows, such as an empty or non-system drive.
- Active status of a non-system partition. If BIOS/UEFI is set to boot from a partition that does not contain Windows but has the "Active" flag set, this will trigger the error.
- Physical damage to the hard disk (HDD) or SSD in the boot sector area. The appearance of bad sectors on the system drive.
- Improper shutdown or sudden power loss during a system update or disk write operation.
- Conflict after installing a second operating system (e.g., Linux), which overwrote the bootloader.
- Connecting a new disk without an operating system, which BIOS/UEFI mistakenly considers bootable.
Solutions
All methods require a bootable Windows media (USB flash drive or DVD). If you do not have one, create it on another working computer using the official Media Creation Tool or Windows 11 Installation Assistant.
Method 1: Check and Correct Boot Order in BIOS/UEFI
This is the simplest step, which often resolves the problem, especially after connecting a new drive.
- Restart the computer and when the logo appears, press the key to enter BIOS/UEFI (usually
Del,F2,F10,F12,Esc— depends on the manufacturer). - Find the Boot or Boot Order section.
- Ensure that the first boot device is set to the internal hard drive (HDD/SSD) where Windows is installed, not a USB drive, CD/DVD drive, or network boot.
- If there are multiple partitions on one drive (e.g., a recovery partition), ensure that the Windows system partition is the active one.
- Save changes (usually
F10) and exit. Reboot, removing the flash drive.
Method 2: Restore Bootloader and BCD via Command Prompt
This is the primary and most effective method. It is performed in the Windows Recovery Environment from the bootable media.
- Boot from the installation media. On the language selection screen, click "Repair your computer" (or "Troubleshoot" -> "Command Prompt").
- In the Command Prompt, you need to determine the drive letter of the system partition (the partition containing
bootmgrand theBootfolder). Often, in the Windows recovery environment, different drive letters are assigned than in the running system.- Type
diskpartand press Enter. - Type
list volumeand press Enter. - Find the volume that corresponds to your system partition (usually a small partition ~100-500 MB, type
System, file systemNTFSor none). Note its drive letter (e.g.,S:). - Exit Diskpart:
exit.
- Type
- Restore bootloader files. Run the following commands, replacing
S:with the letter you found:
This command updates the boot code on the system partition and in the MBR (for BIOS) or GPT (for UEFI).bootsect /nt60 S: /mbr - Recreate BCD and copy files. Run:
bcdboot C:\Windows /s S: /f ALLC:\Windows— path to the Windows folder. If it is on another drive (e.g.,D:), specify the correct path./s S:— specifies the target system partition./f ALL— creates entries for both BIOS and UEFI (recommended for universality).
- Additional BCD rebuild (if the above didn't work):
The utility will scan disks for Windows installations and prompt to add them. Confirm the addition.bootrec /rebuildbcd - Close the Command Prompt, select "Turn off your PC", remove the flash drive, and turn on the computer.
Method 3: Manual BCD Recovery via DiskPart and bcdboot (for Complex Cases)
If the bcdboot command failed due to partition corruption, you can try formatting the system partition and recreating it. Caution: This may lead to data loss on the system partition (usually only boot files are there), but not on the main Windows partition.
- In the same Command Prompt in the recovery environment:
diskpart list disk select disk 0 # (select the disk where Windows is installed) list partition select partition X # (X — number of the system partition, ~100-500 MB) format quick fs=ntfs label="System" active exit - After formatting, run the command from Method 2, step 4:
bcdboot C:\Windows /s S: /f ALL
Method 4: Disk Error Check (CHKDSK)
File system corruption on the system partition can prevent access to bootmgr.
In the Command Prompt in the recovery environment, run (replace C: with the letter of your system partition if different):
chkdsk C: /f /r
The process can take a long time (1-3 hours). After completion, reboot.
Method 5: Clean Boot and System Rollback
If the error appeared after installing a driver, update, or program, and the bootloader is generally intact, you can try:
- System Rollback from the recovery environment: "System Restore" -> select a restore point created before the problem occurred.
- Safe Mode boot: when booting from media, select "Boot Options" -> "Safe Mode". If the system boots, the problem is likely with third-party software or a driver.
Method 6: Clean Windows Reinstall (Last Resort)
If none of the methods helped, the Windows partition itself may be corrupted. In this case, a clean install will be required, either with personal file preservation (if they are on a separate partition) or without.
- Boot from the media. On the language selection screen, click "Install now".
- Select the "Windows version" and accept the license agreement.
- At the "What type of installation?" step, select "Upgrade: Install Windows and keep files, settings, and apps" (if this option is available and the system detects a previous installation). This is an in-place "upgrade" that often restores the bootloader.
- If the option is unavailable, select "Custom: Install Windows only (advanced)". Caution: This will remove all programs and settings but will keep personal files if they are on a separate partition (not on drive C:). All data on the system drive (
C:) will be deleted. - At the drive selection step, delete all partitions on the system drive, leaving unallocated space, and click "Next". Windows will automatically create the necessary partitions (system and primary) and reinstall.
Prevention
- Do not force shutdown the computer during Windows updates, software installation, or disk writes.
- Use a UPS (Uninterruptible Power Supply) to avoid disruptions from power outages.
- Create system restore points before installing major updates, drivers, or programs. (
Control Panel->System and Security->System->System protection). - Regularly back up important data to an external drive or cloud storage.
- Be cautious with disk partitioning/merging software. Use only trusted utilities (Windows built-in Disk Management, MiniTool Partition Wizard, AOMEI Partition Assistant).
- After installing a second OS (Linux) or changing the bootloader, always restore the Windows bootloader via
bcdbootif you plan to use it as the primary OS.
Important Notes
- If you have dual boot (Windows + Linux) and want to restore the OS selection menu, after restoring
bootmgryou will need to re-add the Linux entry to the BCD using thebcdeditutility or the EasyBCD program (run from a working Windows installation). - On computers with UEFI, instead of
bootmgrin the root of the EFI system partition (FAT32), the file\EFI\Microsoft\Boot\bootmgfw.efiis used. Thebcdbootcommand works correctly with both architectures (BIOS/Legacy and UEFI). - If the disk uses BitLocker encryption, before any actions with the bootloader, you must suspend BitLocker protection from a working Windows installation (if it still boots) or enter the recovery key during the boot process after restoring the bootloader; otherwise, the system will not be able to decrypt the system partition.