一条命令重启直接进 BIOS/UEFI 设置
不用开机抢按 F2 或 Del,用 shutdown 命令重启后直接进入主板固件设置界面。
运行:shutdown /r /fw /t 0,电脑会重启并直接进入 UEFI/BIOS 设置界面。
01命令
命令
$ shutdown /r /fw /t 002作用说明
/r 表示重启电脑,/fw 表示重启后进入固件(BIOS/UEFI)设置界面而不是操作系统,/t 0 表示立即重启。比起开机时抢按 F2、Del 或 Esc 轻松得多,而且各品牌电脑用法完全一样。
03风险
!注意: 看不懂的固件设置不要乱改——BIOS/UEFI 里的安全启动、启动顺序等设置改错可能导致 Windows 无法启动。
04撤销
✓无需撤销——该命令不会改变持久状态。
05来源
- shutdown (Windows Commands)依据: Documents /r (restart the computer) and /fw (combined with /r, restart to the UEFI/BIOS firmware interface) on the official shutdown reference page.
- Shutdown.exe - Shutdown the computer依据: Lists the /fw switch for restarting to the firmware (BIOS/UEFI) setup interface, alongside /r and /t.
最后验证: 2026-09-19 · 分类: 系统与设置