-1
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
I modified the question – ajcg – 2019-02-26T15:17:02.520
@Ramhound. I will restore the answer. However you are wrong. I just found the solution and tried it and it works. https://www.bleepingcomputer.com/forums/t/560042/force-windows-to-boot-into-safe-mode/
– ajcg – 2019-02-26T15:23:23.890It appears that the BCD store is mirrored at
HKLM\BCD00000000
, however, modifying these values will not necessarily modify the actual BCD store. – shawn – 2019-02-26T15:23:25.543