I see this come up from time to time, and once in a blue moon, I need to get into mine. The main issue always seems to be in hitting the proper Fx key at just the right moment. The proper Fx key can be different on different computers. For example, my ASUS laptop uses F2, which is a little unusual.
Here’s a much simpler method:
Create a batch file with this simple command:
shutdown /r /fw /f /t 0 (That’s zero, with a space between the /t and zero.)
/r = restart
/fw = restart into BIOS
/f = force apps to stop
/t = timeout (zero = immediately)
If timeout is greater than zero, then /f is implied. So:
shutdown /r /fw /f /t 0 = restart to BIOS immediately.
shutdown /r /fw /t 5 = restart to BIOS in 5 seconds.
I name this batch file bios.bat. Just type bios at a cmd (command) prompt. SO much easier.
Hope this helps someone.
P.S. I believe this works in all versions of Windows. I’m using Win 11 22H2.