Can't boot into UEFI mode

May 8, 2024
In order to update to the most current version of Windows 11 I need to boot in secure boot mode, which I set in the Bios but when I boot into UEFI windows won't boot the MSI Bios keeps coming up. I can only move past the bios screen when I choose "Legacy + UEFI" What can I try?
You boot into a Windows installation disk, you enter command line through there, you type diskpart, press enter, type list disk, press enter, note down your OS disk number, type exit, press enter, type mbr2gpt /convert /disk:#, where # is your disk number.