This repository provides a simple Windows shortcut that lets you quickly reboot your computer directly into the BIOS/UEFI settings without needing to press any special keys (like F2, Del, or Esc) during startup.
The shortcut uses the built-in shutdown.exe tool with special flags:
"%SystemRoot%\System32\shutdown.exe" /r /fw /t 0/r→ Restart the system/fw→ Tell the firmware (UEFI) to boot into BIOS/UEFI setup on the next restart/t 0→ Restart immediately (0-second delay)
-
Right-click on your desktop → New → Shortcut
-
Paste the following into the target box:
"%SystemRoot%\System32\shutdown.exe" /r /fw /t 0
- Right-click the shortcut → Properties → Advanced → Check Run as administrator
- This is required for the
/fwflag to work.
- Your PC will immediately restart into BIOS/UEFI setup.
-
Works only on UEFI systems with supported Windows versions (Windows 8, 10, 11).
-
On legacy BIOS systems, the
/fwflag will be ignored. -
If you want a 1-second delay instead, use:
"%SystemRoot%\System32\shutdown.exe" /r /fw /t 1 -
To cancel a pending shutdown (if you used a delay), run:
shutdown /a
This shortcut simply automates a Windows command. Use at your own risk. Make sure you save all work before running it, as it will force a restart.