During a malware cleanup, msconfig was used to change the boot method to Safe Mode with Networking (msconfig > Boot > Boot options > check Safe boot > check Network). On reboot, Windows would not load. Reverting the changes and returning to Normal Mode was done like so:
Boot from Windows install disc and open command prompt (Shift+F10)
Check the current boot mode:
X:\>bcdedit
...
Windows Boot Loader
-------------------
identifier {default}
...
nx OptIn
safeboot Network
Remove the Safe Mode with Networking option:
X:\>bcdedit /deletevalue {default} safeboot
The operation completed successfully.
Check boot mode again:
X:\>bcdedit
...
Windows Boot Loader
-------------------
identifier {default}
...
nx OptIn
BCDEdit can be used on offline drives via the "store" command (the help documentation oddly refers to it as a command instead of a flag or switch), e.g., bcdedit /store E:\Boot\BCD /deletevalue {default} safeboot. (Found this handy for editing BCD on a DiskCryptor-encrypted drive mounted inside of a Windows PE session.)
/windows | Apr 17, 2016