shutdown /r /fw /t 1/r = restart /fw = boot to firmware (BIOS) /t 1 = delay one second This avoids repeatedly pressing F2 (or whatever key it is) to get into the BIOS. I read about it here https://betanews.com/2023/06/27/boot-into-the-bios-directly-from-windows/ Of course, if you just want a regular reboot:
shutdown /r /t 1