Add BitLocker Lock Drive Context Menu in Windows 10

In our previous article we have reviewed a couple of commands that you can use to lock the unlocked drive in Windows 10, instead of restarting the OS. As you may remember, Windows 10 doesn't include a GUI option for that operation. Well, let's add it!


Windows 10 allows enabling BitLocker for removable and fixed drives (drive partitions and internal storage devices). It supports protection with a smart card or password. You can also make the drive to automatically unlock when you sign in to your user account.

BitLocker was first introduced in Windows Vista and still exists in Windows 10. It was implemented exclusively for Windows and has no official support in alternative operating systems. BitLocker can utilize your PC's Trusted Platform Module (TPM) to store its encryption key secrets. In modern versions of Windows such as Windows 8.1 and Windows 10, BitLocker supports hardware-accelerated encryption if certain requirements are met (the drive has to support it, Secure Boot must be on and many other requirements). Without hardware encryption, BitLocker switches to software-based encryption so there is a dip in your drive's performance. BitLocker in Windows 10 supports a number of encryption methods, and supports changing a cipher strength.

Butlocker Drive Encryption

Note: In Windows 10, BitLocker Drive Encryption is only available in the Pro, Enterprise, and Education editions. BitLocker can encrypt the system drive (the drive Windows is installed on), and internal hard drives. The BitLocker To Go feature allows protecting files stored on a removable drives, such as a USB flash drive. The user can configure the encryption method for BitLocker.

We are going to add a new context menu entry for unlocked drives encrypted with BitLocker. The new command won't appear for locked drives, and for drives not encrypted with BitLocker. This is very useful, as it won't remain visible when not required!

Windows 10 BitLocker Lock Drive Context Menu

To Add BitLocker Lock Drive Context Menu in Windows 10,

  1. Download the following Registry files (in a ZIP archive): Download Registry Files.
  2. Extract its contents to any folder. You can place the files directly to the Desktop.Windows 10 BitLocker Lock Drive Files
  3. Unblock the files.
  4. Double click on the Add Lock Drive BitLocker Context Menu.reg file to merge it.
  5. Move the lock-bde.cmd file into the C:\Windows\ folder.Windows 10 BitLocker Lock Drive Batch File
  6. Click on the 'Continue' when/if prompted to approve.

You are done! Now, right-click on the unlocked drive, and select 'Lock Drive' from the context menu. The drive will be locked with BitLocker.

Windows 10 BitLocker Drive Locked

How it works

The batch file runs the manage-bde -lock <drive letter>: -ForceDismount command we have reviewed earlier. The context menu entry uses PowerShell to launch it as Administrator.

To Remove BitLocker Lock Drive Context Menu in Windows 10,

  1. Double-click on the file Remove Lock Drive BitLocker Context Menu.reg included in the ZIP archive above.
  2. Delete the file c:\Windows\lock-bde.cmd.

That's it!

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!


Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

Leave a Reply

Your email address will not be published.

Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.