This library allows you to get the encryption status of BitLocker-protected drives. It Float value of encryption progress or Bool value of drive encryption.
- Python 3.x
- Windows 7, 8, 8.1, 10 or 11
- Administrator access to run the
manage-bde
command
- This library used pure Python packages and doesn't need to any external libraries - ctypes, subprocess and re
- Install package via pip:
pip install bitlocker_encryption_status
`
`
In the above example, the script displays the encryption status for drive V, which is 97.85% encrypted. However, the encryption status for drive F is not available.
-
This script uses the
manage-bde
command, which is a Windows-specific command-line tool for managing BitLocker. It not work on non-Windows systems. -
Ensure that you run the library funcs with administrator privileges to access the
manage-bde
command.
This script is released under the MIT License.