BitLocker Drive Encryption Step
BitLocker Drive Encryption Step
Step-by-Step Guide
Updated: July 10, 2009
This step-by-step guide provides the instructions that you need to set up Windows® BitLocker™
Drive Encryption in a test lab environment. We recommend that you do not use this guide in a
production environment. Step-by-step guides are not necessarily meant to be used to deploy
Windows Server® 2008 operating system features without additional documentation (as listed in
the Additional Resources section) and should be used with discretion as a stand-alone document.
Encrypting the entire Windows operating system volume and data volumes on the
hard disk. BitLocker encrypts all user files and system files in the operating system
volume, including the swap and hibernation files, and can also encrypt data volumes.
Checking the integrity of early boot components and boot configuration data. On
computers that have a Trusted Platform Module (TPM) version 1.2, BitLocker leverages
the enhanced security capabilities of the TPM to help ensure that your data is accessible
only if the computer’s boot components appear unaltered and the encrypted disk is
located in the original computer.
BitLocker is tightly integrated into Windows Vista and Windows Server 2008 and provides
enterprises with enhanced data protection that is easy to manage and configure. For example,
BitLocker can use an existing Active Directory Domain Services (AD DS) infrastructure to
remotely store BitLocker recovery keys. BitLocker also provides a recovery console that enables
data retrieval for non-domain-joined computers or computers that are unable to connect to the
domain (for example, computers in the field).
Security architects
In This Guide
The purpose of this guide is to help administrators become familiar with the BitLocker Drive
Encryption feature of Windows Server 2008. The sections below provide basic information and
procedures that administrators need to start configuring and deploying BitLocker within their
networks.
Scenario 1 provides instructions for creating the two partitions required for BitLocker Drive
Encryption. Scenario 2 describes how to install BitLocker on a server. Scenario 3 explains how
to encrypt a hard disk by using BitLocker and a TPM. Scenario 4 describes using BitLocker to
encrypt data volumes on a server. Scenario 5 describes using BitLocker on a computer without a
TPM. Scenario 6 describes how to access encrypted data after lockdown, and how to test
BitLocker by generating a lockdown. Scenario 7 guides you through turning off BitLocker.
Note
The scenarios discussed in this guide pertain to using BitLocker Drive Encryption with operating
system volumes. When the operating system volume is encrypted, BitLocker can also be used to
encrypt fixed data volumes.
Additional Resources
Two NTFS disk partitions, one for the system volume and one for the operating system
volume. The system volume partition must be at least 1.5 gigabytes (GB) and set as the
active partition (Scenario 1).
A BIOS setting to start up first from the hard disk drive, not the USB or CD drives.
Note
For any test that includes the USB flash drive, your BIOS must support reading USB flash drives
at startup.
We strongly recommend that you do not run a kernel debugger while BitLocker is
enabled, because encryption keys and other sensitive data can be accessed with the
debugger. However, you can enable kernel debugging before you enable BitLocker. If
you enable kernel debugging after you have enabled BitLocker, the system will
automatically start the recovery process every time you restart the computer. If you
enable boot debugging (kernel debugging with the "-bootdebug" option), the system will
automatically start the recovery process every time you restart the computer.
Note
In some situations, a volume can involve multiple partitions. This document discusses only
simple volumes, where a volume and a partition are functionally equivalent. BitLocker works
with volumes, a logical structure; but many disk tools are concerned with physical disk partitions.
Scenario 1 describes how to create the two partitions required for BitLocker. This procedure
assumes that you have backed up any data on the disk.
If you have an unused disk with a single partition, follow the steps in Partition a disk with no
operating system for BitLocker.
If you have an unused disk with a single partition, follow the steps in Partition a drive
with no operating system for BitLocker.
Note
Make sure that you have backed up any data and that you have your product key for
Windows Vista.
Note
If you have already installed Windows Vista, you might be able to use the BitLocker Drive
Preparation Tool to configure the volumes required for BitLocker without reinstalling the
operating system. For more information, see http://go.microsoft.com/fwlink/?LinkID=83261.
In this procedure you start the computer from the product DVD and then enter a series of
commands to do the following:
Create a second primary partition using the rest of the space on the disk.
Note
The active partition described above is needed for BitLocker to work properly.
Your drive letters might not correspond to those in this example. In this example, the operating
system volume is labeled C, and the system volume is labeled S (for system volume). In this
example, we also assume that the system has only one physical hard disk drive.
Note
Installing BitLocker will require restarting the server.
To install BitLocker during initial configuration
1. When you install Windows Server 2008, the Initial Configuration Tasks window
appears.
2. Choose Add features, and then install BitLocker Drive Encryption.
3. Restart your server.
1. Click Start, click Server Manager, click Add Features, and then click BitLocker
Drive Encryption.
2. Restart your server.
1. Open a command prompt window as an administrator. To do this, click the Start button,
click All Programs, and then click Accessories.
2. Right-click Command Prompt, and then click Run as administrator.
3. If the User Account Control dialog box appears, confirm that the action it displays is
what you want, and then click Continue.
4. At the command prompt, type the following:
If your TPM is not initialized, you will see the Initialize TPM Security Hardware
wizard. Follow the directions to initialize the TPM and restart or shut down your
computer.
4. On the Save the recovery password page, you will see the following options:
o Save the password on a USB drive. Saves the password to a USB flash drive.
o Save the password in a folder. Saves the password to a folder on a network drive
or other location.
Use one or more of these options to preserve the recovery password. For each option,
select the option and follow the wizard steps to set the location for saving or printing the
recovery password.
When you have finished saving the recovery password, click Next.
Important
The recovery password will be required in the event the encrypted disk must be moved to
another computer, or changes are made to the system startup information. This password
is so important that we recommend that you make additional copies of the password and
store it in safe places to assure you access to your data. You will need your recovery
password to unlock the encrypted data on the volume if BitLocker enters a locked state
(see Scenario 5: Recovering Data Protected by BitLocker Drive Encryption). This
recovery password is unique to this particular BitLocker encryption. You cannot use it to
recover encrypted data from any other BitLocker encryption session.
Important
Store recovery passwords apart from the computer for maximum security.
5. On the Encrypt the selected disk volume page, confirm that the Run BitLocker System
Check check box is selected, and then click Continue.
Confirm that you want to restart the computer by clicking Restart Now. The computer
restarts and BitLocker verifies whether the computer is BitLocker-compatible and ready
for encryption. If it is not, you will see an error message alerting you to the problem.
6. If it is ready for encryption, the Encryption in Progress status bar is displayed. You can
monitor the ongoing completion status of the disk volume encryption by dragging your
mouse cursor over the BitLocker Drive Encryption icon in the notification area at the
bottom of your screen.
By completing this procedure, you have encrypted the operating system volume and
created a recovery password unique to this volume. The next time you log on, you will
see no change. If the TPM ever changes or cannot be accessed, if there are changes to key
system files, or if someone tries to start the computer from a product CD or DVD to
circumvent the operating system, the computer will switch to recovery mode until the
recovery password is supplied.
The keys for protecting a data volume are independent of the keys protecting the operating
system volume. To allow the system to automatically mount these volumes, the key chain
protecting the data volume is also stored encrypted on the currently-booted volume. If the
operating system enters recovery mode, the data volumes are not unlocked until the operating
system is out of recovery mode.
Recovery of a data volume is similar to recovery for an operating system volume. If the data
volume becomes corrupt, is moved to a new platform, or the operating system volume cannot
retrieve the key for the data volume to automatically unlock it, then the user inserts the media
containing a copy of the data volume recovery key.
Important
Your drive letters might not correspond to those in this example. In this example, the operating
system volume is labeled C, and the system volume is labeled S (for system volume). In this
example, we also assume that the system has only one physical hard disk drive.
You must have a USB flash drive to save the recovery password for the data volume(s).
To turn on BitLocker Drive Encryption for server data volumes
1. Open a command prompt window as an administrator. To do this, click the Start button,
click All Programs, and then click Accessories.
2. Right-click Command Prompt, and then click Run as administrator.
3. If the User Account Control dialog box appears, confirm that the action it displays is
what you want, and then click Continue.
4. At the command prompt, type the following:
5. Restart your server. You have now installed BitLocker, but it is not yet enabled.
6. From an elevated command prompt, type the following:
7. This command encrypts the named volume, generates a recovery password, and stores a
recovery key under U:\ (the USB drive, for example). Record the recovery password and
the recovery key filename displayed on the console. The data volume will have to be
unlocked after each restart by using either the recovery password or the recovery key as
follows:
o manage-bde –unlock <volume>: -rp <recovery password>
9. This command generates a recovery key and stores it on the operating system volume.
The operating system volume must be fully encrypted before this command is issued.
Once automatic unlocking is enabled, the data volume is automatically unlocked on each
restart.
You must have a USB flash drive to save the recovery password.
We recommended that you use a second USB flash drive to store the startup key separate
from the recovery password.
1. Click Start, type gpedit.mscin the Start Search box, and then press ENTER.
2. If the User Account Control dialog box appears, confirm that the action it displays is
what you want, and then click Continue.
3. In the Local Group Policy Editor console tree, click Local Computer Policy, click
Administrative Templates, click Windows Components, and then click BitLocker
Drive Encryption.
4. Double-click the setting Control Panel Setup: Enable Advanced Startup Options.
5. Select the Enabled option, select the Allow BitLocker without a compatible TPM
check box, and then click OK.
You have changed the policy setting so that you can use a startup key instead of a TPM.
o Save the password in a folder. Saves the password to a folder on a network drive
or other location.
When you have finished saving the recovery password, click Next.
Important
The recovery password will be required in the event the encrypted disk must be moved to
another computer, or changes are made to the system startup information. This password
is so important that we recommend that you make additional copies of the password and
store it in safe places to assure you access to your data. You will need your recovery
password to unlock the encrypted data on the volume if BitLocker enters a locked state
(see Scenario 5: Recovering Data Protected by BitLocker Drive Encryption). This
recovery password is unique to this particular BitLocker encryption. You cannot use it to
recover encrypted data from any other BitLocker encryption session.
Important
Store recovery passwords apart from the computer for maximum security.
15. On the Encrypt the selected disk volume page, confirm that the Run BitLocker System
Check check box is selected, and then click Continue.
Confirm that you want to restart the computer by clicking Restart Now. The computer
restarts and BitLocker verifies whether the computer is BitLocker-compatible and ready
for encryption. If it is not, you will see an error message alerting you to the problem
before encryption starts.
16. If it is ready for encryption, the Encryption in Progress status bar is displayed. You can
monitor the ongoing completion status of the disk volume encryption by dragging your
mouse cursor over the BitLocker Drive Encryption icon in the notification area at the
bottom of your screen or clicking on the Encryption icon.
By completing this procedure, you have encrypted the operating system volume and
created a recovery password unique to that volume. The next time you turn your
computer on, the USB flash drive with the startup key must be plugged into a USB port
on the computer. If it is not, you will not be able to access data on your encrypted
volume.
If you do not have the USB flash drive containing your startup key, then to access the
data, you will need to use recovery mode and supply the recovery password.
The TPM is inadvertently turned off and the computer is turned off.
When a computer is locked, the startup process is interrupted very early, before the operating
system starts. You must use the recovery password from a USB flash drive, or use the function
keys to enter the recovery password. F1 through F9 represent the digits 1 through 9, and F10
represents 0.
Because recovery happens so early in the startup process, the accessibility features of Windows
are not available. If you require accessibility features, consider what you will do in the event of
recovery.
Recovering data
1. Click Start, point to All Programs, click Accessories, and then click Run.
2. Type tpm.msc in the Open text box, and then click OK. The TPM Management
Console is displayed.
3. Under Actions, click Turn TPM Off.
4. Provide the TPM owner password, if required.
5. When the Status panel in the TPM Management on Local Computer task panel reads
"Your TPM is off and ownership of the TPM has been taken," close that task panel.
6. Close all open windows.
7. If the USB flash drive that contains your recovery password is plugged into the system,
use the Safely Remove Hardware icon in the notification area to remove it from the
system.
8. Click the Start button, and then click the Shutdown button to restart your computer.
When you restart the computer, you will be prompted for the recovery password, because
the startup configuration has changed since you encrypted the volume.
o If you do not have the USB flash drive with the recovery password, press
ENTER. You will be prompted to enter the recovery password.
If you know the recovery password, type it, and then press ENTER.
If you do not know the recovery password, press ENTER twice and turn off your
computer.
Note
If you saved your recovery password in a file in a folder away from this computer,
or on removable media, you can use another computer to open the file that
contains the password. To locate the correct file, find Password ID on the
recovery console display on the locked computer, and record this number. The file
containing the recovery password uses this Password ID as the file name. Open the
file and locate the recovery password in the file.
When you turn off BitLocker, you can choose to either disable BitLocker temporarily, or to
decrypt the volume. Disabling BitLocker allows TPM changes and other minor changes to the
system. Decrypting the volume means that the volume will be entirely decrypted, and that all the
keys are discarded. You must decrypt a computer before upgrading the operating system. Once a
volume is decrypted, you must generate new keys by going through the encryption process again,
if you want to enable BitLocker.
By completing this procedure, you have either disabled BitLocker or decrypted the
operating system volume.
Additional Resources
The following resources provide additional information about BitLocker Drive Encryption:
For help with BitLocker Drive Encryption, as with any Microsoft Windows component,
please choose one of the support options listed on the Microsoft Help and Support Web
site (http://go.microsoft.com/fwlink/?LinkId=76619).
For more information about the User Account Control feature, see User Account Control
(http://go.microsoft.com/fwlink/?LinkId=66018).