Would you like to learn how to use Bitlocker to encrypt the operating system drive using Powershell? In this tutorial, we are going to show you how to encrypt a drive using Bitlocker on a computer running Windows.

• Windows 2012 R2
• Windows 2016
• Windows 2019
• Windows 10
• Windows 7

Equipment list

The following section presents the list of equipment used to create this tutorial.

As an Amazon Associate, I earn from qualifying purchases.

Related tutorial - PowerShell

On this page, we offer quick access to a list of tutorials related to PowerShell.

Tutorial Powershell - Encrypt the disk using Bitlocker with TPM

As an Administrator, start an elevated Powershell command-line.

Windows 10 - powershell elevated

Verify if the computer has a TPM Chip enabled.

Copy to Clipboard

Here is the output of a computer with TPM enabled.

Copy to Clipboard

List the drives available.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Encrypt the Operating System drive using Bitlocker.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Create a recovery password.

Copy to Clipboard

Take note of the Bitlocker recovery password.

Copy to Clipboard

Restart the computer.

Copy to Clipboard

Verify the Bitlocker encryption status.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Wait for the drive encryption to finish.

Bitlocker - Encrypted System drive

Congratulations! You have encrypted the system drive using Bitlocker.