How to Set a Password on Computer Startup in Windows

How to Set a Password on Computer Startup in Windows

Your Windows password is checked only after the system has loaded and protects nothing but your sign-in. To make a PC or laptop refuse to start Windows without a password, you need a password on computer startup: in the UEFI (BIOS), in BitLocker or with a boot protection program such as Disk Password Protection.

In short
  • Windows password or PIN: protects the sign-in, not the files.
  • BIOS/UEFI password: free, but stored in the computer, not on the drive.
  • BitLocker startup PIN: encrypts the system drive, only in Windows Pro, Enterprise and Education.
  • Disk Password Protection: a boot password on the drive itself, in any edition, Home too. It does not encrypt.

Startup password options compared

Method When it asks Drive in another PC Available
Windows password or PIN at sign-in, after Windows loads files readable if not encrypted every edition
BIOS/UEFI password at power-on no password asked any OS, free
Hard drive (HDD) password at power-on drive stays locked some laptops and drives
BitLocker startup PIN before Windows boots data stays encrypted Pro, Enterprise, Education
Disk Password Protection after BIOS/UEFI, before Windows asked when it boots from this drive every edition, Home too
Windows password or PIN (Windows Hello) Set in Settings > Accounts > Sign-in options. Windows loads first, so files on an unencrypted drive stay readable from a USB stick or another PC.
BIOS/UEFI password A supervisor password locks the settings (boot order, USB boot, Secure Boot); a power-on password is asked at every start. Desktops: often reset with the CMOS battery or a jumper; laptops: harder.
Hard drive (HDD) password The firmware of some laptops sets it on the drive itself. Support depends on the model, and a forgotten one is very hard to recover from.
BitLocker with a startup PIN The PIN must be allowed in Group Policy and added separately; keep the recovery key safe. Windows Home only has Device encryption, usually without a PIN.

Boot password with Disk Password Protection

Disk Password Protection writes the boot password to the drive itself and asks for it after the BIOS/UEFI starts, before Windows loads.

Good at
  • Any Windows edition, including Home; BIOS and UEFI, MBR and GPT
  • Still asked when the drive boots in another PC and after uninstalling the program
  • Stealth mode: no password screen, the PC looks frozen
  • On and off in seconds, without reinstalling Windows
Limits
  • Does not encrypt the drive
  • Booting from a USB stick skips the password
  • No master password, only your hint

This is not encryption. Booted from a USB stick or connected to another PC as a second drive, the disk is readable without the password. Block USB boot and encrypt the data, as shown below.

BIOS password vs Windows password: which one do you need?

Keep others out of your account A Windows password or PIN is enough.
No boot without a password A UEFI power-on password, or Disk Password Protection when the password should stay with the drive or on Windows Home.
Protect the files Encryption: BitLocker, Device encryption or Cryptic Disk for data partitions and external drives.

For important data, combine the methods: see How to protect your laptop and data from unauthorized access.

How to set a password on computer startup with Disk Password Protection

Install boot protection

Install and start the program

Get it from the download page, run the standard setup wizard and start the program from the Start menu.

Select the boot drive

Under "Drives and partitions", the drive Windows starts from is marked as "Bootable drive". Select it and click "Install boot protection..." in the "Basic Tasks" panel, or right-click the drive and choose the command.

Disk Password Protection main window with the list of drives and partitions
Set the password

Type it in "Enter password" and "Repeat password". You'll type it at every start, so pick a memorable passphrase (How long should a password be).

The optional "Password hint" is shown only when you remove the protection, not at boot. "Edit welcome message" changes the prompt text (Latin characters only).

Boot protection wizard: entering the boot password
Click "OK"

The program installs the protection and reports the result.

If Windows or another operating system starts from a removable drive, install the protection on that drive.

The program can also hide partitions behind a password: How to hide a disk partition.

Check that it works

Restart the computer. Right after the BIOS (or UEFI) starts, a password prompt appears. Type the password and press Enter to start Windows. The prompt returns at every boot until you remove the protection.

Password prompt before Windows starts
The boot password prompt

Stealth mode

Tick “Enable hidden protection mode” in the wizard, and the screen stays blank while you type: the computer looks frozen, so nobody can tell it is protected. The correct password and Enter still boot Windows.

Boot protection wizard with the hidden protection mode option
The hidden protection mode option

Remove boot protection

Choose the command

In Disk Password Protection, right-click the protected drive and choose the command to remove boot protection. The same menu changes the boot password.

Enter the password

Enter the password and confirm. Windows now starts without asking for it.

How to make the protection stronger

For sensitive data, add two steps to the boot password:

Lock the UEFI (BIOS) Set a supervisor password and disable booting from USB and other external devices (or put the internal drive first in the boot order).
Encrypt the data The system drive with BitLocker or Device encryption; data partitions, external drives and containers with Cryptic Disk.

On UEFI computers, boot protection in Disk Password Protection 5.6 works together with BitLocker.

FAQ

How do I set a password on computer startup without extra software?

In the UEFI (BIOS): open the setup with the key shown at power-on (often Del or F2), go to Security and set a power-on (user) and a supervisor password. Menu names vary by manufacturer. On Windows Pro, BitLocker with a startup PIN also works.

What if I forget my startup password?

BitLocker: use the recovery key. BIOS password: on a desktop, usually cleared with the CMOS battery; a laptop may need a service center. Disk Password Protection has no master password, so set a hint in advance.

Can a startup password be reset or bypassed?

A Disk Password Protection boot password survives a BIOS reset, uninstalling the program and moving the drive to another computer, but booting from USB skips it: block that with a UEFI password. A BIOS password is often reset on desktops. Only encrypted data stays unreadable without the password or recovery key.

Does the boot password work with Windows 11, UEFI and Secure Boot?

Yes. Disk Password Protection 5.6 supports Windows 11, 10, 8.1, 8 and 7 SP1 (Home too), Windows on ARM (64-bit), BIOS and UEFI, MBR and GPT. Its UEFI modules are signed with Microsoft UEFI CA 2023 and work with Secure Boot on. On some Secured-core PCs (many Copilot+ PCs are), first allow the Microsoft third-party UEFI CA in the UEFI settings, with Secure Boot left on. Keep the BitLocker recovery key at hand: changing UEFI settings can trigger recovery. More on the boot protection page.

Try Disk Password Protection free for 30 days

No limitations during the trial. Windows 11, 10, 8.1, 8 and 7 SP1.

Free Trial Pricing & Buy