You are not logged in.

#1 2025-07-15 12:56:44

atlasxi
Member
Registered: 2025-05-28
Posts: 5

Windows11 24H2 change UEFI boot order automatically

Hi, guys. I met a problem on dual-system UEFI boot(Windows11 and Arch).The situation as following:
                              *Windows11 24H2 change UEFI boot order automatically.
I try some solutions as follow:
                              1.use windows startup bat script to automatically change UEFI Boot Order
                                     -->failed: it can't change boot order.
                              2.prohibit security boot in bios and fast boot in windows
                                    -->fail it doesn't work on my computer
I also refer some articles in archwiki, Such as:
                              https://wiki.archlinux.org/title/Dual_boot_with_Windows
                              https://wiki.archlinuxcn.org/wiki/UEFI# … 1.E5.BA.8F
The methons in these do not work.

Ultimate solution: I may reinstall win+arch following wiki.
Specific situation about me:
I installed arch before install windows.
And I use Windows cmd to install itself, because Windows will use EFI partition of arch(it sucks).
Last, windows on my computer is booted by EFIshell script.
Hope someone can help. Thanks.

Offline

#2 2025-07-15 13:07:58

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,684

Re: Windows11 24H2 change UEFI boot order automatically

Have you tried using efibootmgr to change the boot order?
You can also do so with UEFI Shell.

Last edited by d_fajardo (2025-07-15 13:08:30)

Offline

#3 2025-07-15 13:38:33

atlasxi
Member
Registered: 2025-05-28
Posts: 5

Re: Windows11 24H2 change UEFI boot order automatically

d_fajardo wrote:

Have you tried using efibootmgr to change the boot order?
You can also do so with UEFI Shell.

yes, I do use efibootmgr to change boot order(include delete windows boot), it workless, once I boot windows, UEFI Boot Order will be changed by Windows. If i only boot with arch, Boot Order is ok.

Offline

#4 2025-07-15 14:44:34

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,958

Re: Windows11 24H2 change UEFI boot order automatically

No, it will be changed by your firmware. Windows does not do that.

Offline

#5 2025-07-15 19:32:08

euromatlox
Member
Registered: 2017-02-10
Posts: 137

Re: Windows11 24H2 change UEFI boot order automatically

I use grub bootloader to choose between arch and Windows 10.

What is the bootloader used here ? Is that EFIshell script your bootloader or Windows bootloader or motherboard BIOS bootloader ?

Last edited by euromatlox (2025-07-15 19:34:14)

Offline

#6 2025-07-16 02:12:20

atlasxi
Member
Registered: 2025-05-28
Posts: 5

Re: Windows11 24H2 change UEFI boot order automatically

euromatlox wrote:

I use grub bootloader to choose between arch and Windows 10.

What is the bootloader used here ? Is that EFIshell script your bootloader or Windows bootloader or motherboard BIOS bootloader ?

I use systemd-boot and EFI Shell Script for Windows to chose systems, and EFIShell from edk2shell. After I reinstalled Arch, the problem came out.
Specically for my windows boot script, I use bootmgfw.efi in FS1:\EFI\Microsoft\Boot\ to load Windows11.
And, The script worked well before I reinstall Arch.
It is Weird.

Offline

#7 2025-07-16 02:20:52

atlasxi
Member
Registered: 2025-05-28
Posts: 5

Re: Windows11 24H2 change UEFI boot order automatically

Scimmia wrote:

No, it will be changed by your firmware. Windows does not do that.

It is a unbelivable thing. By the way, I can't find arch or systemd-boot option in boot order of my mother board BIOS program, only windows can be recognize.
And once I booted from windows  the boot order changed. If I only use Linux boot option, the order will not be change.

Offline

#8 2025-07-16 17:06:19

bonkmaykr
Member
From: Missouri, United States
Registered: 2022-12-22
Posts: 24

Re: Windows11 24H2 change UEFI boot order automatically

The motherboard needs to keep an internal dictionary of every EFI bootloader installed to the ESP and if GRUB's entry is removed it will forget you installed it. There are ways to re-add the entry.
https://wiki.archlinux.org/title/Unifie … _Interface

You can navigate to the GRUB bootloader and execute it's EFI program manually if you can access the EFI shell. I've done something like this before to force Linux to become bootable again after my GRUB got nuked once. Of course until you fix the boot order back to how it was you would have to do this every single time. Making an EFI shell script helps make this less irritating but it still isn't ideal.

Note also that you don't necessarily need your system to be bootable anymore to make changes. You can get a live distribution and run the grub installer + EFI tools from there. It may not even have to be Arch.

Personally I stopped updating Windows after the first Win11 leaks came out, it's not my job to tell you what to do but if it was up to me I'd throw that invasive malware out by the curb. At a certain point if Micro$oft can't stop messing with your boot configuration that is a Micro$oft problem.

Last edited by bonkmaykr (2025-07-16 17:10:14)


"I bought shoes from my drug dealer.
I dunno what he laced them with,
but I've been tripping all day."
My Blog - Canithesis - Xonstats

Offline

#9 2025-07-17 16:03:57

atlasxi
Member
Registered: 2025-05-28
Posts: 5

Re: Windows11 24H2 change UEFI boot order automatically

Hello, guys. I finally figure out the problem:
1. HP omen 8 Pro's BIOS program only recognize the first disk option. It means in the case of installing windows on disk0 and linux on disk1, I merely automatically boot windows system. In the contrast case, I can boot from Linux.
2. However, I use sudo efibootmgr -b [here windows boot option number] -B to delete the option. Windows may check his boot option, and if no windows efiboot option, it may recover the UEFI Boot option data.
And I finally done it. Thanks yours support.

Offline

Board footer

Powered by FluxBB