Multi-vendor guide for setting UEFI/BIOS administrator passwords.
UEFI/BIOS password provides the first layer of boot security by protecting firmware settings and preventing unauthorized boot device changes. This complements GRUB password protection for defense-in-depth.
- ✅ Blocks BIOS/UEFI settings access
- ✅ Prevents boot device order changes
- ✅ Blocks USB boot attacks
- ✅ Prevents firmware downgrades
- ✅ Protects Secure Boot settings
- ❌ Normal boot process (unless explicitly configured)
- ❌ Disk encryption (use LUKS for that)
- ❌ Operating system access (use user passwords for that)
Protects: All BIOS/UEFI settings Recommendation: Set this first Use case: Full administrative control
Protects: System boot (blocks POST) Recommendation: Only for high-security scenarios Warning: Can prevent remote reboots and server recovery
Protects: Drive access at firmware level Recommendation: Only if no LUKS encryption Warning: Lost password = lost data (no recovery)
Example Hardware: ASRock DeskMini X600
-
Enter UEFI:
- Press
F2orDELduring boot - Look for "Press F2 to enter Setup" message
- Press
-
Navigate to Security:
- Use arrow keys to navigate to "Security" tab
- Or search for "Administrator Password"
-
Set Password:
- Select "Administrator Password"
- Press Enter
- Enter password twice
- Password requirements: Usually 8-20 characters
-
Save and Exit:
- Press
F10to save - Confirm: "Save configuration changes and exit?"
- System will reboot
- Press
-
Verify:
- On next boot, enter UEFI again (F2/DEL)
- Should prompt for Administrator password
Example Hardware: Dell Latitude, OptiPlex Micro
-
Enter BIOS:
- Press
F2during Dell logo - Or
F12→ "BIOS Setup"
- Press
-
Navigate to Security:
- Click "Security" in left menu
- Or navigate with arrow keys
-
Set Admin Password:
- Select "Admin Password"
- Enter new password
- Re-enter to confirm
- Password requirements: 4-32 characters
-
Optional - System Password:
- "System Password" blocks boot (not recommended for servers)
-
Save:
- Click "Apply" then "Exit"
- Or press
F10
-
Verify:
- Re-enter BIOS
- Should prompt for Admin password
Example Hardware: HP EliteDesk 800 G6
-
Enter BIOS:
- Press
F10during boot - Or
ESCthenF10
- Press
-
Navigate to Security:
- Use arrow keys to "Security" menu
- Or "Advanced" → "Security"
-
Set Administrator Password:
- Select "Setup Password" or "Administrator Password"
- Enter password
- Confirm password
- Password requirements: 8-32 characters
-
Save:
- Press
F10to save and exit - Confirm with
Yes
- Press
-
Verify:
- Enter BIOS again
- Should prompt for password
Example Hardware: Lenovo ThinkCentre M720q
-
Enter BIOS:
- Press
F1during Lenovo logo - Or
EnterthenF1
- Press
-
Navigate to Security:
- Use arrow keys to "Security" tab
- Or "Config" → "Security"
-
Set Supervisor Password:
- Select "Password" → "Supervisor Password"
- Press Enter
- Enter password twice
- Password requirements: 5-128 characters
-
Optional Settings:
- "Power-On Password" - Blocks boot
- "Hard Disk Password" - Locks drive
-
Save:
- Press
F10 - Confirm: "Setup Confirmation - Save configuration?"
- Press
-
Verify:
- Re-enter BIOS
- Should prompt for Supervisor password
- Ensure system has AC power (not just battery)
- Have password ready (write it down temporarily)
- Close all applications before reboot
Common keys:
F2- Most systems (ASUS, ASRock, Acer)F10- HP systemsF1- Lenovo ThinkPad/ThinkCentreDEL- Desktop motherboardsF12→ "BIOS Setup" - Dell systemsESCthenF10- Some HP systems
Tip: Watch boot screen for "Press X to enter Setup" message.
Common locations:
- "Security" tab (top menu)
- "Advanced" → "Security"
- "Configuration" → "Security"
- Search for "Password" or "Administrator"
- Select "Administrator Password" or "Supervisor Password"
- Press Enter
- Enter password twice
- Confirm with Enter or OK
- Press
F10(most systems) - Or select "Save Changes and Exit"
- Confirm when prompted
- Reboot
- Enter UEFI/BIOS again
- Should prompt for password before entry
- Minimum: 12 characters
- Recommended: 14-16 characters
- Include: Uppercase, lowercase, numbers, symbols (if supported)
Uefi!Secure#2026$Boot
Why strong?
- 21 characters
- Mixed case
- Numbers and symbols
- Not dictionary word
Do NOT:
- Store in BIOS notes field
- Write on sticky note on case
- Save in plaintext file
Do:
- Use password manager (Vaultwarden, Bitwarden)
- Store in encrypted vault
- Document in secure disaster recovery plan
- Consider printed copy in safe
Consequences:
- Cannot access BIOS/UEFI settings
- Cannot change boot device
- System still boots normally
Solutions (Ordered by Difficulty):
-
Contact Manufacturer Support:
- Some vendors provide master passwords
- Requires proof of ownership
-
CMOS Reset (Desktop):
- Power off system
- Disconnect AC power
- Remove CMOS battery (usually CR2032)
- Wait 5-10 minutes
- Replace battery
- Password cleared, but BIOS settings reset
-
CMOS Jumper Reset:
- Some motherboards have CLR_CMOS jumper
- Move jumper to clear position
- Wait 10 seconds
- Move back to original position
-
Service Center (Laptops):
- Laptops often store passwords in security chip
- Cannot be reset by CMOS battery removal
- Requires service center intervention
UEFI password is meaningless without physical security:
- ✅ Lock server room
- ✅ Secure rack access
- ✅ Monitor physical access logs
- ✅ Use security cameras
UEFI Password Defends Against:
- Casual unauthorized access
- Quick boot device changes
- Settings tampering
Does NOT Defend Against:
- Sophisticated attackers with tools
- Firmware exploits (SPI flash programmer)
- Evil maid attacks (need LUKS + Secure Boot)
Defense-in-Depth Strategy:
Layer 1: Physical Security (lock rack)
Layer 2: UEFI Password (blocks firmware)
Layer 3: GRUB Password (blocks boot modification)
Layer 4: LUKS Encryption (protects data)
Layer 5: User Authentication (OS access)
Try:
- Different function keys (F2, F10, F1, DEL)
- Press key repeatedly during boot
- Check if Fast Boot disabled in OS
- Disconnect USB devices (some block BIOS access)
Possible Causes:
- Caps Lock enabled
- Numlock state different from when set
- Keyboard layout changed (DE vs US)
- Typo when setting password
Solution:
- Reset CMOS (if accessible)
- Contact manufacturer
Rare Issue: Power-On Password set instead of Admin Password
Solution:
- Enter password at boot prompt
- Re-enter BIOS and disable Power-On Password
- ASRock: https://www.asrock.com/support/
- Dell: https://www.dell.com/support/kbdoc/en-us/000134308/bios-passwords
- HP: https://support.hp.com/us-en/document/c03493994
- Lenovo: https://support.lenovo.com/us/en/solutions/ht036206
UEFI password addresses:
- CIS 1.4.1: Bootloader protection (firmware level)
- CIS 1.6.1: Physical access controls
- Custom control: Firmware tampering prevention