BitLocker Drive Encryption Step-By-Step
BitLocker Drive Encryption Step-By-Step
Introduction
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.
BitLocker is a data protection feature available in the Windows Vista Enterprise and
Windows Vista Ultimate operating systems for client computers and in the Windows
Server 2008 operating system. BitLocker provides enhanced protection against data theft or
exposure on computers that are lost or stolen, and more secure data deletion when BitLockerprotected computers are decommissioned.
Data on a lost or stolen computer is vulnerable to unauthorized access, either by running a
software attack tool against it or by transferring the computers hard disk to a different computer.
BitLocker helps mitigate unauthorized data access on lost or stolen computers by combining two
major data-protection procedures:
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 computers 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).
Page 1 of 18
11/4/2013
Security architects
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.
Page 2 of 18
11/4/2013
Additional Resources
Page 3 of 18
11/4/2013
A computer that meets the minimum requirements for Windows Server 2008.
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.
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.
Page 4 of 18
11/4/2013
If you have an unused disk with a single partition, follow the steps in Partition a disk with
no operating system for BitLocker.
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.
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.
Page 5 of 18
11/4/2013
Page 6 of 18
11/4/2013
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.
You can also install BitLocker by using Server Manager.
1. Click Start, click Server Manager, click Add Features, and then click BitLocker
Drive Encryption.
2. Restart your server.
You can also install BitLocker at a command prompt.
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:
ServerManagerCmd -install BitLocker -restart
Page 7 of 18
11/4/2013
1. Click Start, click Control Panel, click Security, and then click BitLocker Drive
Encryption.
2. If the User Account Control dialog box appears, confirm that the action it displays is
what you want, and then click Continue.
3. On the BitLocker Drive Encryption page, click Turn On BitLocker on the operating
system volume. A message appears, warning you that BitLocker encryption might have a
performance impact on your server.
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
Page 8 of 18
11/4/2013
Page 9 of 18
11/4/2013
You must have a USB flash drive to save the recovery password for the data volume(s).
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:
Page 10 of 18
11/4/2013
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
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.
Page 11 of 18
11/4/2013
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.
6. Close the Local Group Policy Editor.
7. To force Group Policy to apply immediately, you can click Start, type gpupdate.exe
/forcein the Start Search box, and then press ENTER.
8. Click Start, click Control Panel, click Security, and then click BitLocker Drive
Encryption.
Page 12 of 18
11/4/2013
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. You should not store the recovery password and the startup key on
the same media.
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: Turning on BitLocker Drive Encryption on a computer without a
compatible TPM). 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
Page 13 of 18
11/4/2013
Page 14 of 18
11/4/2013
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.
This scenario includes two steps:
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.
Page 15 of 18
11/4/2013
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.
Page 16 of 18
11/4/2013
1. Click Start, click Control Panel, click Security, and then click BitLocker Drive
Encryption.
2. From the BitLocker Drive Encryption page, find the volume on which you want
BitLocker Drive Encryption turned off, and click Turn Off BitLocker Drive
Encryption.
3. From the What level of decryption do you want dialog box, click either Disable
BitLocker Drive Encryption or Decrypt the volume as needed.
By completing this procedure, you have either disabled BitLocker or decrypted the
operating system volume.
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).
Page 17 of 18
11/4/2013
For more information about the User Account Control feature, see User Account Control
(http://go.microsoft.com/fwlink/?LinkId=66018).
Page 18 of 18
11/4/2013