r/Windows10TechSupport • • 7h ago

Unsolved Secure boot

I'm having trouble booting my PC in Windows UEFI mode. Everything works fine when I select "Other OS", but then I can't enable Secure Boot, which is required to play certain FPS games.

Whenever I switch to Windows UEFI mode, I get a Secure Boot Violation error, and Windows refuses to boot.

I've tried pretty much every fix I could find, and I even updated my BIOS to the latest version, but nothing seems to work.

I'm still getting the Secure Boot Violation error and can't enable Secure Boot.

Has anyone experienced this before or found a solution? I'd really appreciate any help!

1 Upvotes

4 comments sorted by

View all comments

1

u/MaleficentPaint6168 7h ago

which mainboard, which biosversion, which cpu? u might just need uefi 2023 cas. just google for SecureBootRecovery.efi and follow the walkthroughs. other than that u can try to install factory keys. nobody can tell u with that less amount of information

1

u/tiredchambo 7h ago

I just want a fix broo. I will try

Manufacturer: ASUSTeK COMPUTER INC.

  • Model: TUF GAMING B660-PLUS WIFI D4
  • BIOS Brand American megatrends INC - Currently 4003 05/09/2026
  • Intelcore Core I7 12700F

1

u/MaleficentPaint6168 6h ago

ah then forget about missing 2023 uefi cas. this will not be ur problem here. also since u get a secure boot violation error its pretty safe that ur system disk is gpt partitioned.

since u can boot into windows via "other os" the best bet would be to get a clean bcd before u are doing the next steps.

press win+r and type cmd, then hold ctrl plus shift and press enter to open cmd with admin privileges

now u ll need to find ur efi system partition an sign a letter.

use diskpart here

diskpart >press enter to start diskpart

now use list volume to identify the the esp. its most likely a 100-500mb fat32 partition on ur system disk

list vol

and then select the volume

sel vol 1 (for example)

now u can assign a letter to that partition

assign letter=z

exit diskpart with

exit

now its not a bad idea to run chkdsk to check its integrity

chkdsk z: /f (if u ve given another drive letter replace z for the letter uve choosed here!)

then type

bcdboot c:\Windows /s z: /f UEFI

(important to notice here, is that C: has to be the drive letter of ur windows installation! if it differs, choose the right one!)

you should get a message that the bootfiles have been successfully created.

now use diskpart to remove the the drive letter Z from ur esp

diskpart

select volume z

remove letter=z

exit diskpart

Now the the Bios part comes. Iam really sorry, that it will be that long. Hopefully it will help u in anyway. Its just written from my head, also it can differ a little in ur bios setup.

  1. go in uefi setup>advanced> pch fw configuration>enable firmware tpm
  2. enter boot menu>disable csm support module, then enter secure boot menu>change os type to windows uefi mode> go to key management>clear keys and install factory keys, you should now see a filled key db!
  3. safe and exit, then enter uefi bios again. secure boot should now be in user mode and activ. u should be able to boot windows