Windows Boot Manager: How to Edit Bootmgr and Fix Boot Errors in Windows 10

Windows Boot Manager (BOOTMGR)
Spread the love

What is Windows Boot Manager?

Windows Boot Manager (Bootmgr.exe) is a component of the new Windows Boot Loading Architecture designed to boot and load Windows fast and securely.

The new Windows Boot Architecture (Bootmgr.exe) replaced NTLDR. NTLDR was the previous Microsoft’s Windows NT boot loader.

Bootmgr is made of three components:

  • Bootmgr.exe (Windows Boot Manager)
  • Winload.exe (Windows operating system loader )
  • Winresume.exe (Windows resume loader)

This guide will focus on the first: how to edit Bootmgr and fix common Windows 10 boot problems.

How to Edit Windows 10 Boot Manager

You can make changes to boot manager in 3 ways:

  • Via Advanced Systems Settings
  • Using BCDEdit Command Line Tool
  • MSConfig.exe Tool

Sponsored Content


Edit Windows Boot Manager from Advanced System Settings

Follow the steps below:

  • Right-click the Windows logo on the left of your task bar [1]. Then click System [2].

Windows boot manager (BOOTMGR)

  • On the Settings page, click System info.

Windows boot manager (BOOTMGR)

  • Then click Advanced system settings.


  • On the Advanced system properties, in the Start-up and Recovery section, click Settings. This will open Start-up and Recovery configuration option.


  • In section [1] of the image, you can modify the default Operating system. If you are dual-booting, you will have the Operating systems in the drop-down. In section labelled [2], you can configure system recovery options.

Important Tip

Section [2] is very useful if your Operating System is having boot problems. You could read the dump file to determine causes of boot failures.

Edit Windows Boot Manager With BCDEdit

BCDEdit.exe is a Windows command line tool used to modify boot configuration data. BCDEdit.exe can add, delete, edit and append entries in the boot configuration data store.

Important Tip

To use BCDEdit you must run command prompt as administrator.

Before you can use BCDEdit, you need to know available parameters. To get available BCDEdit parameters, follow the steps below:

  • Open command prompt as administrator. To do this, type command prompt in the search box [1]. Then right-click Command Prompt [2] and select Run as administrator [3].

Windows Boot Manager (BOOTMGR)

  • On the User Account Control, click Yes.

Sponsored Content



  • On the command prompt, enter the command below.
BCDEdit  /?
Windows Boot Manager (BOOTMGR)

  • To list BCDEdit command switches in alphabetical order, execute the command below:
 BCDEdit  /?  TOPICS

See result below


To get details of how to use a particular switch, the syntax of the command is shown below:

BCDEdit /? <TOPIC>

As an example, to determine how to set the default Operating system in Boot Manager, type the command below. Then press Enter.

BCDEdit /? default

The result of the command is shown below:

Here are some examples of tasks you can perform with BCDEdit

Change OS Name in Windows Boot Manager Using BCDEdit

Before you can change the name (description) of an OS entry in the boot loader, you need to get the ID. To list all the entries in the boot loader, type the command below and press Enter.

BCDEdit /v

Result of the command is show below:

The Windows Boot Loader sections contains the Operating System details, including the identifier (ID).

The syntax of the command to change the name of an OS in the boot entry is:

BCDEdit /set <ID> description "New OS description"

In this example, I will change the description (name) of “Windows 10” to “Windows 10 Professional”. The command below will do the job:

bcdedit /set {658f0ac3-81bc-11e9-bb88-e6bdcbbf7fbc} description "Windows 10 Professional"

Below is the result of the command. Notice that the name of the OS has changed from “Windows 10” to “Windows 10 Professional”.

Use BCDEdit to Change Boot Order

You can change the default boot order in Windows Boot Manager using the following command syntax:

bcdedit /default <OS ID>

Following on from the previous example, I want to change the default Operating System to from Window 7 to Windows 10 Professional. The command below will make the change.

bcdedit /default {658f0ac3-81bc-11e9-bb88-e6bdcbbf7fbc}

Backup Windows Boot Manager with BCDEdit

My last example is to show you how you can backup Windows Boot Manager using BCDEdit.

Below is the BCDEdit syntax for this command.

bcdedit /export <path>

To export (backup) my current BOOTMGR to a file called “BCD Backup”, I will run the command below:

bcdedit /export "D:\Data\BCD Backup"

I now have a backup copy of my Windows Boot Manager. See the image below:

You can restore your Windows Boot Manager from the backup using the bcdedit /import command.

Below is the syntax of the bcdedit /import command

bcdedit /import <filename> [/clean]

To restore the previous backup into the system store, execute the command below:

bcdedit /import "D:\Data\BCD Backup" /clean

Important Tip

The /clean option specifies that all existing firmware boot entries should be deleted. The /clean syntax only affects EFI systems.

Sponsored Content


Edit Windows Boot Manager With MSConfig.exe

Another tool you can use to edit Windows Boot Manager is MSConfig.exe. Most importantly, MSConfig.exe can be used to troubleshot and resolve boot errors.

To edit BOOTMGR with MSConfig, follow the steps outlined below:

  • Right-click the Windows logo on the left of taskbar and select Run.


  • When Run opens, enter MSConfig.exe then click Ok. System configuration option will open (see the second image below).

Windows Boot Manager (BOOTMGR)

  • To change the default Operating System, highlight Windows 7 (D:\Windows), then click Set as default.

Windows Boot Manager (BOOTMGR)

MSConfig Advanced Troubleshooting Settings

MSConfig provides other boot troubleshooting options. Refer to the previous image. For instance if you check the box beside safe boot, you could chose any of the boot options available beneath it.

You could also set boot manager to No GUI boot. This is useful if you are testing whether the boot problem is caused by GUI. Other troubleshooting options you could enable are:

Boot log
Base video
OS boot information

While troubleshooting, you should play around with each of the configuration, one at a time. Then see what resolves your boot problem.

More on boot problem resolutions in the next section.

Causes of Boot Manager Errors and How to Fix It

In this section I will cover how to fix some common Windows 10 boot errors.

How to Repair Boot Codes in Windows 10

If your Windows 10 computer screen is blank with jut the cursor, it could indicate that the boot process is stuck.

You may also receive the following error messages:

  • Boot Configuration Data (BCD) missing or corrupted
  • Boot file or MBR corrupted
  • Operating system Missing
  • Boot sector missing or corrupted
  • Bootmgr missing or corrupted
  • Unable to boot due to system hive missing or corrupted

To resolve boot code related problem, try running the following commands:

BOOTREC /FIXMBR

If your boot sector is corrupt, running the command below may fix it.

BOOTREC /FIXBOOT

How to Fix BCD Errors in Windows 10

If you receive “Boot Configuration Data (BCD) missing or corrupted” or other BCD errors, execute the command below:

BOOTREC /ScanOS

When the command completes, reboot your computer to see if the boot problem is resolved. If the problem is not resolved, try the command below:

BOOTREC /rebuildbcd

Important Tip

The last command may take some time to complete.

Sponsored Content


How to Fix Error Code “Inaccessible Boot Device (Stop error 0x7b)”

Sometimes Windows Boot Manager may throw “Error code INACCESSIBLE_BOOT_DEVICE (STOP 0x7B)” during boot. Take the steps below to fix the problem:

  • Load Windows 10 Operating System installation DVD. Set the boot sequence to CD first. Then reboot the computer.

  • When the computer boots, wait for the prompt below. Then hit any key to boot from the DVD.


  • On the windows setup screen click Next. Then on the next screen, click Repair your computer.


  • Then click Troubleshoot.


  • Next, click Command Prompt. Command Prompt will load as shown in the second image below.

Windows Boot Manager (BOOTMGR)

  • On the cmd prompt, enter regedit and press Enter. Registry editor will load.

Windows Boot Manager (BOOTMGR)

  • In the registry editor, Select HKEY_LOCAL_MACHINE. Then select File -> Load Hive from the dropdown menu.

Windows Boot Manager (BOOTMGR)

  • Navigate to %windir%/system32/config. Then elect SYSTEM and click Open.

Windows Boot Manager (BOOTMGR)

  • Enter the name of the hive as temp. Then click Ok.

Windows Boot Manager (BOOTMGR)

  • Open HKEY_LOCAL_MACHINE\temp\ControlSet001\Control\Class.


  • In the path, check for Non-Microsoft Drivers: Click the GUID of the driver [1]. If it is a Non-Microsoft Driver with an UpperFilters and/or LowerFilters [3], double-click the UpperFilters or LowerFilters key. Then delete the value data if it exists. See the second image below.


  • When you finish deleting Value data for all third-party (non-Microsoft drivers), reboot your computer in normal mode.

Sponsored Content


Conclusion

The Windows Boot Manager (BOOTMGR) is a very important tool for managing Windows 10 boot menu. It also comes in handy when your computer runs into boot problems.

If this guide helped you resolve your boot problem, let me know by completing the “Leave a Reply” form at the end of the guide. You could also ask a question or share your experience to benefit other readers.

Other Helpful Guides


Additional Resources and References



Spread the love

Leave a Reply

Your email address will not be published. Required fields are marked *

By using this website you agree to accept our Privacy Policy and Terms & Conditions