Page 1 of 1

Change UEFI variables before rebooting with PS

Posted: 2022-Nov-03, 10:00 pm
by inoperable
Hello Everyone!

I'm tired of Windows always adding itself on top of my boot queue on it's own
whenever an update or anything else happens and this, seriously gets on my nerve.

On Linux/BSDs you have the

Code: Select all

efivar
command from GNU Uefi package (if i recall rightly)
Some varibles are RO only though, and you need to explicitly mount the

Code: Select all

efivarfs
mountpoint
where the UEFI variables happily reside:

Code: Select all

sys/firmware/efi/efivars
Can an UEFI variable be edited from Windows, Powershell?
I want to make a Task or logoff script or whatever solves this, so on each reboot Windows
takes the hint and gets to the end of my boot queue :-)

Thanks in advance,