Skip to content

Restart straight into Advanced startup (recovery options) — via Microsoft Learn

Commandlow riskWindows 11Windows 10

Get to the blue Advanced startup menu — Startup Settings, Safe Mode, System Restore, uninstall updates, UEFI settings and Command Prompt — without hammering keys at boot.

Takes effect right away

The easy way

  1. The easy way: Settings → System → Recovery → Advanced startup → Restart now.
  2. Or hold Shift while selecting Restart from the Start menu's power button.

Command

Run in a normal Command Prompt / Terminal window.

shutdown /r /o /t 0

Undo

rem Nothing to undo: it only affects the next restart. Choose "Continue" on the blue menu to boot normally.
/o must be combined with /r. On BitLocker-protected PCs, have your recovery key handy in case some options ask for it.

Sources

Source reviewed
2026-11-02
Link checked
2026-11-02
Tested hands-on
Not by Oddbyte.Me

Oddbyte.Me hasn't tried this on every Windows build, so keep the undo handy.

advanced startuprecoverywinreshift restartshutdown

More in Sign-in, Boot & Shutdown