Skip to content

Instantly share code, notes, and snippets.

@kaz
Last active February 10, 2021 07:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaz/559638ec688e8765c3b4c80c61a06795 to your computer and use it in GitHub Desktop.
Save kaz/559638ec688e8765c3b4c80c61a06795 to your computer and use it in GitHub Desktop.
Start-Process powershell -Verb runas -ArgumentList "-Command", "bcdedit /set '{fwbootmgr}' default '{a102a5f4-29cc-11eb-a342-806e6f6e6963}'; pause"
# Start-Process powershell -Verb runas -ArgumentList "-Command", "bcdedit /set '{fwbootmgr}' bootsequence '{a102a5f4-29cc-11eb-a342-806e6f6e6963}'; pause"
#!/bin/sh
sudo efibootmgr --bootorder 0000
# sudo efibootmgr --bootnext 0000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment