Lock Drive with Bitlocker?


  1. Posts : 3,427
    Windows 10 Pro x64
       #1

    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 Computer


  2. Posts : 1
    Windows 7 RC.
       #2

    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:
    HKEY_CLASSES_ROOT\Drive\shell
    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 Computer


  3. Posts : 3,427
    Windows 10 Pro x64
    Thread Starter
       #3

    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 Computer


 

  Related Discussions
Our Sites
Site Links
About 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 07:44.
Find Us