You can boot a UFD by running a script in Windows. There is no need to use the F12 Boot Menu. This comes in handy if you have the UFD setup to do something automatic. Such as an auto restore. Or an off line backup. So, run the script and walk away. Windows will restart, the UFD will boot and do its thing and the computer will restart into Windows. To set this up, shutdown the computer. Plug the bootable UFD in and power on into the BIOS. Check Boot Option Priorities and make sure the UFD is recognised. Mine is... UEFI: Sandisk, Partition 1 (SanDisk) Leave the UFD plugged in and boot into Windows. Open TBOSDT (TeraByte OS Deployment Tool Command Prompt). Enter this and press Enter... LIST UEFI BOOTITEMS Make a note of the "bootnum" of the UFD item. Mine is 0x749D Create a ufd.cmd... Code: @echo off CD /d %~dp0 set TBpath=C:\Program Files (x86)\TeraByte Drive Image Backup and Restore Suite\TeraByte OSD Tool Suite Pro\win "%TBpath%\tbosdtw64.exe" ufd.run echo. pause shutdown /r /t 0 Create a ufd.run (use your "bootnum") Both files need to be in the same folder. Any folder. Code: set uefi bootnext 0x749D Right click ufd.cmd Run as administrator Press any key to continue... The computer restarts, etc. From now, you don't have to shutdown to plug in the UFD. Just plug it in while in Windows. Then run ufd.cmd. For initial testing you don't need an "auto" UFD. You can use any bootable UFD. Even a Win11 UFD.
Great stuff, Brian. Out of curiosity, can bootnum be found using Command Prompt? Not everyone may have TeraByte OS Deployment Tool.
Hadron, You can get the same bootnum in Linux with efibootmgr. But you still need TBOSDT to run the script. I don't have a Windows method.
I noticed in one of my computers that shutdowns seemed to cause an issue. So if you get an error with... set uefi bootnext 0x749D Run this... add uefi bootitem 4 0x01 usb 0x749D set uefi bootnext 0x749D 4 is the UFD Disk number from Disk Management or TBOSDT. Edit 4 to your Disk number.
Thanks. I will keep this option safe somewhere just in case if EasyBCD/iReboot combo stops working on Windows in the future.
You know that is a good question. I have always had EasyBCD on my system so this never occurred to me, but now that you mentioned it, I don't think you actually need EasyBCD installed for iReboot to function. After you have setup your custom boot menu with EasyBCD or any other app, iReboot should be able to boot into any one of them with a single click. Also keep in mind that Brian's script does something that iReboot most likely cannot do i.e. automatically boot into a UFD on next boot.
Here is an example of an auto restore from an IFL UFD. https://www.wilderssecurity.com/threads/image-for-linux-ifl-automated-restore-from-a-ufd.453487/ Edit... If you have no interest in automation, it's fine to use image/restore apps manually.