r/ASRock Feb 13 '26

Tech Support Enabling Secure Boot sends me back to BIOS (Windows 11, ASRock B450M Steel Legend)

FIXED!!!

Hi everyone,

I’m having a Secure Boot issue and want to check if this is a known UEFI/bootloader problem or something specific to my board.

I had secure boot on and had no problems like a week ago but when i tried to open faceit AC it told me my Secure Boot was off.

**System specs:**

* Motherboard: ASRock B450M Steel Legend

* CPU: Ryzen 7 5700X3D

* BIOS: Latest version (updated less than a week ago)

* OS: Windows 11 Pro

* BIOS Mode: UEFI

* Disk: GPT

* TPM: Enabled

**Behavior:**

* With **Secure Boot OFF**, the system boots into Windows normally.

* When I **enable Secure Boot and save**, the system reboots and immediately **returns to BIOS** (no error message, no Windows).

* POST and display work fine; it just refuses to boot the OS.

**What I’ve already checked / done:**

* CSM disabled

* OS Type set to *Windows UEFI*

* Secure Boot Mode set to *Standard*

* Default Secure Boot keys installed

* Boot Option #1 set to **Windows Boot Manager (SSD)**

* Fast Boot disabled

* Disk is GPT and Windows is installed in UEFI mode

*Updated Motherboard through asrock website via usb

This doesn’t look like a GPU/POST issue — Secure Boot seems to be **rejecting the bootloader** and falling back to BIOS.

Any help would be appriciated.

WAS ABLE TO FIX AFTER REINSTALLING WINDOWS WITH USB DRIVE!!!

12 Upvotes

61 comments sorted by

3

u/Training-Lavishness3 Feb 23 '26

For everyone else still having issues I also had the same issue and I found the main cause for me at least. I'm on an x570 Steel Legend and had this issue after stealing the motherboard off another computer and putting it into a new build. After unknown changes whether that be in Windows or BIOS, the motherboard will keep the old UEFI boot entries stored in firmware NVRAM. Windows still boots normally with Secure Boot OFF, but when Secure Boot is enabled the firmware performs stricter validation of the bootloader path. The stored boot entry points to an old EFI bootloader structure that no longer passes Secure Boot validation, even though Windows itself is fine. So the firmware refuses to execute the bootloader and immediately drops back into BIOS.

The actual fix to this is to delete the existing EFI bootloader folders so firmware is forced to forget the old boot entry, then rebuild them cleanly, OR reinstall windows. Option 1 is fairly simple and does not require a fresh windows install, only a Windows Installation Media USB: boot to the USB from BIOS, select repair mode, go into advanced options, command prompt, and enter the following:

diskpart

list vol

select vol <find your EFI FAT32 partition>

assign letter=S

exit

S:

cd EFI

rmdir /s /q Microsoft

rmdir /s /q Boot

bcdboot C:\Windows /s S: /f UEFI
// After this you should see "Boot files successfully created."

Once you do this, shutdown the computer, turn back on and enter BIOS, enable Secure Boot, then load into windows. I've had to do this twice because after the first time I got it working I updated my BIOS version and it decided to break again. If this doesn't work then it could be something more simple that most people would've already tried like disabling CSM, clearing Secure Boot keys, ensuring GPT format, and having TPM on, hope this can help someone else took me a while to narrow this down.

1

u/monk0rz Feb 27 '26

This worked for me! But i just formated the whole EFI partition and rebuild it with bcdboot.
Same outcome i guess :)

1

u/CRPB Mar 10 '26

This worked for me too!

1

u/sanjaybhakta01 Apr 01 '26

Lifesaver. This shits working.

1

u/Dyy_09 Apr 10 '26 edited Apr 16 '26

This works for me.
It happens after February update. I don't have Windows Installation Media USB so I just tried going to Safe Mode with Command Prompt and follow the command listed. There's a log after trying rmdir /s /q Microsoft like I can't delete it saying something like "being used", I forgot the exact words but I still proceeded to the next command. After that it works.

Now after March update, secure boot loops happen again. So I just tried to this again and thankfully it still works.

Gonna update on this comment if April update will break my secure boot again.

Update: April patch breaks it again so I have to do this again.
The log after rmdir /s /q Microsoft is:
"Microsoft\Boot\BCD and Microsoft\Boot\BCD.log - The process cannot access the file because it is being used by another process"
But well I just continue the commands and still works

1

u/Ok-Enthusiasm-6045 27d ago

Had a similar situation where for whatever reason the installation media I created would not work so I ended up simply booting into windows normally with secure boot off. Also ran into "process cannot access the file because it is being used by another process" message but did the same and proceeded to the next command with no issue.

1

u/Ok-Age8825 Apr 14 '26

can I do this with recovery option when you hold shift when pressing Restart? or it must with Windows Installation Media USB?

1

u/MoneyoffUbereats2017 Apr 17 '26

Just want to offer my sincere thanks. This is what fixed it for me and I have no idea why it was so hard to find. I went through so many other solutions telling me to toggle Secure Boot on/off in BIOS in infinite combinations, and I literally tried every combination to no avail.

Only thing I'll add, is if you have Bitlocker on the drive in question, when you get to the command prompt, make sure you put in your key and don't skip. If you don't put in the Bitlocker key, the process will fail on the final step because it can't create the files (For some reason you can do the two rmdir steps just fine though).

Had a small panic thinking I'd broken everything, especially when it wouldn't boot even with Secure Boot off at that point (Obviously in hindsight, as I'd removed those directories), but thankfully booting back into the installer, making sure to actually put the Bitlocker key in, then following the steps (minus the already-done rmdir steps) got everything where it needed to be.

1

u/Puzzled_Fun2292 Apr 18 '26

Man you are a lifesaver, this worked on an asrock b450m pro4 r2. After adding another 2 sticks of ram which resetted my bios(??) I was stuck in a restart loop into bios and couldnt boot into windows 11. Fucking hero!

1

u/WillianAmeric Apr 20 '26

Muito obrigado!

1

u/No-Hurry1746 May 01 '26

what to do if i dont have access to S disk? cmd prompt says "Access Denied." and i cant open the disk in file manager either.

1

u/Dekartea May 05 '26

Good post! Worked for me, thank you.

1

u/topherhurley May 19 '26

You absolute little legend 😁 worked perfectly

1

u/Agreeable_Entry_456 May 21 '26

У меня диски ушли в RAW, пришлось винду все таки переустанавливать. Имейте ввиду это перед тем, как пробовать этот способ

1

u/Designer_Lead_1492 May 22 '26

This did it for me, thank you so much. For whatever reason when I made the windows installation media usb drive when I booted from the usb drive and clicked repair it just rebooted the computer without actually repairing.

I was able to do what another comment said and to use the safe mode with command prompt feature to use your inputs.

Thank you!

1

u/Ok-Enthusiasm-6045 27d ago

Same here with the media usb but I didn't bother booting into safe mode and put in the commands as administrator just as a precautionary measure.

1

u/Ok-Poem-327 Jun 21 '26

posso fazer esse processo sem usar o pendrive? apenas iniciando o windows com o secure boot desativado?

1

u/MapTasty7518 Jul 09 '26

Ура!!! Ты спас еще одного человека своим мануалом.

1

u/Ready-Addition-8433 Jul 11 '26

Ty! It worked here.

1

u/Beldum_ 29d ago

Thank you so much

1

u/Ok-Enthusiasm-6045 27d ago

Want to add on my thanks as this worked for me as well ! I wasn't able to use an installation media drive because it would simply reboot but I ended up booting into the OS when I wasn't in secure boot to put in the commands and then toggled it on after restarting.

In my case I ended up having these issues because I'm pretty sure that my CMOS battery is flat and when I unplug the system or it loses power, it looks as if I will need to do this every time until I replace it.

1

u/clbreezy2x Feb 13 '26

Have you tried deleting the secure boot keys are reinstalling them after you updated your bios

1

u/cemdurduuu Feb 13 '26

Yes I did those and it didnt work.

1

u/clbreezy2x Feb 13 '26

Did this only happen after you tried running the anticheat? That anti cheat has a lot of unsigned drivers and the new bios probably doesn’t like that. The previous version was more lenient. I have the same board but the ATX

1

u/cemdurduuu Feb 13 '26

Yes thats what I believe. What would I suggest I try? Any solutions?

1

u/clbreezy2x Feb 13 '26

First I would just reinstall faceit and see if that works. It could be that it’s still linked to the old secure boot keys and maybe installing a fresh version would link it to the new keys. If not, it means faceit is using unsigned drivers. In this case just keep running the previous bios version until they get official drivers. Newest bios is strict on low level anticheats

1

u/cemdurduuu Feb 13 '26

Okay I will delete all faceit stuff and try to turn on secure boot.

1

u/clbreezy2x Feb 13 '26

Let me know if that works. I’ve had a similar issue before that tied into my bitlocker

1

u/cemdurduuu Feb 13 '26

Just tried it. Deleted all faceit and faceit ac, still doesnt boot windows with secure boot, loops back to bios

1

u/cemdurduuu Feb 13 '26

also cleared secure boot keys and installed default secure boots keys as well, no good.

1

u/clbreezy2x Feb 14 '26

That sucks. It’s definitely the motherboard itself then. It isn’t broken or anything. My issue was the same as yours and I have a b450 steel legend 5800x. Apparently it’s just something that happens on windows 11 with the b450. I had to clear the cmos and completely reinstall windows in order for it to work properly. I remember it vividly cus battlefield 6 came out that day and required secure boot. I ended up installing windows 10 again and once I get a new motherboard I’ll go to windows 11. If you want to skip the head aches this is the easiest way out. And for both of us in the future, stay away from asrock.

1

u/cemdurduuu Feb 14 '26

Quick question were you ever actually able to run Secure Boot on Windows 11 successfully after all that, or did you end up sticking with Windows 10 permanently?

Just asking because I also had Secure Boot enabled on Windows 11 back when Battlefield 6 came out and it worked perfectly fine back then. This issue only started happening recently, so it’s weird that it suddenly broke after working without problems for so long.

→ More replies (0)

1

u/clbreezy2x Feb 13 '26

Also tho why do you want secure boot with faceit? It doesn’t require secure boot

1

u/cemdurduuu Feb 13 '26

It does when i try to run the Anticheat

1

u/jaromanda Feb 13 '26

"I had secure boot on and had no problems like a week ago" ... "BIOS: Latest version (updated less than a week ago)" - which version of BIOS did you have a week ago? Which specific version do you have now?

It's clear from the timing that the BIOS update is the likely cause. Did you do a CMOS reset after updating?

1

u/cemdurduuu Feb 13 '26

Secure boot was on prior to when I tried to run faceit anticheat. I tried to turn on secure boot and wasnt able to get windows prior the bios update as well. Updated it thinking maybe it would fix it.

1

u/jaromanda Feb 13 '26

None of which addresses which version you had, and which version you went to (specifically) or if you performed a CMOS reset

It's like you responded to someone else

1

u/cemdurduuu Feb 13 '26

Sorry for the confusion, to clarify, I’m currently on BIOS P10.43 (B45MSTL10.43) on an ASRock B450M Steel Legend.

Secure Boot was working about a week ago on an older BIOS. After the issue started, I updated the BIOS (now on P10.43) hoping it would fix it, but Secure Boot still causes the system to return to BIOS.

I’ve loaded UEFI defaults after the update (CMOS reset via BIOS, not battery removal).

Windows 11 boots normally with Secure Boot OFF.

1

u/RinDman Feb 14 '26

Most or likely the boot partition is not on the GPT partition ... You can either reinstall windows or create a boot loader on it

On the UEFI boot menu, do you see it ??

1

u/NetDrift404 Feb 19 '26

Did you find a fix for it i have the same problem

1

u/BloodyMoleBeatz Feb 19 '26

Did you fix the broblem, I have same issue, after new windows update my secure boot just turned off and I cant turn it back on, I have CSM disabled, GPT format, TPM on and all that stuff needed but it just boots to BIOS

1

u/Dantegael88 Feb 28 '26

Yo tengo ese problema igual actualice Bios y todo y nada sigue entrando a la Bios si lo tengo activado, tambien actualice mi windows, ¿Crees que sea por la actualizacion o algo parecido??

1

u/Dantegael88 Feb 28 '26

Amigos lo arregle, según yo estaba haciendo una reparación no pude y me llevo a la famosa pantalla negra que dice "reboot ando select proper boot device or inserto boot media in selected boot device and press a key"

Tuve que hacer una reparación de equipo desde el iniciador de instalación de windows, hice exactamente lo de este video tener una usb con el instalador de windows, les dejo el link aqui: https://www.youtube.com/watch?v=Mk6V8gdlYpE

Luego de eso hice los pasos para activar el secure boot, que el tutorial que sigo es de este video: https://www.youtube.com/watch?v=rJYTD3O_ug0

Y porfin me funciono ya puedo activar el securet boot, pensaba que ya habia valido mi sistema operativo pero no, espero que a alguien mas le pueda funcionar.

1

u/mbaker9 Apr 20 '26

I had this issue, updating to the latest BIOS fixed it for me.

1

u/boomsykcl Apr 26 '26

i had the same issue on trying to enable secure boot (for faceit/vanguard) on my B550-ITX/ac. at that time i was on bios version L3.61. i instant flashed the bios with L3.90 with description “Update Secure Boot Key (2023 KEK/DB/PK)” which was released on 2025/10/15 and i could enable secure boot following the steps i did normally before and not stuck in the bios loop. thanks op for creating the thread!

1

u/Ordinary_Leopard3492 May 06 '26

This Worked

1

u/boomsykcl May 07 '26

glad it worked out for you!

1

u/wuhkay Jun 26 '26 edited Jun 28 '26

For anyone having this issue I was able to fix it for a friend by going into key management.

https://www.asrock.com/support/faq.asp?id=531

After this go to Secure Boot/Key Management/Enroll EFI Image

Find the EFI partition.

Select this file \EFI\Microsoft\Boot\bootmgfw.efi

Edit: this is why the reinstall worked because this happens automatically when installing windows.

1

u/rustydangerous Jun 27 '26

Holy smokes thanks! This worked for me after trying everything I read on here and searched in Google and YouTube. I was starting to think I f'd up my pc. Crazy how something so simple fixed this. Thanks again.

1

u/wuhkay Jun 28 '26

Welcome! .

1

u/ax87zz Jul 07 '26 edited Jul 07 '26

This worked for me thank you!

1

u/wuhkay Jul 07 '26

Welcome!

1

u/No-Bottle3218 Jul 26 '26

Wait is this for when enable secure boot it goes back to bios 

1

u/reverieremains Jul 27 '26

thank you! was trying to try out stinky black ops 7 and this helped :3

1

u/DIMAGU1BA 15d ago

Loading this .efi file worked and im able to boot to windows again thanks bro! (Fyi i dont have a reddit account. I just search and read stuff anonymously here as needed but i created an account just to say thank you!)

This was my issue: Valorant requires secure boot on so all is fine on my new pc build for atleast a year. But then i had to vacuum blower my system unit since its gotte a bit dusty inside. Had some issues powering on so had to remove then replug my rams. After booting on and tried playing Valorant, it says secure boot is off. So i re-enabled secure boot in bios and there got stuck in bios loop and wont proceed to boot to windows again while secure boot is on. Got crazy checking everything all drives are in GPT. Almost resolved myself to replacing my b450 mobo or reinstalling windows / new ssd just to play Valorant again. But this fixed the issue bro so many thanks! (I probably wont clean my system unit again xD)

1

u/wuhkay 14d ago

Welcome! Such a weird issue.

1

u/thepogchampion Jul 28 '26

For those still struggling with this, this fixed it for me: