-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Gaming
- Gaming Desktops
- How do i fix this startup error

Create an account on the HP Community to personalize your profile and ask a question
06-05-2026 04:49 PM
Accepted Solutions
06-09-2026 10:39 PM
Turning off secure boot fixed everything. However, I want to be able to play certain games that require secure boot. Is there a way to fix this?
06-05-2026 05:24 PM
Welcome to our HP Community forum!
- Turn off your computer completely.
- Turn it on and immediately tap the F10 key repeatedly until the BIOS/Setup screen appears.
- Use the arrow keys to navigate to the Security tab or the Advanced tab (this varies by model).
- Look for Secure Boot Configuration and open it.
- Change "Secure Boot" from Enabled to Disabled.
- Look for Legacy Support and ensure it is also Disabled (Windows 10/11 requires UEFI, not Legacy).
- Press F10 to Save and Exit.
- Note: If a 4-digit code pops up on a black screen after restarting, type those numbers and press Enter to confirm the change.
- Go back into the BIOS using F10.
- Navigate back to the Secure Boot Configuration.
- Select Key Management or Clear Secure Boot Keys (sometimes listed as "Reset to Factory Defaults").
- Save and exit.
- Turn on the computer and repeatedly tap F10 to enter BIOS again.
- Navigate to the Main or File tab and select Restore Defaults, then choose Yes. (This resets the boot order paths).
- Go to the Configuration or Advanced tab and find Boot Options.
- Ensure OS Boot Manager is listed as the very first item in the UEFI Boot Order list.
- Press F10 to Save and Exit.
- Did disabling Secure Boot successfully get rid of the red error box?
- What results did you get if you ran the F2 Hard Drive Test again?
- What PC are you trying to fix?
06-09-2026 10:46 PM
That's actually a very useful troubleshooting result!
If disabling Secure Boot allows Windows to boot normally, then your hard drive is probably fine and Windows itself is largely intact. The real problem is that Secure Boot does not trust something in the current boot chain.
Since some modern games and anti-cheat systems require Secure Boot to be enabled, yes, I would not leave it disabled permanently if we can avoid it.
Try the following:
- Enter BIOS Setup (F10 at startup).
- Navigate to the Secure Boot configuration menu.
- Look for an option such as:
- Restore Factory Keys
- Load HP Factory Default Keys
- Install Default Secure Boot Keys
- Select that option and save the changes.
- Re-enable Secure Boot.
- Save and restart.
If Windows boots normally afterward, the Secure Boot database was likely corrupted and has now been repaired.
If the Secure Boot Violation returns as soon as Secure Boot is re-enabled, then one of the following is likely true:
- The EFI boot files are damaged.
- The EFI boot files were modified by a third-party utility.
- The system is booting from the wrong EFI partition.
- A previous Windows update or operating system repair left invalid boot signatures behind.
At that point, I would need to know:
- Your exact HP model.
- Whether Windows 10 or Windows 11 is installed.
- Whether BitLocker is enabled.
- Whether the drive was ever cloned, replaced, or moved from another computer.
I can then determine whether the EFI boot files need to be rebuilt before Secure Boot can be turned back on.
Kind Regards,
NonSequitur777