Skip to main content

Library for get BitLocker-encrypted drives status using Python .

Project description

BitLocker Encryption Status Checker

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.

Prerequisites

  • Python 3.x
  • Windows 7, 8, 8.1, 10 or 11
  • Administrator access to run the manage-bde command

Python requirements

  • This library used pure Python packages and doesn't need to any external libraries - ctypes, subprocess and re

Usage

  • Install package via pip: pip install bitlocker_encryption_status

Example

`

`

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.

Notes

  • 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.

License

This script is released under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bitlocker_encryption_status-0.0.2.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page