What exactly does bcdedit do?

In windows, to start in safe mode we can execute in the terminal, with privileges, the command:

%windir%\system32\bcdedit.exe /set {default} safeboot minimal

And to return to normal mode, we execute:

%windir%\system32\bcdedit.exe /deletevalue {default} safeboot

I want to know is what exactly does bcdedit do? (And if I can do the same with registry keys?)

Thanks


Answer to the second part of the question (regedit keys) (source)

safe mode:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Option]
"OptionValue"=dword:00000001

Normal mode. Delete the previous key or:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Option]
"OptionValue"=dword:00000000
3

1 Answer

To answer your specific question, it modifies the Boot Configuration Data which you can read about on the Microsoft Docs site here

BCDEdit is a command-line tool for managing Boot Configuration Data (BCD).

BCD files provide a store that is used to describe boot applications and boot application settings.

BCDEdit can be used for a variety of purposes, including creating new stores, modifying existing stores, adding boot menu options, and so on.

0

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like