Win2grub
# save as `to-linux.bat` @echo off win2grub --set-next \EFI\ubuntu\grubx64.efi shutdown /r /t 5 (Runs the command and restarts in 5 seconds. Cancel with shutdown /a ) Did you accidentally delete GRUB? No problem. win2grub can also set Windows Boot Manager as the default:
We’ve all been there. You’re deep in a Windows session—maybe gaming or editing a video—and you need to switch to Linux for some coding or server work. win2grub
win2grub --restore-windows win2grub won't win any beauty awards, but it will save you hundreds of key-presses over the life of your machine. It turns dual-booting from a frustrating interruption into a deliberate, one-click action. # save as `to-linux