brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: manage-bde -status shows whether a Windows drive is BitLocker encrypted

Windows
~/tips/tip-windows-manage-bde-status

manage-bde -status

Check encryption state, progress and key protectors for every drive.

I don’t like assuming a laptop is encrypted. A settings page can be vague about it, and this command spells it out per drive.

Open a terminal as administrator and run:

manage-bde -status

Without a drive letter you get every drive, protected or not. Add one to look at a single volume:

manage-bde -status C:

The lines I check are Conversion Status and Percentage Encrypted, which tell you whether encryption has finished, and Protection Status. A drive can be fully encrypted while protection is off, for example when it has been suspended, so read both. Lock Status and the list of key protectors are there too. The protectors tell you what can unlock the drive, such as the TPM or a recovery password.

For a script there is a handy switch:

manage-bde -status C: -protectionaserrorlevel

It sets the return code to 0 when the volume is protected and 1 when it isn’t.

This command only reports. If you find a recovery password among the protectors, make sure you know where your copy of that key is stored before you change firmware settings or move the disk. Without it, a drive that asks for recovery stays shut.

Further reading: manage-bde status

More Windows tips Win+Ctrl+C Win+Shift+Left arrow Win+Ctrl+Left arrow Alt+PrtScn Left Alt + Left Shift + Print Screen All Windows tips (33) All topics

Link