Skip to main content

BitLocker and TPM Audit

Overview​

Audits disk encryption and hardware security on Windows devices. It records every BitLocker volume and key protector, the Secure Boot status and BitLocker eligibility in cPVAL BitLocker Info, and the Trusted Platform Module (TPM) details in cPVAL TPM Info. It checks cPVAL BitLocker Enabled for System Drive when the system drive is protected, and fills the individual cPVAL Audit fields used for grouping.

note
  • This automation is only compatible with Windows devices.
  • Servers need the BitLocker Drive Encryption feature enabled for the BitLocker audit.
  • The TPM audit still runs when the BitLocker audit fails.
  • Secure Boot shows False on devices that do not support it.

Requirements​

  • Windows
  • Run As: System
  • PowerShell 5.1

Sample Run​

Image1

Custom Fields​

Custom FieldScopeTypeDescription
cPVAL BitLocker InfoDeviceWYSIWYGStores every BitLocker volume and key protector, with Secure Boot status and BitLocker eligibility.
cPVAL BitLocker Enabled for System DriveDeviceCheckboxChecked when the system drive has a BitLocker key protector.
cPVAL TPM InfoDeviceWYSIWYGStores the TPM details of the device.
cPVAL Audit Encryption PercentageDeviceStringEncryption percentage of the first volume in the BitLocker table.
cPVAL Audit Encryption MethodDeviceStringEncryption method of the first volume in the BitLocker table.
cPVAl Audit Mount PointDeviceStringDrive letter of the first volume in the BitLocker table.
cPVAL Audit Lock StatusDeviceStringLock status of the first volume in the BitLocker table.
cPVAL Audit Protection StatusDeviceStringProtection status of the first volume in the BitLocker table.
cPVAL Audit Volume StatusDeviceStringVolume status of the first volume in the BitLocker table.
cPVAL Audit TPM ActivatedDeviceStringTrue when the TPM is activated.
cPVAL Audit TPM EnabledDeviceStringTrue when the TPM is enabled.
cPVAL Audit TPM PresentDeviceStringTrue when the device has a TPM.
cPVAL Audit TPM ReadyDeviceStringTrue when the TPM is ready for use.

Dependencies​

Automation Setup/Import​

Automation Configuration

Output​

Changelog​

2026-10-14​

  • Added the SecureBootStatus and BitLockerEligibility columns to cPVAL BitLocker Info.
  • The cPVAL Audit fields are now optional. A missing field is logged as a warning and no longer fails the run.
  • The run now ends with a clear success or failure message listing any field that could not be updated.
  • Fixed the message shown when the BitLocker module is missing, which showed the server text on workstations.
  • Added the BitLocker Status and TPM Status reports to the dependencies.

2026-04-14​

  • Updated the solution to individually update the below custom field.

  • As the script previously update the custom field in HTML format.

  • We need to create group on which the HTML format data is not shows there.

  • That is reason we have update the individual custom field.

    • cPVAL Audit Encryption Percentage
    • cPVAL Audit Encryption Method
    • cPVAl Audit Mount Point
    • cPVAL Audit Lock Status
    • cPVAL Audit Protection Status
    • cPVAL Audit Volume Status
    • cPVAL Audit TPM Activated
    • cPVAL Audit TPM Enabled
    • cPVAL Audit TPM Present
    • cPVAL Audit TPM Ready

2026-01-08​

  • Initial version of the document