Boot into Safe Mode on the next restart with bcdedit
Set the safeboot flag with bcdedit so the next restart starts Windows in Safe Mode, then remove the flag to return to normal boot.
01Command
$ bcdedit /set {default} safeboot minimal02What it does
bcdedit /set {default} safeboot minimal marks the default boot entry for Safe Mode, so the very next restart lands directly in Safe Mode — useful when the system only crashes at normal boot. Use safeboot network instead if you need internet in Safe Mode. Removing the flag with bcdedit /deletevalue restores the normal startup.
03Risk
04Undo
$ bcdedit /deletevalue {default} safeboot05Sources
- bcdedit /set CommandEvidence: Official bcdedit /set reference; documents safeboot as a boot entry element that sets safe-mode start (Minimal/Network) for the next boot.
- One-time Safeboot with bcdeditEvidence: Microsoft Q&A thread shows bcdedit /set {default} safeboot minimal to boot once into Safe Mode and bcdedit /deletevalue {default} safeboot to revert, plus safeboot network for Safe Mode with Networking.
Last verified: 2026-09-19 · Category: System & Settings
06Related solutions
Read the BCD store's boot manager and loader entries before making any boot changes.
One command that shows OS version, install date, boot time, memory, network adapters and installed hotfixes.
Built-in Windows command to compute MD5, SHA1 or SHA-256 hashes of any file.