Restart directly into the BIOS/UEFI settings — via Microsoft Learn
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 0Undo
rem Nothing persists. If you scheduled it with a delay, cancel with: shutdown /a /fwNeeds UEFI firmware./fwmust be combined with a shutdown option such as/r;shutdown /a /fwclears a pending boot-to-firmware. The GUI route is Advanced startup → Troubleshoot → Advanced options → UEFI Firmware Settings.
Sources
- shutdown — by Microsoft Learn
- 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.