r/ForWindowsHelp • u/Loose_Cranberry_141 • 1d ago
Secure boot not working on windows 11
Hi, I installed windows 11 ltsc IoT without secure boot enabled, now I’ve enabled it on my MSI gaming gen3 motherboard, it refuses to boot. I’ve been trying to fix this for so long and I’m about to go insane. I have played around with the secure boot settings in my BIOS, I’ve updated my bios and etc. here is the error I get when trying to boot with secure boot, it boots 100% normally when i turn secure boot off. Also my partition type is not MBR and I am on UEFI
6
Upvotes
2
u/ALaggingPotato 1d ago
When you change boot settings, you expect to reinstall windows.
Change it back or reinstall Windows with it on
2
u/steveace60 1d ago
Right click Start > Terminal (Admin) Copy and paste the following
[System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI db).bytes) -match ‘Windows UEFI CA 2023’It'll return True or False
1
u/StraightTalkWisdom 16h ago
Error 0xc0430001 is a Secure Boot or code-integrity failure. Windows' boot manager started, but the code-integrity check rejected something, so it stopped at the Recovery screen. Your Secure Boot keys, your BIOS and your boot files are the likely places to look. Reddit and Microsoft Q&A threads describe it as "code integrity failed to initialise".[reddit][learn.microsoft]
What to try, in order
bcdboot C:\Windows /f UEFI. If you're repairing from recovery media instead, usebcdboot C:\Windows /s S: /f UEFI, where S: is the mounted EFI partition. The EFI partition may hold a stale or corrupted code-integrity policy from the original install. This command rewrites it.[learn.microsoft]Fix the keys in BIOS. Go to Security, then Secure Boot, then Key Management.
EFI\Boot\bootx64.efiwith a file called SecureBootRecovery.efi. You boot from it once with Secure Boot disabled, then remove the USB and enable Secure Boot. I haven't verified where that file comes from, so use it only from the source linked in that thread.[learn.microsoft]boot.stlfile. Copy it fromWindows\Boot\EFIon a working install.[windowsforum]Two checks before you start
msinfo32while Windows is running. BIOS Mode should say UEFI. Secure Boot State will say Off for now.