Sub topic 14
Encrypting Data with BitLocker and EFS
This chapter assumes you know how NTFS permissions work and can use an elevated command prompt. It covers the two Windows encryption features on the A+ Core 2 exam, BitLocker and EFS. You will learn what each one protects against, how to check and manage each, and the mistakes that lock people out of their own data.
Why Encryption Matters
NTFS permissions are enforced by the running operating system. If someone removes the drive, connects it to another computer, or boots from a USB stick, those permissions no longer stop them. Encryption protects data at rest. It scrambles the data so it is unreadable without a key, whichever operating system touches the disk.
This supports the confidentiality goal of the CIA triad. It is also the standard answer when a scenario describes a lost or stolen laptop.
BitLocker and EFS at a Glance
| Feature | What it encrypts | Protects against | Tied to | Editions |
|---|---|---|---|---|
| BitLocker (full-disk encryption) | An entire volume, including the OS, swap files and temporary files | A stolen or lost drive or laptop, offline access | The volume and the computer's TPM, PIN or USB key | Pro, Enterprise and Education |
| EFS (Encrypting File System) | Individual files and folders on NTFS | Other users on the same computer, and offline access to those files | A user's certificate and key | Pro, Enterprise and Education |
Windows Home does not include EFS or the full BitLocker management tools. Some Home devices offer a simplified feature called device encryption. The exam usually tests Pro and above.
Both features are often used together. BitLocker protects the whole disk if the device is stolen. EFS separates one user's files from other users who sign in to the same running system.
How BitLocker Works
BitLocker encrypts a whole volume with a symmetric key. That key is itself protected by one or more "protectors". Common protectors are:
- TPM. A Trusted Platform Module is a chip on the motherboard that stores keys and checks that the boot files have not been altered. With a TPM alone, the computer starts without any user input, and the drive unlocks only if the boot environment looks unchanged.
- TPM plus PIN. The user types a PIN before Windows starts. This protects against someone who simply powers on a stolen laptop.
- Startup key on a USB drive. Used on computers without a TPM, which requires a Group Policy change to allow it.
- Recovery password. A 48-digit number that unlocks the drive if the normal protector fails.
Checking BitLocker Status
Run this from an elevated prompt to see whether drive C: is encrypted and how far the process has gone:
manage-bde -status C:The output includes the conversion status (for example, "Fully Encrypted" or "Encryption in Progress"), the percentage encrypted, the encryption method, and the key protectors in use. Check this when a scenario asks you to confirm that a laptop is protected.
Recovery Keys
When Windows detects a change it cannot explain, it asks for the recovery key. Typical triggers are a BIOS or firmware update, a changed boot order, a replaced motherboard, or moving the drive to another computer. Because of this, store the recovery key before you need it. Common locations are:
- A Microsoft account, if the user signed in with one
- Active Directory or Microsoft Entra ID, which is the usual choice in a business
- A printout or USB drive kept in a safe place
Never store the recovery key only on the encrypted drive. If you lose both the protector and the recovery key, the data is not recoverable.
BitLocker To Go
BitLocker To Go encrypts removable drives such as USB flash drives. The user sets a password or smart card to unlock it. A lost flash drive then exposes nothing. Pro and higher editions can create BitLocker To Go drives, and other Windows editions can open them with the password.
How EFS Works
EFS encrypts individual files or folders on NTFS volumes. To use it, a user opens a file or folder's Properties, selects Advanced, and checks "Encrypt contents to secure data". Encrypted files usually show in green in File Explorer.
Windows creates a file encryption key for each file. That key is protected by the user's certificate and private key. The encryption is transparent. The owner opens the file normally while signed in, and anyone else gets "Access denied". This is the major difference from NTFS permissions alone. An administrator who takes ownership of a file still cannot read it without the key.
Points that appear in exam scenarios:
- Back up the EFS certificate. If the user profile is deleted or the password is reset by an administrator, the private key may be lost and the files stay locked. Export the certificate and private key to a .pfx file and store it securely.
- Copying can remove encryption. Copying an encrypted file to a FAT32 or exFAT volume, or sending it by email, normally produces a decrypted copy or fails, because those places do not support EFS.
- EFS needs NTFS. It cannot be used on FAT32 or exFAT.
- Moving within the same NTFS volume keeps the file encrypted. A file moved into an encrypted folder becomes encrypted.
- Recovery agent. In a business, a designated recovery agent certificate can open files if a user's key is lost.
You can also check or change encryption from the command line:
cipher /c "C:\Users\Sam\Documents\plan.docx"
cipher /e "C:\Users\Sam\Documents\Private"The first command shows the encryption status of a file and which certificates can open it. The second encrypts a folder.
Choosing Between Them
| Scenario | Best answer |
|---|---|
| A company laptop may be stolen while traveling | BitLocker |
| Two employees share one PC and one must not read the other's files | EFS, plus NTFS permissions |
| A USB drive carries customer records | BitLocker To Go |
| A drive will be recycled | Wipe or destroy it. Do not rely on encryption alone |
| A computer has no TPM | BitLocker with a startup USB key, after a policy change |
Common Errors and Gotchas
- Encryption is not authentication. BitLocker with TPM only does not stop a person from signing in on a running or freshly started computer if they know or guess the user's password. Pair it with strong passwords and lockout policies.
- Suspend before firmware changes. Suspending BitLocker before a BIOS update avoids a recovery key prompt. Resume it afterward. Suspended protection leaves the drive effectively unprotected, so do not forget to resume.
- Decrypted while in use. Files on an unlocked BitLocker volume are readable by any process that runs while the volume is unlocked, including malware.
- Passwords reset by an administrator can break EFS access for the affected user, as covered above.
- Performance. On modern hardware, the cost is small. BitLocker uses hardware-accelerated AES where available. Older systems may be a little slower during initial encryption.
Practice
Exercise
A technician updates the BIOS on a laptop with BitLocker enabled, and the laptop then asks for a 48-digit key at startup. What caused the prompt, and what should the technician have done first?
Show answer
The firmware change altered the boot measurements the TPM checks, so BitLocker treated it as a possible tampering attempt and demanded the recovery key. Before the update, the technician should have suspended BitLocker protection (and resumed it afterward), and should have confirmed that the recovery key was backed up in a safe location.
Exercise
Which command, run from an elevated prompt, shows whether drive C: is encrypted and how far encryption has progressed?
Show answer
manage-bde -status C:
Exercise
A user encrypts a report with EFS and then copies it to a USB drive formatted as FAT32. What should the user expect, and why?
Show answer
The copy will not stay encrypted (Windows may warn that it will be decrypted, or the copy may fail), because FAT32 does not support EFS, which needs NTFS. The user should use BitLocker To Go on the USB drive instead.