PowerShell: Disable BitLocker
Need to turn off BitLocker encryption on a drive - before decommissioning a machine, re-imaging, or troubleshooting? This one-liner disables it directly from the terminal.
Prerequisites:
- Privileges: Run as Administrator
- Module: Built-in, no import needed
Quick Command:
Disable-BitLocker -MountPoint "C:"
📦
Want all of them at once?
Get every free one-liner from this blog in a single downloadable bundle organized by category, each with full comment-based help. No more copy-pasting one at a time.
Get every free one-liner from this blog in a single downloadable bundle organized by category, each with full comment-based help. No more copy-pasting one at a time.
How it Works:
- Disable-BitLocker removes all key protectors from the specified volume and begins decrypting its contents.
- -MountPoint "C:" specifies which drive letter to target - replace this with whatever volume you actually want to decrypt.
- If the operating system volume has automatic unlocking keys configured, this command won't proceed until those are removed first.
Pro Tip:
To disable BitLocker on every encrypted volume on the machine at once:
$BLV = Get-BitLockerVolume
Disable-BitLocker -MountPoint $BLV