To enable Secure Boot on an X99 P4 motherboard, you must first disable CSM (Compatibility Support Module) and ensure your boot drive is formatted as GPT (GUID Partition Table). Secure Boot is a security standard that ensures a device boots using only software that is trusted by the Original Equipment Manufacturer (OEM), preventing rootkits and unauthorized bootloaders from loading during the startup process.

What You'll Need

  • A keyboard connected via USB (some wireless keyboards may not be recognized in the BIOS).
  • A monitor connected to the motherboard or GPU that supports UEFI output.
  • An operating system installed on a GPT partition (Secure Boot will not work with MBR partitions).
  • Administrative access to the computer.

Step-by-Step

  1. Enter the BIOS/UEFI Menu: Restart your computer. As soon as the screen lights up, repeatedly press the Delete key or the F2 key (depending on your specific X99 P4 board revision) until the BIOS setup utility appears. Note that menu labels can differ slightly by version, device, or region.
  2. Disable CSM (Compatibility Support Module): Navigate to the Boot tab or the Advanced settings. Look for a setting labeled "CSM Support" or "Compatibility Support Module." Change this setting from Enabled to Disabled. Secure Boot requires a pure UEFI environment; if CSM is enabled, the system is running in a legacy mode that is incompatible with Secure Boot.
  3. Verify Storage Mode: While still in the BIOS, ensure your SATA mode is set to AHCI. This is typically found under the Advanced or Storage configuration menu. Secure Boot and UEFI booting are designed to work with AHCI for modern SSDs and HDDs.
  4. Locate the Secure Boot Menu: Navigate to the Security tab or the Boot tab. Look for a sub-menu specifically labeled "Secure Boot." Select it to enter the Secure Boot configuration page.
  5. Change Secure Boot Mode: You will likely see a setting for "Secure Boot Mode." It is usually set to "Standard." If you are using a standard Windows installation, leave it on Standard. If you are using a custom Linux distribution or specific hardware that requires custom keys, you may need to change this to "Custom," though this is not recommended for most users.
  6. Enable Secure Boot: Find the "Secure Boot" toggle (which may be labeled "Secure Boot Enable") and change the value from Disabled to Enabled.
  7. Manage Key Enrollment: If the BIOS warns that "Secure Boot can be enabled only when Platform Key (PK) is enrolled," look for an option nearby called "Install Default Secure Boot Keys" or "Restore Factory Keys." Select this option and confirm. This loads the necessary certificates from the motherboard manufacturer into the NVRAM so the system can verify the bootloader.
  8. Save and Exit: Navigate to the Save & Exit tab. Select "Save Changes and Reset" or press the F10 key. The system will reboot.
  9. Verify in Windows: Once the operating system loads, press the Windows Key + R, type "msinfo32", and press Enter. In the System Information window, look for "BIOS Mode" (should say UEFI) and "Secure Boot State" (should say On).

Common Mistakes

The most frequent error is attempting to enable Secure Boot while CSM is still active. Because CSM allows the system to emulate an older BIOS environment for legacy hardware, it fundamentally conflicts with the UEFI-only requirement of Secure Boot. If you disable CSM and your computer boots directly back into the BIOS instead of Windows, it means your boot drive is using the MBR partition style rather than GPT. You cannot simply flip a switch to fix this; you must convert the disk to GPT or reinstall the OS.

Another common mistake is failing to install the default keys. Many users enable the Secure Boot toggle but forget to "Install Default Keys." Without these keys, the motherboard has no reference point to determine what software is "trusted," and the system may either fail to boot or ignore the Secure Boot setting entirely despite it being marked as "Enabled" in the menu.

Some users also attempt to enable Secure Boot with an older graphics card that does not support UEFI GOP (Graphics Output Protocol). If your GPU is very old, disabling CSM will result in a black screen because the card cannot communicate with the UEFI BIOS. In this case, you would need to update the GPU firmware or use a newer card to proceed.

Tips

Before making these changes, it is highly recommended to create a system restore point or a full system backup. While changing BIOS settings is generally safe, a mismatch between the boot mode (UEFI) and the disk partition (MBR) can make the system unbootable until settings are reverted.

If you are planning to install Windows 11, remember that Secure Boot is a prerequisite, but TPM 2.0 is also required. On X99 P4 boards, you may need to look for a setting called "PTT" (Platform Trust Technology) or "Intel Trusted Execution Technology" in the Security or Advanced menu to enable the firmware-based TPM equivalent.

When working in the BIOS, avoid using the "Load Optimized Defaults" option after you have already configured your Secure Boot keys, as this may reset the keys to a blank state or re-enable CSM, undoing all your progress.

Troubleshooting

If the system fails to boot after disabling CSM and enabling Secure Boot, the first step is to clear the CMOS. This can be done by removing the coin-cell battery from the motherboard for 30 seconds while the power is unplugged, or by using the CMOS clear jumper. This will return the BIOS to factory settings, re-enabling CSM and allowing you to boot back into your OS to check your partition style.

If you are stuck in a "Boot Loop" where the PC restarts and immediately enters the BIOS, check your boot priority. Navigate to the Boot tab and ensure that "Windows Boot Manager" is set as the primary boot device. If you only see the name of your hard drive (e.g., "SATA6G_1: Samsung SSD") and not "Windows Boot Manager," the drive is likely MBR and cannot boot in UEFI mode.

If you encounter a "Secure Boot Violation" error on startup, it means the bootloader has been modified or is not signed by a trusted authority. This often happens after certain types of system updates or when using third-party boot managers. To fix this, go back into the BIOS, set Secure Boot to "Custom," and then select "Clear Secure Boot Keys" followed by "Install Default Keys" to refresh the trust chain.

If your monitor remains black after disabling CSM, your GPU likely lacks UEFI support. You will need to re-enable CSM to get a display back. To resolve this permanently, check the GPU manufacturer's website for a UEFI firmware update tool, or upgrade to a GPU that natively supports UEFI.

Frequently Asked Questions

Does enabling Secure Boot slow down my computer?

No, Secure Boot does not impact system performance. It only performs a signature check during the initial handover from the firmware to the operating system bootloader, which takes a fraction of a second.

Can I still use Linux with Secure Boot enabled?

Yes, most major distributions like Ubuntu and Fedora include a signed bootloader (shim) that is recognized by the standard Microsoft keys included on X99 P4 boards. Some smaller distributions may require you to manually enroll their keys in "Custom" mode.

What happens if I enable Secure Boot on an MBR disk?

The system will be unable to find a bootable device. Because Secure Boot requires UEFI mode, and UEFI mode requires a GPT partition to boot, the BIOS will skip the MBR disk and either enter the BIOS menu or display a "No bootable device found" error.

Is Secure Boot the same as TPM?

No. Secure Boot ensures that only trusted software starts the PC, while TPM (Trusted Platform Module) is a hardware-level chip (or firmware equivalent) used for encryption, such as BitLocker, and storing cryptographic keys.

Can I disable Secure Boot after it is enabled?

Yes, you can return to the BIOS at any time and change the Secure Boot setting back to Disabled. This is often necessary when booting from specialized recovery tools or older diagnostic software that is not digitally signed.