BCDEDIT – Boot Configuration Data Store Editor
The Bcdedit.exe command-line tool modifies the boot configuration data store.
The boot configuration data store contains boot configuration parameters and
controls how the operating system is booted. These parameters were previously
in the Boot.ini file (in BIOS-based operating systems) or in the nonvolatile
RAM entries (in Extensible Firmware Interface-based operating systems). You can
use Bcdedit.exe to add, delete, edit, and append entries in the boot
configuration data store.
This command working with the current BCD file.
First, you need to run this command under console administrator.
If you use without administrator privileges then you got this :
The boot configuration data store could not be opened.
Access is denied.
You can see all the args of this command by using this:
1 | C:\WINDOWS\system32>bcdedit /? |
Most of these args and options can be found here
Also, you can use msconfig to see under tab Boot the description name of the boot.
Then you can use this command to set a new description:
1 | bcdedit /set {current} description "your description" |
You can make changes to the boot configuration of your Windows.
Another example can enable test-signing with this command:
1 | bcdedit –set testsigning |
You also can start Windows 10 in Safe Mode with networking:
1 | bcdedit /set {current} safeboot network |
Also can start Windows 10 in Safe Mode with command prompt:
1 2 | bcdedit /set {current} safeboot minimal bcdedit /set {current} safebootalternateshell yes |