Sub topic 13
Encrypting Data with BitLocker and EFS
This chapter assumes you know Windows user accounts and NTFS permissions from the previous chapter. NTFS permissions control who can read a file while Windows is running. They do not protect the data if someone removes the drive and reads it elsewhere. Encryption closes that gap.
Two tools, two scopes
Windows offers two built-in encryption features. They protect different things.
| Feature | What it encrypts | Protects against | Edition |
|---|---|---|---|
| BitLocker | An entire volume | Theft of the device or drive | Pro, Enterprise, Education |
| EFS (Encrypting File System) | Individual files and folders | Other users on the same PC | Pro, Enterprise, Education (NTFS only) |
Windows Home does not include either feature in the standard form. Some Home devices offer a simpler "device encryption" instead.
How BitLocker works
BitLocker encrypts every sector of a volume with AES. It stores the key in the TPM (Trusted Platform Module), a chip on the motherboard. At startup the TPM releases the key only if the boot files are unchanged. This is why the drive stays locked if it is moved to another computer.
BitLocker can add protection at boot, such as a PIN or a USB startup key. It also generates a recovery key, a 48-digit number. You need it if the TPM detects a change, such as a BIOS update or a motherboard swap. Store the recovery key away from the computer, for example in Active Directory, a Microsoft account, or a printout in a safe.
BitLocker To Go applies the same protection to removable drives. It asks for a password when the drive is plugged in.
To check the state of a drive, run this from an elevated prompt:
manage-bde -status C:Look at Conversion Status (such as Fully Encrypted or Encryption in Progress) and Protection Status (On or Off).
How EFS works
EFS encrypts selected files or folders on an NTFS volume. It ties them to a user's certificate and key. The owner opens the files normally, and other accounts get an "access denied" error, even administrators. To turn it on, open the file's Properties, choose Advanced, and select Encrypt contents to secure data. Encrypted files usually show in green in File Explorer.
The key is stored in the user's profile. If you lose the certificate, for example after reinstalling Windows without a backup, the files are unrecoverable. Export the certificate and private key and keep the copy safe.
Common mistakes
- Assuming NTFS permissions alone protect a stolen drive. They do not.
- Enabling BitLocker without backing up the recovery key.
- Moving an EFS file to a FAT32 or exFAT volume. The file loses its encryption, or the copy fails with a warning.
- Confusing the two. Choose BitLocker for a lost or stolen laptop. Choose EFS to separate one user's files from another's on a shared PC.
Exercise
A technician enables BitLocker on a laptop. After a firmware update, the laptop asks for a 48-digit number at startup. What is it asking for, and why?
Show answer
It is asking for the BitLocker recovery key. The TPM saw a change to the boot environment (the firmware update), so it did not release the key automatically. Entering the recovery key unlocks the drive.