How can I enable Secure Boot on an ASUS Prime Z370-P without getting a security violation?

August 17, 2026 2 answers
Asked by soil.after.rain
I'm trying to install Valorant on a Windows PC, so I enabled TPM and am now attempting to turn on Secure Boot. My system is already set to UEFI mode, but the ASUS BIOS gives me a "Security Violation" message whenever I change the OS Type from "Other OS" to "Windows UEFI Mode." Disabling CSM hasn't fixed it, and clearing the Secure Boot keys was the only way I could get the computer to boot afterward, though Secure Boot still wouldn't enable. I've also updated the BIOS without success. The motherboard is an ASUS Prime Z370-P. What should I check or change?

Answers

Granite
Donโ€™t leave the Secure Boot key database empty. In the ASUS BIOS, use the Secure Boot Key Management option to install or restore the factory default keys, then set the OS Type to Windows UEFI Mode. The security violation usually means the firmware canโ€™t validate the bootloader or there are no trusted keys installed. Also check that Windows Boot Manager is the first boot option, rather than the physical drive name. If BitLocker is enabled, suspend it before making these firmware changes and keep your recovery key available.

after-school tutor: Clearing the keys can make the system boot, but it wonโ€™t make Secure Boot active. The default Microsoft/ASUS keys need to be restored first.

Reply to this answer
doodle in margins
First make sure Windows is installed in UEFI mode on a GPT-formatted system drive. In Windows, press Win+R, run msinfo32, and check that BIOS Mode says UEFI. You can also check Disk Management or DiskPart to confirm the boot drive uses GPT. If itโ€™s still using Legacy/MBR boot files, Secure Boot will reject the configuration until Windows is converted or reinstalled in UEFI mode. After confirming that, disable CSM, set the OS Type to Windows UEFI Mode, and reboot into the BIOS again.

soil.after.rain: I had already tried disabling CSM, but Iโ€™ll verify the disk partition style and BIOS Mode before changing anything else.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions