- Downloaded
- 702 GB
- Uploaded
- 14.1 TB
- Ratio
- 20.5
- Seedbonus
- 774
- Upload Count
- 0 (0)
Member for 10 years
Hi all, I made a bat file so users can boot into bios quickly and easily
it will give you a countdown timer and restart your PC right into bios No need to press any keys
just make a new txt doc C/P code below and save as a .bat
@echo off
setlocal enabledelayedexpansion
rem Display the prompt message and get user input
choice /C YN /M "Do you want to reboot into UEFI BIOS? Please Choose"
rem Check the user's choice
if errorlevel 2 (
echo Confirmed! No selected, Exiting...
timeout /t 4 >nul
exit
) else (
echo Yes selected. The system will reboot into UEFI BIOS.
echo Please wait...
for /l %%i in (5,-1,1) do (
echo Rebooting in %%i seconds...
timeout /t 1 >nul
)
)
rem Create a temporary BAT file to perform the UEFI reboot
echo @echo off > "%temp%\reboot.bat"
echo echo Restarting into UEFI BIOS... >> "%temp%\reboot.bat"
echo shutdown /r /fw /t 0 >> "%temp%\reboot.bat"
rem Run the temporary BAT file with administrative privileges to perform the UEFI reboot
powershell -Command "Start-Process -Verb RunAs -FilePath \"%temp%\reboot.bat\""
endlocal
it will give you a countdown timer and restart your PC right into bios No need to press any keys
just make a new txt doc C/P code below and save as a .bat
@echo off
setlocal enabledelayedexpansion
rem Display the prompt message and get user input
choice /C YN /M "Do you want to reboot into UEFI BIOS? Please Choose"
rem Check the user's choice
if errorlevel 2 (
echo Confirmed! No selected, Exiting...
timeout /t 4 >nul
exit
) else (
echo Yes selected. The system will reboot into UEFI BIOS.
echo Please wait...
for /l %%i in (5,-1,1) do (
echo Rebooting in %%i seconds...
timeout /t 1 >nul
)
)
rem Create a temporary BAT file to perform the UEFI reboot
echo @echo off > "%temp%\reboot.bat"
echo echo Restarting into UEFI BIOS... >> "%temp%\reboot.bat"
echo shutdown /r /fw /t 0 >> "%temp%\reboot.bat"
rem Run the temporary BAT file with administrative privileges to perform the UEFI reboot
powershell -Command "Start-Process -Verb RunAs -FilePath \"%temp%\reboot.bat\""
endlocal
Last edited: