Category filter
Script to disable BitLocker on Windows
BitLocker is a security feature built-in into the Windows operating system to enforce encryption on system drives, fixed data drives, and removable drives for data protection. If you no longer need BitLocker encryption for the drives, you can easily disable it via the Control Panel, Windows PowerShell, Command Prompt or other third-party apps.
Using Hexnode’s scripting feature, you can execute the Batch/PowerShell scripts provided below to remotely disable BitLocker encryption for a drive on your Windows devices.
Batch Script to Disable BitLocker
1 |
manage-bde -off X: |
Replace ‘X’ with the actual drive letter of the encrypted volume. For example, the following command will disable BitLocker encryption for drive ‘C’:
manage-bde -off C:
The BitLocker decryption process will begin soon after you successfully execute this batch script. You can check the BitLocker status by running the command below:
1 |
manage-bde -status |
If the ‘Percentage Encrypted’ is displayed as 0.0%, the decryption process has been completed.
PowerShell Scripts to Disable BitLocker
Disable BitLocker for a drive
1 |
PS C:\> Disable-BitLocker -MountPoint "X:" |
Replace ‘X’ with the actual drive letter for which you need to disable BitLocker encryption.
Disable BitLocker for all drives
1 2 |
PS C:\>$BLV = Get-BitLockerVolume PS C:\>Disable-BitLocker -MountPoint $BLV |
This PowerShell script will disable BitLocker encryption for all the encrypted drives on the Windows device.