notes

Turning Secure Boot off, before booting the nife stick on a PC

Name: provisional, minted 2026-10-18 (UTC) by maintainer/500-secure-boot-ruled.

This is the first instruction of the trivial-install page (milestone 802 (the trivial install that makes a second customer possible), rung 4), written so the page can carry it as it stands. Milestone 500 (a stick that boots with Secure Boot on, or a page that says how to turn it off) holds the ruling behind it: nife does not sign its boot file, so a stranger turns Secure Boot off. Everything a vendor's menu is said to contain below cites the vendor page it was read from, and the sources list gives the date each was read. What was not confirmed is marked where a reader meets it.

Why this step exists. Secure Boot is a firmware setting that lets a PC start only boot files signed by a key the firmware trusts. Most PCs sold with Windows ship with it on (HP states this for every HP computer made with Windows 11 [hp]). nife's boot file, \EFI\BOOT\BOOTX64.EFI on the stick, is not signed, so with Secure Boot on the PC refuses it, often with a message about a security violation (notes/x86-uefi-boot.md, as seen on a Dell).

1. Before you change anything, get your BitLocker recovery key

If Windows on this PC uses BitLocker or Device Encryption, changing a firmware setting can make Windows ask for a 48-digit recovery key the next time it starts. Without that key, Windows and every file on its disk stay locked. Microsoft cannot give it to you. In Microsoft's own words, "Microsoft Support doesn't have the ability to retrieve, provide, or recreate a lost BitLocker recovery key" [ms-key].

What Microsoft documents, and why it applies here:

What to do, in Windows, before restarting:

  1. Open Settings → Privacy & security → Device encryption [ms-de]. If the switch is on, or your PC shows BitLocker as on, continue. If neither page exists, the disk is likely not encrypted, and you can go to step 2.
  2. Find the recovery key and write it down somewhere other than this PC. For a personal PC it is usually in your Microsoft account at aka.ms/myrecoverykey; on a work or school PC it is held by that organization, at aka.ms/aadrecoverykey [ms-key]. It may also be on a printout or a USB stick from when encryption was set up [ms-key]. On a work or school PC, ask the people who run it before changing its firmware at all.
  3. Optionally, suspend BitLocker protection first. Microsoft documents suspending for planned firmware changes: the drive stays encrypted, and protection resumes on its own at the next restart [ms-ro]. Not confirmed: whether Windows Home shows a suspend control for Device Encryption was not read. Having the key written down is the step that matters.

If Windows does ask for the key after you return to it, type it in. Windows then starts normally.

2. Open the firmware settings

Either way works:

3. Turn Secure Boot off

Find your PC's maker below. "Read" means the vendor's page was read in full; "excerpt" means only a search engine's excerpt of the vendor's page was read, because the page itself could not be fetched. A row marked "Read" says what the page says, and a step the page does not give is marked not confirmed in the row.

Maker Setup key Where the setting is, and what to choose Boot menu key Source
Dell F2 at the Dell logo Secure Boot → Secure Boot Enable: clear it, or set Secure Boot to Disabled F12 Read [dell-sb], [dell-f12]
HP consumer laptop Esc, then F10 System Configuration → Boot Options → Secure Boot → Disabled, then F10 to save Esc, then F9 Read [hp]
HP business laptop or workstation Esc, then F10 Security → Secure Boot Configuration: clear Secure Boot, then Main → Save Changes and Exit Esc Read [hp]
HP desktop F10 Security → Secure Boot Configuration, press F10 at the message, set Secure Boot to Disable Esc Read [hp]
Lenovo ThinkPad, ThinkCentre, ThinkStation F1 at the logo Security → Secure Boot → Secure Boot: Disabled, then F10 not read Read [lenovo-think]
Lenovo IdeaPad and other consumer models F2 or Fn+F2, pressed repeatedly; or F12, then choose to enter setup from the Boot menu; or the Novo button, then BIOS Setup Not confirmed: Lenovo's page says how to enter setup and nothing about Secure Boot, and no Lenovo-owned IdeaPad page naming the setting was found F12 Read [lenovo-idea]
ASUS laptop hold F2, then press power F7 for Advanced Mode, then Security → Secure Boot → Secure Boot Control: Disabled, then F10 not read Read [asus-nb]
Acer laptop F2 at the logo Security: set a supervisor password; then Boot → Secure Boot: Disabled, then F10. Acer advises removing the supervisor password afterward. Not confirmed: the page sits behind a bot check and could not be read not read Excerpt [acer]
Microsoft Surface Hold volume-up, press and release power, keep holding until the setup screen appears Security → Secure Boot → Change Configuration. Microsoft says Secure Boot can be disabled there [ms-surface-mgmt], but its consumer pages show only the keyset "Microsoft only", the on setting [ms-surface-red], so the name of the off choice is not confirmed not read Read [ms-surface-red], [ms-surface-uefi], [ms-surface-cert], [ms-surface-mgmt]
MSI laptop Delete at the MSI logo Security → Secure Boot → Disable, then F10 F11 at the MSI logo Read [msi-nb]
MSI desktop motherboard not read Security → Secure Boot (or Settings → Security → Secure Boot). Not confirmed: MSI's pages give no steps for turning it off not read Read [msi-statement], [msi-z370]
Gigabyte laptop F2 Security → the default Secure Boot setting: Disabled; Save & Exit → Save Changes → Yes; then Security → Delete All Secure Boot Variables → Yes, then OK to restart not read Read [gigabyte-nb]
Gigabyte desktop motherboard Delete Advanced Mode → Boot → Secure Boot. Not confirmed: Gigabyte's page gives steps for turning it on only not read Read [gigabyte-mb]
Anything else often F1, F2, F12 or Esc "usually in either the Security tab, the Boot tab, or the Authentication tab" varies Read [ms-sb]

Notes on the rows added from the vendor pages:

Two warnings that hold on every PC:

4. Check, then boot the stick

To confirm from Windows, run msinfo32; Secure Boot State reads Off [dell-sb], [asus-nb]. Then put the stick in, restart, press the boot menu key from the table, and choose the USB stick.

What turning it off costs

BUGS

Sources

Each was read on 2026-10-18 (UTC), in full unless the table above says excerpt, except the entries marked 2026-10-21 (UTC) (the Lenovo IdeaPad page and every Surface, MSI and Gigabyte entry).