Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

how can I unlock a bitloker-locked disk via batch (or cmd line)? What I need is to replicate the effect of the default action you see in the context menu of the unit (i.e. unlocking temporarly the unit providing the secret password). Thx

share|improve this question

When you say "unlock" it's not clear if you mean "disable Bitlocker" or "decrypt the drive". Disabling the encryption puts a plain-text key on the volume but otherwise leaves the volume encrypted. This is much faster than decrypting the entire volume, but doesn't result in the volume being a plain NTFS volume.

The manage-bde utility is what you're looking for.

Assuming you're running this on the computer with Bitlocker enabled, while booted, you can use the following parameters to perform the following actions:

  • The "-off" parameter will actually decrypt the volume completely (leaving you with a plain NTFS volume). This may be quite time consuming on large volumes.

  • To disble Bitlocker without decrypting the volume, use the "-protectors -disable x:" command-line, where "x:" is the drive-letter of the volume to disable Bitlocker on.

If you're working with a disk from another computer then the "-unlock" command with a recovery key file or recovery password will be necessary to unlock the volume.

share|improve this answer
manage-bde -unlock X: -password Password
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.