HP · HP PC startup and diagnostic error codes

021: Operating system boot mode change (Secure Boot disabled)

Try first, may need helpLast checked: October 23, 2026

What does this code mean?

The BIOS noticed that Secure Boot has been turned off. If you or your IT team made that change on purpose, you can confirm it. If nobody did, it could be a sign of tampering.

Before you start

Back up important files before any big step such as a reset or restore. Don't download 'repair' programs suggested online; use only official tools from Microsoft, Apple, Google or your device maker. On work or school devices, ask your IT admin first.

Likely causes

  1. Secure Boot was turned off in BIOS Setup on purpose
  2. A tool or person changed the boot mode without your knowledge

Steps you can try

Did that fix it?

When to get help

If the message keeps returning and you did not change anything, contact your IT administrator or HP Support.

Differences between versions

Mostly seen on business models with HP security features; on work PCs, tell IT before changing anything.

Sources

This page is based on official sources from Microsoft, Apple, Google and other makers, written in our own words. Code meanings can differ between versions.