Skip to content

Restart directly into the BIOS/UEFI settings — via Microsoft Learn

Commandlow riskNeeds adminWindows 11Windows 10

Modern PCs boot too fast to catch the F2/Del prompt. This command tells the firmware to open its setup screen on the next restart.

Takes effect right away

Command

Run in an administrator Command Prompt / Terminal window.

shutdown /r /fw /t 0

Undo

rem Nothing persists. If you scheduled it with a delay, cancel with: shutdown /a /fw
Needs UEFI firmware. /fw must be combined with a shutdown option such as /r; shutdown /a /fw clears a pending boot-to-firmware. The GUI route is Advanced startup → Troubleshoot → Advanced options → UEFI Firmware Settings.

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.

uefibiosfirmwareshutdown fwboot settings

More in Sign-in, Boot & Shutdown