Category filter
Script to Check Encryption Status of drives on Windows
Encryption is one of the fundamental ways of protecting the data stored on the devices. Most organizations prefer device encryption using BitLocker to prevent unauthorized access to corporate data on Windows 10 devices. Yet, if you need to verify the encryption status of the devices, you can get it done with the help of terminal commands. The Execute Custom Script action enables administrators to execute customized script commands directly from the UEM console.
Batch Script
manage-bde
is a command-line tool that helps you to perform BitLocker operations from the Terminal. This command can also be used to retrieve the encryption status.
1 |
manage-bde -status C: |findstr /C:"Conversion Status" |
PowerShell Script
You can obtain the encryption status of a volume encrypted with BitLocker Drive Encryption by using the following custom script.
1 |
Get-BitlockerVolume C: | Select -expand "VolumeStatus" |