Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Lock Drive with Bitlocker?

13 Dec 2009   #1

Windows 10 Pro x64
Lock Drive with Bitlocker?

just wondering, when a drive has been unlocked with bitlocker, is there a way to lock it again without restarting the PC?

My System SpecsSystem Spec
10 Feb 2010   #2

Windows 7 RC.

How to re-lock a Bitlocker drive

So you've turned on Bitlocker encryption for a drive. You've unlocked it and done your work, but how do you re-lock it? Here's how to add an entry to the right-click context menu to re-lock the drive.

1. Open up Notepad and type in the following, replacing 'E:' with the drive letter of your Bitlocker drive:
manage-bde -lock E: forcedismount
2. Save the file as lock.bat somewhere accessible, such as C:\Windows or C:\Program Files\

3. Open up Registry Editor. Navigate to the following Key:
4. Create a new key named runas with the default value set to Lock.
5. Now right-click on runas in the left window pane and create a new key called command.

6. Set the value of the Default Entry to c:\windows\lock.bat or whatever locaiton you chose at step 2.

7. Navigate back to the runas key and create a new String Value called AppliesTo. Set the value to E: or whichever drive you have encrypted.

8. Goto Windows Explorer and test your new right-click context menu entry!

Use caution when in Registry!

This feature is implemented in Vista, so I guess it will be in Windows 7 too.
My System SpecsSystem Spec
10 Feb 2010   #3

Windows 10 Pro x64

Hi Raggyman and welcome to Windows 7 Forums :)

id forgotten about this post.... thanks for this iv been doing it through Command Prompt, but this is a much easier way +rep+
My System SpecsSystem Spec


 Lock Drive with Bitlocker?

Thread Tools

Similar help and support threads
Thread Forum
Bitlocker - Lock an Unlocked Drive
How to Lock an Unlocked BitLocker Drive Currently, if you unlock a drive that has been locked with Bitlocker, you will need to either restart explorer.exe or reboot your PC. Neither of these appeal to me so I found a way of adding "Lock" to the context menu menu which, when clicked, re-locks...
How to add to lock the bitlocker drive context menu?
Hello, The command "manage-bde -lock X:" can lock the openned bitlocker drive X again, but how to add to the context menu of the openned bitlocker drives? Thank you
General Discussion
Bitlocker: Lock an Unlocked Drive
This is good and looks like it would work. What does one do tho if the "runas" key is already being used for adding "Take Ownership" to the right-click context menu? M$ should really update this as not being able to re-lock a drive without re-booting (or re-starting explorer.exe) is ridiculous!
System Security
I tried to lock my D drive with bitlocker
my drives are missing, need help please. I tried to lock my D drive with bitlocker, i put some password and it took some time to decrypt, external hardisk was attached to my pc. after decrypting i restarted my pc. now i dont know what happend there is no other drives E and F , I didnt even...
General Discussion
Cannot lock drive with bitlocker.
Hi all, I wonder if anyone here have some experience in this area. I have a Gigabyte P55A-UD4P Mb which has a TPM chip. I installed W7 Ultimate and try to enable bitlocker. It seems to me I am always unable to lock the drive with TPM. I have follow the standard steps, clear TPM chip in...
System Security

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 21:20.
Twitter Facebook