Formular una preguntaFormular una pregunta
 

RespondidaHow to re-lock a drive with bitlocker

  • viernes, 29 de mayo de 2009 15:29mi23 Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    I am using windows 7 bitlocker to encrypt a secondary hard drive. So I unlock the drive with the password successfully. Now how do I relock the drive? The only way I can see is to restart the machine. What bothers me is that even if you log off, and log in as another user the drive is still unlocked! Isnt there a menu item or option to re-lock it?
    -mi

Respuestas

  • lunes, 01 de junio de 2009 10:24Robinson Zhang - MSFTModeradorMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     Respondida

    Hi,

    I did several tests on my side, and I think this is a potential security bug. I will report it to our internal team.

    On the other hand, I do not have any workaround for this issue. Please temporarily restart the computer every time for security.

    Thank you for your understanding.

Todas las respuestas

  • lunes, 01 de junio de 2009 10:24Robinson Zhang - MSFTModeradorMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     Respondida

    Hi,

    I did several tests on my side, and I think this is a potential security bug. I will report it to our internal team.

    On the other hand, I do not have any workaround for this issue. Please temporarily restart the computer every time for security.

    Thank you for your understanding.

  • miércoles, 03 de junio de 2009 15:10DeluxeWarPlaya Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    Any updates on this?
  • viernes, 03 de julio de 2009 6:29superlative Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     Respuesta propuesta
    I too also need an update on this!
  • martes, 07 de julio de 2009 9:45Ed McKinnon Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    Also looking for an answer on this.

    "this is a potential security bug" - I'd say definitely a security bug!

    An automatic relock timer might be a nice feature also.
  • lunes, 10 de agosto de 2009 13:37Robin A Marshall Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     Respuesta propuesta
    You can achieve this through the command line interface

    e.g. If P: were my private drive, I can re-lock it with the following command (run the cmd shell with Administrative rights though)

    To re-lock a Bitlocker drive on Windows 7 :

       manage-bde -lock P:

    Enjoy
  • sábado, 22 de agosto de 2009 11:20LoneWolf15 Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    Thanks for this, Robin.  At least I can add a script and pin it to the Start Menu.

    This is still an issue in the RTM; I'm a little disappointed it made it through to release.
  • sábado, 29 de agosto de 2009 14:05Inge Krossoey Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    I made a .cmd-file to re-lock the drives:

    From a cmd-prompt, type the following:

    C:\Windows\system32>copy con lockdrive.cmd
    manage-bde -lock l:
    manage-bde -lock k:
    ^Z     [press CTRL-Z]
            1 file(s) copied.

    Replace l: and/or k: to the corresponding drive letter on your computer.

    Make a shortcut to the lockdrive.cmd-file, and check the "run as administrator" check box.


    Rgs,
    Inge

  • domingo, 30 de agosto de 2009 14:34st3v Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    I have the same problem. By the way, I am using Windows 7 RTM 64-bit. I also through group policy increased the cipher strength to "AES 256-bit with Diffuser".

    I encrypted a couple USB hard drives with Bitlocker To Go. I noticed another security issue on top of the one already discovered:

    When a Bitlocker To Go disk is connected, initially it is locked with the volume label hidden (as it should be). When you relock the drive using "manage-bde -lock drive:" the volume label is still showing.

    Edit: I have been testing this further by unlocking, relocking, and disconnecting the drive multiple times and I noticed that in "Computer" it eventually stopped showing a volume label for this drive when it is unlocked (until I restarted my computer). I am not sure why. But when I used the "dir" command it did show the proper volume label. This might be a bug in the "Computer" display of volume labels, it might not be re-reading the volume labels for drives properly.

    When a Bitlocker drive is relocked, it should be in the same state as if it were freshly connected. Also, logging off should automatically relock drives, or at least have an option in the Bitlocker control panel and/or group policy for that.

    Regarding the original poster's issue: Logically, one would think right-clicking the unlocked drive and choosing "Manage Bitlocker" would have an option to lock the drive.

  • martes, 01 de septiembre de 2009 18:54mi23 Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    this was the best answer ever;)
    -mi
  • viernes, 13 de noviembre de 2009 12:11jonamafun Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    Check my post here on how to do the 'Lock Drive' right-click menu entry:

    http://jonamafun.blogspot.com/2009/11/how-to-re-lock-bitlocker-drive.html
  • lunes, 16 de noviembre de 2009 18:22stuckmoto Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    @jonamafun - followed exactly but getting "The filename,directory name, or volume label syntax is incorrect"
    any suggestions?
  • martes, 17 de noviembre de 2009 12:36jonamafun Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    Try running the batch file from Windows Explorer to see if it actually locks your drive first.

    What did you name your .bat file and where is it located? Make sure you put the full path to the file at step 6.

    This is what my step 6 looks like:





  • miércoles, 18 de noviembre de 2009 10:15Jajx Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    This could work, but batch file needs to be run as administrator, don't know how to set it yet..

  • domingo, 22 de noviembre de 2009 10:50Rick101c Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    I followed all the steps, but get an error popup:

    "The filename, directory name, or volume label syntax is incorrect"

    The .bat file it points to works fine.

    my runas\command\ looks just like the screen shot.

    Any ideas?
  • domingo, 22 de noviembre de 2009 11:07Rick101c Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    I followed all the steps, but get an error popup:

    "The filename, directory name, or volume label syntax is incorrect"

    The .bat file it points to works fine.

    my runas\command\ looks just like the screen shot.

    Any ideas?

    How do you add a screen shot to a post here?  I could show you what my reg keys look like.

    I did discover that I could make a shortcut to lock.bat; and in the advanced shortcut properties it lets you set "Run as Administrator".

    So ideally, the reg key setting could point to the shortcut.

    Thanks for any help...
  • domingo, 22 de noviembre de 2009 11:09Rick101c Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    Me, too; ever get a solution?

    Thanks
  • domingo, 22 de noviembre de 2009 14:26jonamafun Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    i used HTML tags to embed the image here...

    Have you tried testing with UAC turned off? I neglected to mention that I'm running without UAC (shhh!) so that may have something to do with it.