Secure Boot Policy Violation

Secure Boot Policy Violation? Here's the Real Fix

Windows Errors Intermediate 👁 10 views 📅 Jun 19, 2026

Your PC won't boot because Secure Boot is blocking something. We'll fix it fast—usually a BIOS reset or disabling Secure Boot temporarily.

Yeah, that Secure Boot policy violation message is a pain. Your machine POSTs, then throws a black screen with that warning. It's almost always a mismatch between firmware settings and the OS bootloader. Here's how to kill it.

The Real Fix: Reset BIOS or Disable Secure Boot

  1. Force a BIOS reset. Unplug the power cord, pull the CMOS battery for 60 seconds (laptops: hold power button 30 seconds with battery out). Put it back. Boot. If you see the BIOS prompt after reset, load optimized defaults. This clears any corrupted UEFI variables that Secure Boot is choking on.
  2. If that doesn't work, disable Secure Boot. Enter BIOS (usually F2, Del, or F10 on boot). Look under Boot or Security tabs. Find Secure Boot, set it to Disabled. Save and exit. Your PC will boot fine. This is a temporary fix—you can re-enable it later if needed.
  3. Still stuck? Change OS type. Some BIOS menus have an "OS Type" or "Boot Mode" setting. Set it to 'Other OS' or 'UEFI with CSM' instead of 'Windows UEFI Mode'. This tells Secure Boot to relax its checks.

Why This Happens

Secure Boot checks every bootloader file against a whitelist of valid signatures. If you've updated your BIOS, swapped hard drives, or installed a fresh OS from a USB that wasn't created with the official Media Creation Tool, the signatures won't match. The error is the firmware saying “I don't trust this bootloader.” Resetting the BIOS clears the stored signatures, letting it start fresh. Disabling Secure Boot turns off the check entirely—it's safe for most home users.

Less Common Variations

Gigabyte Motherboards

Gigabyte boards are notorious for this on Windows 11. The culprit? A setting called 'Secure Boot Mode' that defaults to 'Standard' but needs to be 'Custom' then 'Standard' again. Seriously. Go to BIOS > Boot > Secure Boot > change from Standard to Custom, then back to Standard. Save and exit. It reinitializes the key database.

ASUS / ASRock Boards

These sometimes have a 'OS Type' option under Secure Boot. If it's set to 'Windows UEFI mode', change it to 'Other OS' temporarily. That bypasses the policy check. You can switch back after booting.

After Installing Linux

Dual-boot with Linux? Fedora and Ubuntu sign their bootloaders (shim), but older distros or custom kernels don't. You'll see the error on first boot after install. Fix: disable Secure Boot during install, then after boot, install shim-signed and re-enable Secure Boot. Or just keep it disabled.

Corrupted Bootloader on Windows

If you can't even get to BIOS (rare), try a bootable USB with Windows PE. Boot from USB, open command prompt (Shift+F10), then run:

diskpart
list disk
select disk 0
list partition
select partition X (where X is your EFI partition, usually 100MB)
assign letter=S:
exit

bcdboot C:\Windows /s S: /f UEFI

Replace C: with your actual Windows drive letter. This rebuilds the bootloader with valid signatures. Remove USB and reboot.

How to Prevent This in the Future

  • Always use official installation media. Microsoft's Media Creation Tool or the official ISO. Third-party tools like Rufus sometimes strip Secure Boot signatures unless you explicitly keep them.
  • Update your BIOS only when needed. Every BIOS update resets Secure Boot keys. If you update, plan to re-enable Secure Boot after.
  • Keep a bootable USB handy. A Windows PE USB with Diskpart and BCDboot can fix bootloader issues in 5 minutes. Store it in your desk drawer.
  • Document your BIOS settings. Before changing anything, snap a photo of the Secure Boot and Boot pages. Saves you a headache later.

That's it. Nine times out of ten, the CMOS battery trick or disabling Secure Boot gets you back up in under two minutes. Don't overthink it.

Was this solution helpful?