Hasleo BitLocker Anywhere For Linux features a command-line interface (CLI) that allows users to perform operations without launching the graphical user interface (GUI). You can issue commands from the Terminal or through scripts.
Hasleo BitLocker Anywhere For Linux has a command line interface (CLI) for users to perform operations without actually launching the graphical user interface (GUI). It allows you to issue commands from the Terminal or through the use of scripts.
Tutorial to run command line interface (CLI) for BitLocker Anywhere For Linux.
Step 1. Open Terminal and switch to the root user.
Step 2. Navigate to the folder where BitLockerAnywhereCmd is located by typing in: cd /home/jason/bitlocker-anywhere/bin . Tips: If you extracted the program in a different location, enter that location instead.
Step 3. Type "./BitLockerAnywhereCmd /?" for help, all the commands and parameters of this tool will be listed.
You can use the action parameter /a to specify the operation: activate (activate the license key), drives (list drives), encrypt (encrypt the specified drive), decrypt (decrypt the specified drive), lock (lock the specified drive) and unlock (unlock the specified drive).
For encrypt, you can use /n to specify the drive name, /p the password, /u whether to encrypt the used disk space only, /c compatible mode, /s 256-bit strength, /r the path to save the recovery key and /i the silent mode.
For decrypt, you can use /n to specify the drive name and /p the password or /r the recovery key. You cannot specify /p and /r at the same time.

As you can see from the above, you can use the command-line interface provided by Hasleo BitLocker Anywhere For Linux to encrypt, decrypt, lock and unlock BitLocker encrypted drives from the Terminal or scripts in Linux.
Frequently Asked Questions
A: Yes, Hasleo BitLocker Anywhere For Linux provides a command-line interface (CLI) that allows you to encrypt, decrypt, lock, and unlock BitLocker encrypted drives from the Terminal or scripts in Linux without launching the GUI.
A: Using the CLI, you can perform actions including: activate (license activation), drives (list drives), encrypt (encrypt drive), decrypt (decrypt drive), lock (lock drive), and unlock (unlock drive).
A: Type "./BitLockerAnywhereCmd /?" in the Terminal to see all available commands and parameters for the BitLocker Anywhere command-line tool.
A: Yes, the CLI allows you to automate BitLocker operations through scripts, making it ideal for batch processing and enterprise deployment.
A: Use the command: ./BitLockerAnywhereCmd /a encrypt /n /dev/sdb1 /p 12345678 /u 1 /c 1 /s 1 /r /home/user/keys /i 1, where /n specifies the drive, /p is the password, and other options control the encryption mode.
A: The /i parameter specifies silent mode: 0 for non-silent mode (shows GUI), 1 for silent mode (runs without user interaction). This is useful for scripted operations.