How to Encrypt/Decrypt BitLocker with Bitlock Command Line

Using the BitLocker command line is one of the most efficient ways to manage, unlock, and troubleshoot BitLocker-encrypted drives in Windows. Compared with the graphical interface, command-line tools such as manage-bde give users deeper control over BitLocker features, including checking encryption status, unlocking drives with passwords or recovery keys, and managing protectors. Whether you are a system administrator or an advanced user, mastering the BitLocker command line can help you quickly resolve access issues and maintain data security.
When recovery keys are missing or hard to locate, specialized tools like Magic Recovery Key can further assist by automatically finding available BitLocker recovery keys on your system.
Supports Windows 7/8/10/11 and Windows Server
Table of Contents
What is BitLocker Command Line?
The BitLocker command line, often referred to as the manage – bde commands, is a set of commands that allow users to interact with BitLocker encryption features directly from the Command Prompt or PowerShell. With these commands, you can perform a wide range of operations related to BitLocker, such as encrypting drives, decrypting drives, changing passwords, and managing recovery keys.
How to Encrypt with BitLocker Command Line
1. Open the Command Prompt as Administrator
To use the manage – bde commands effectively, you need administrative privileges. Right – click on the Command Prompt icon and select “Run as administrator.”
2. Select the Drive to Encrypt
Identify the drive letter you want to encrypt. For example, if you want to encrypt your D: drive, you can use the following command:
manage – bde – on D:
This command will start the encryption process on the specified drive. By default, BitLocker will use the standard encryption method. If you want to use a different encryption mode, you can add additional parameters. For instance, to use the XTS – AES 256 – bit encryption mode:
manage – bde – on D: – encryption XTS – AES256
You may also be prompted to set a password for the encrypted drive. This password will be required to access the drive in the future.
How to Decrypt with BitLocker Command Line
1. Open the Command Prompt as Administrator
Just like with encryption, you need administrative rights.
2. Decrypt the Drive
To decrypt a drive, say the D: drive, use the following command:
manage – bde – off D:
If you have set a password for the BitLocker – encrypted drive, you will be prompted to enter it. After entering the correct password, the decryption process will begin. The time it takes to decrypt the drive depends on the size of the drive and the amount of data stored on it.
manage – bde – on D: – encryption XTS – AES256
How to Decrypt with Magic Recovery Key
1. Download and install Magic Recovery Key from a trusted source.
Supports Windows 7/8/10/11 and Windows Server
2. Open the software and select BitLocker Recovery Key in the left menu.

3. Click Search to let the software scan for the BitLocker key.
4. Once the key is found, copy it and use it to unlock your encrypted drive.

Conclusion
The BitLocker command line provides a powerful and flexible way to manage BitLocker-encrypted drives through tools like manage-bde, allowing you to unlock drives, view encryption status, and handle recovery scenarios efficiently. For users who are comfortable working in Command Prompt or PowerShell, this approach offers greater control and automation than the standard graphical interface.
However, if you have lost your BitLocker password or recovery key, command-line methods alone may not be sufficient. In such situations, Magic Recovery Key becomes an essential companion tool. It can automatically scan your computer, external storage devices, and system records to locate available BitLocker recovery keys, making it much easier to regain access to locked drives. To save time and avoid permanent data loss, we recommend downloading Magic Recovery Key and keeping it ready whenever you work with BitLocker-protected drives using the BitLocker command line.
Supports Windows 7/8/10/11 and Windows Server
FAQs
How do I unlock BitLocker with the command line?
What can I do if I forgot my BitLocker password?
Do I need administrator rights to use BitLocker command line tools?
Can I check BitLocker status using the command line?
Can I enable or disable BitLocker with the command line?
Is it possible to back up a BitLocker recovery key using the command line?
Can I use PowerShell instead of Command Prompt for BitLocker operations?
What should I do if BitLocker cannot be unlocked due to missing or damaged metadata?
Erin Smith is recognized as one of the most professional writers at Amagicsoft. She has continually honed her writing skills over the past 10 years and helped millions of readers solve their tech problems.
