How to Enable a Pre-Boot BitLocker PIN on Windows

how-to-enable-a-preboot-bitlocker-pin-on-windows photo 1

If you encrypt your Windows system drive with BitLocker, you can add a PIN for additional security. You’ll need to enter the PIN each time you turn on your PC, before Windows will even start. This is separate from a login PIN, which you enter after Windows boots up.

A pre-boot PIN prevents the encryption key from automatically being loaded into system memory during the boot process, which protects against direct memory access (DMA) attacks on systems with hardware vulnerable to them. Microsoft’s documentation explains this in more detail.

Step One: Enable BitLocker (If You Haven’t Already)

how-to-enable-a-preboot-bitlocker-pin-on-windows photo 2

This is a BitLocker feature, so you have to use BitLocker encryption to set a pre-boot PIN. This is only available on Professional and Enterprise editions of Windows. Before you can set a PIN, you have to enable BitLocker for your system drive.

Note that, if you go out of your way to enable BitLocker on a computer without a TPM, you’ll be prompted to create a startup password that’s used instead of the TPM. The below steps are only necessary when enabling BitLocker on computers with TPMs, which most modern computers have.

If you have a Home version of Windows, you won’t be able to use BitLocker. You may have the Device Encryption feature instead, but this works differently from BitLocker and doesn’t allow you to provide a startup key.

Step Two: Enable the Startup PIN in Group Policy Editor

Once you’ve enabled BitLocker, you’ll need to go out of your way to enable a PIN with it. This requires a Group Policy settings change. To open the Group Policy Editor, press Windows+R, type “gpedit.msc” into the Run dialog, and press Enter.

Head to Computer Configuration > Administrative Templates > Windows Components > BitLocker Drive Encryption > Operating System Drives in the Group Policy window.

Double-click the “Require Additional Authentication at Startup” Option in the right pane.

how-to-enable-a-preboot-bitlocker-pin-on-windows photo 3

Select “Enabled” at the top of the window here. Then, click the box under “Configure TPM Startup PIN” and select the “Require Startup PIN With TPM” option. Click “OK” to save your changes.

how-to-enable-a-preboot-bitlocker-pin-on-windows photo 4

Step Three: Add a PIN to Your Drive

You can now use the manage-bde command to add the PIN to your BitLocker-encrypted drive.

To do this, launch a Command Prompt window as Administrator. On Windows 10 or 8, right-click the Start button and select “Command Prompt (Admin)”. On Windows 7, find the “Command Prompt” shortcut in the Start menu, right-click it, and select “Run as Administrator”

Run the following command. The below command works on your C: drive, so if you want to require a startup key for another drive, enter its drive letter instead of c: .

manage-bde -protectors -add c: -TPMAndPIN

You’ll be prompted to enter your PIN here. The next time you boot, you’ll be asked for this PIN.

how-to-enable-a-preboot-bitlocker-pin-on-windows photo 5

To double-check whether the TPMAndPIN protector was added, you can run the following command:

manage-bde -status

(The “Numerical Password” key protector displayed here is your recovery key.)

how-to-enable-a-preboot-bitlocker-pin-on-windows photo 6

How to Change Your BitLocker PIN

To change the PIN in the future, open a Command Prompt window as Administrator and run the following command:

manage-bde -changepin c:

You’ll need to type and confirm your new PIN before continuing.

how-to-enable-a-preboot-bitlocker-pin-on-windows photo 7

How to Remove the PIN Requirement

If you change your mind and want to stop using the PIN later, you can undo this change.

First, you’ll need to head to the Group Policy window and change the option back to “Allow Startup PIN With TPM”. You can’t leave the option set to “Require Startup PIN With TPM” or Windows won’t allow you to remove the PIN.

how-to-enable-a-preboot-bitlocker-pin-on-windows photo 8

Next, open a Command Prompt window as Administrator and run the following command:

manage-bde -protectors -add c: -TPM

This will replace the “TPMandPIN” requirement with a “TPM” requirement, deleting the PIN. Your BitLocker drive will automatically unlock via your computer’s TPM when you boot.

how-to-enable-a-preboot-bitlocker-pin-on-windows photo 9

To check that this completed successfully, run the status command again:

manage-bde -status c:

how-to-enable-a-preboot-bitlocker-pin-on-windows photo 10


If you forget the PIN, you’ll need to provide the BitLocker recovery code you should have saved somewhere safe when you enabled BitLocker for your system drive.

More stories

How to Upgrade Your Computer to USB 3.0

Whether you’re sporting an older computer without a single USB 3.0 port or you’d like to expand and improve the roster of USB 3.0 ports on your newer computer, we’re here to help. Read on as we outline how to pack in all the USB goodness you crave with back, front, and case ports.

The Best Ways to Scan a Document Using Your Phone or Tablet

If you’re like us, then you know “scanning” documents and photos with your phone or tablet is a mixed bag. Thankfully, there are ways to scan documents that gives reliably good results, and best of all, they’re really easy.

How to Troubleshoot Your Internet Connection, Layer-By-Layer

Broadband is the lifeblood of the modern household and it’s incredibly frustrating when your Internet connection is flaky. Read on as we walk you through our tried and true troubleshooting techniques so you can pin down exactly where your connectivity problems are coming from.

How to Use a Physical Game Controller with an iPhone, iPad, or Android Device

Unfortunately, not every mobile game supports physical game controllers. But quite a few games do, thanks to the Apple TV’s support for MFi controllers. For Android, devices like the NVIDIA Shield have encouraged developers to have controller support to their games. So, while this won’t necessarily

What is the System Reserved Partition and Can You Delete It?

Windows 7, 8, and 10 create a special “System Reserved” partition when you install them on a clean disk. Windows doesn’t assign a drive letter to these partitions, so you’ll only see them when you use Disk Management or similar utility.