How to Harden BIOS Settings for Better Security
In this article
Hardening your BIOS (or UEFI firmware) means locking down the low-level settings that control how your PC boots and who can change it. A hardened BIOS helps prevent unauthorized booting from removable media, firmware tampering, and physical attacks that bypass your operating system's login. You don't need special tools beyond your PC and a little patience. Before you start, back up your important data and note your current BIOS settings (or take photos with your phone) so you can revert if something goes wrong. Also, make sure your PC is plugged in and you have your BitLocker recovery key if you use encryption, because changing firmware settings can trigger a recovery prompt.
What You'll Need
- Your PC's administrator password (Windows login) to access firmware settings from within the OS, or the ability to restart and press the BIOS key.
- A phone or camera to photograph current settings.
- Your BitLocker recovery key (if BitLocker is enabled).
- A wired keyboard (some wireless keyboards don't work in the BIOS).
- The latest BIOS update from your PC or motherboard manufacturer's official support site (optional but recommended before hardening).
Step-by-Step
- Enter the BIOS/UEFI setup. Restart your PC and repeatedly press the setup key during boot—commonly Del, F2, F10, or Esc. The exact key varies by manufacturer; watch the on-screen prompt. On Windows 10/11 you can also use Settings > Update & Security > Recovery > Restart now (under Advanced startup), then choose Troubleshoot > Advanced options > UEFI Firmware Settings. Menu labels can differ slightly by version, device, or region.
- Set a supervisor (administrator) password. This prevents unauthorized changes to BIOS settings. Find the Security tab and look for "Supervisor Password," "Administrator Password," or similar. Use a strong, unique password. Do not set a user password unless you need to restrict booting; a supervisor password is the key protection.
- Enable Secure Boot. In the Security or Boot tab, set Secure Boot to Enabled. This ensures only signed bootloaders run. If your OS was installed in legacy mode, you may need to switch to UEFI mode first—back up data before doing so.
- Disable booting from external media. In the Boot order or Boot options, disable "Boot from USB," "Network Boot," or "PXE Boot" if present. This stops someone from booting a live Linux USB to bypass your OS login. If you occasionally need USB boot, you can re-enable it temporarily.
- Enable TPM (Trusted Platform Module) if available. Under Security, look for "TPM Device" or "PTT" (Intel Platform Trust Technology) and set it to Enabled. This supports BitLocker and integrity measurements. If your PC doesn't have a TPM, skip this step.
- Turn on chassis intrusion detection (if your motherboard supports it). This logs or alerts when the case is opened. It's usually under Security or Advanced. Not all consumer boards have it; if you don't see it, move on.
- Disable unused ports and features. In Advanced or Peripherals, disable unused devices like the front USB ports, card readers, or Wi-Fi/Bluetooth if you don't use them. This reduces attack surface. Be careful not to disable your only keyboard port.
- Set the boot order to your primary drive only. In Boot, make sure your internal drive is first and remove other entries if possible. This prevents accidental or malicious boot from other devices.
- Enable firmware write protection. Some BIOSes have a "BIOS Write Protect" or "Firmware Update" option. Set it to Enabled to prevent unauthorized firmware flashing. You may need to disable it temporarily for official updates.
- Save and exit. Press F10 (or the save key shown) to save changes and restart. Confirm the settings stuck by re-entering the BIOS and checking that your changes are still there.
Common Mistakes
- Forgetting the supervisor password. If you lose it, you may need to clear CMOS (reset the motherboard) to regain access—which also resets all settings. Store the password safely.
- Enabling Secure Boot on a legacy installation. This can make Windows unbootable. Check your OS is UEFI-installed first (run
msinfo32and look at BIOS Mode). - Disabling too many ports. You might disable the USB port your keyboard uses, leaving you unable to navigate the BIOS. Use a wired keyboard on a known-working port.
- Not updating BIOS first. Older firmware may have bugs or missing security options. Update from the manufacturer's official site before hardening.
- Ignoring BitLocker. Changing Secure Boot or TPM settings can trigger BitLocker recovery. Have your key ready.
Tips
- Take photos of every screen before changing anything—especially the Boot and Security tabs.
- Write down your supervisor password and keep it in a safe place, not on a sticky note on the monitor.
- After hardening, test that your PC boots normally and that you can still enter the BIOS with your password.
- If you use a laptop, check the manufacturer's documentation for model-specific security features like fingerprint or smart card pre-boot authentication.
- Revisit these settings after major hardware changes or BIOS updates, as some updates reset settings to default.
Troubleshooting
- PC won't boot after changes: Re-enter BIOS (if possible) and load optimized defaults, then reapply changes one at a time. If you can't enter BIOS, clear CMOS by removing the coin-cell battery for a few minutes (with power off) or using the clear-CMOS jumper—consult your motherboard manual.
- Forgot supervisor password: You'll need to clear CMOS, which resets all settings. Data on drives is not affected, but you'll lose your custom settings.
- Secure Boot errors: If you see "Secure Boot Violation," your bootloader may be unsigned or your OS is in legacy mode. Disable Secure Boot temporarily, convert your OS to UEFI (using Microsoft's MBR2GPT tool), then re-enable.
- BitLocker recovery prompt: Enter your recovery key. If you don't have it, you may need to reinstall Windows—data loss is likely. Always back up your key.
- Keyboard not working in BIOS: Try a different USB port (preferably USB 2.0) or a wired keyboard. Some BIOSes have a "USB Legacy Support" option that must be enabled for older keyboards.
Frequently Asked Questions
Do I need to harden BIOS on a home PC?
Yes, it adds a layer of protection against physical attacks and firmware tampering, especially on laptops that leave the house. It's a recommended basic security step.
Will hardening BIOS slow down my PC?
No. These settings affect security and boot behavior, not performance. Disabling unused ports might even reduce overhead slightly.
Can I undo these changes?
Yes, you can re-enter BIOS and revert any setting, or load optimized defaults. Just remember your supervisor password.
What if my BIOS doesn't have Secure Boot?
Older systems may lack it. In that case, focus on setting a supervisor password and disabling external boot. Consider upgrading to a newer system for better security.
Does a BIOS password encrypt my drive?
No. A BIOS password only restricts access to firmware settings. For data encryption, use BitLocker or another full-disk encryption tool.
Is it safe to disable unused ports?
Generally yes, but be careful not to disable ports you need, like the one for your keyboard or mouse. Test after each change.