Windows 10: BitLocker - Automatically unlock my drive on a data drive?

Discus and support BitLocker - Automatically unlock my drive on a data drive? in AntiVirus, Firewalls and System Security to solve the problem; Hi,I have a Windows Server 2019 server with an OS drive encrypted with BitLocker and automatically unlocking the drive.There is also a data drive using... Discussion in 'AntiVirus, Firewalls and System Security' started by Goatberg, Nov 5, 2021.

  1. Goatberg Win User

    BitLocker - Automatically unlock my drive on a data drive?


    Hi,I have a Windows Server 2019 server with an OS drive encrypted with BitLocker and automatically unlocking the drive.There is also a data drive using RAID that is BitLocker encrypted and it requires a BitLocker password.Everytime the server reboots someone has to be there to enter the BitLocker password for the data drive. Is it possible for BitLocker to also automatically unlock the data drive the same as the OS drive?Thanks

    :)
     
    Goatberg, Nov 5, 2021
    #1
  2. Viruzz Win User

    HELP: Automatic BitLocker Unlock.

    Please help,
    Looking for a way( script or maybe some unknown windows command or registry hack) to automatically unlock a non OS BitLocker encrypted drive on Log-In.

    My situation: Right now my OS SSD Samsung 840 Evo has a boot password, its not Bios option nor windows eDrive but the third one, the one you need 3rd party software to activate it, had to purchase EMBASSY Security Center to do it.
    No issues here, the OS drive is locked and encrypted.

    One of My HDD Drives is encrypted with Bitlocker, so every time my PC is booted, I need to enter windows log-in password and then open my computer and enter another password to unlock the drive.
    Whats worse is that unlike the SSD that needs unlock password only after full shutdown the Bitlocker needs it every log-in.

    Windows has an option to Automaticlly unlock all BitLocker drives on boot, BUT the issue here is that this official option only works if your OS drive is also BitLocker encrypted and then log-in password unlocks everything.

    Im looking for maybe a windows Script or some Hidden command to automatically unlock the BitLocker drive.

    Even if it Sounds insecure like having the actual password somewhere in the registry, text file or script I dont care because the OS drive is encrypted and passworded.
    Also I have a TPM chip I can encrypt any file/folder so even if file is copied from my PC when its fully unlocked the files wont be readable anywhere unless unencrypted before.

    If its important im on 8.1 pro 64bit

    P.S. If there is no solution for my problem then my only choice is when windows 10 comes out to do a clean install on another Samsung 840 Evo that was previously cleared and eDrive option enabled


    Thanks in advance.
     
    Viruzz, Nov 5, 2021
    #2
  3. Viruzz Win User
    HELP: Automatic BitLocker Unlock.

    Thank you sir, ill try your solution.

    Windows Auto unlock ONLY works in case you have Bitlocker on your system drive, because if your system drive is not encrypted auto unlocking other drives means loss of security.
    But in my case my system drive is Encrypted with hardware encryption that i password unlock during boot. So auto unlocking Bitlocker drives will do fine for me.
     
    Viruzz, Nov 5, 2021
    #3
  4. BitLocker - Automatically unlock my drive on a data drive?

    HELP: Automatic BitLocker Unlock.

    more clear
    0down voteaccepted
    I managed to figure out how to fix this. It doesn't use the native auto-unlock function like I was hoping (rather a script that unlocks using a .BEK file, as I mentioned) but it seems to work just as well.

    First, you need to create a .BEK file that can unlock the disk. This is the command I used:

    manage-bde -protectors -add d: -rk c:\

    Substitute d: with whichever drive you want to auto-unlock. The output will look something like this (take note of the "external key file name"):

    BitLocker Drive Encryption: Configuration Tool version 10.0.10011
    Copyright (C) 2013 Microsoft Corporation. All rights reserved.

    Key Protectors Added:

    Saved to directory c:\

    External Key:
    ID: {9DDF4900-5E08-479A-8C4C-6ADE2DA00551}
    External Key File Name:
    9DDF4900-5E08-479A-8C4C-6ADE2DA00551.BEK

    Now you need to create the script to unlock the drive. Just create a batch file in the root directory with the following line:

    manage-bde -unlock d: -rk C:\[external key filename]

    Again, replace d: with the correct drive letter. Replace [external key filename] with the filename you got before.

    Finally, you need to tell Windows to run this script at startup, before you log in. (Or at least I needed it to run then, because that's where my desktop, etc. are stored.) Here's how you do that:

    • Press Win+R and enter gpedit.msc. (This is only in Pro, but so is BitLocker, so that's not an issue here.)

    • On the left, navigate to Computer Configuration > Windows Settings > Scripts (Startup/Shutdown)

    • Double-click "Startup" on the right

    • Click "Add..." and select the batch file you created before.

    • Click OK and exit Group Policy Editor.
    Now you can reboot the computer to test it. You should see your drive automatically unlocked
     
    Rafa anabe, Nov 5, 2021
    #4
Thema:

BitLocker - Automatically unlock my drive on a data drive?

Loading...
  1. BitLocker - Automatically unlock my drive on a data drive? - Similar Threads - BitLocker Automatically unlock

  2. Bitlocker: automatically unlock removable drive

    in Windows 10 Gaming
    Bitlocker: automatically unlock removable drive: Hello,I have a Windows 10 pro installation with Bitlocker enabled for C:/ and 3 additional hard drives.Hard drives and bitlocker:- C:/ enabled- D:/ disabled- X:/ enabled- Y:/ disabledC: and D: is my new windows 10 install. X: and Y: is my old windows 10 install that I plugged...
  3. Bitlocker: automatically unlock removable drive

    in Windows 10 Software and Apps
    Bitlocker: automatically unlock removable drive: Hello,I have a Windows 10 pro installation with Bitlocker enabled for C:/ and 3 additional hard drives.Hard drives and bitlocker:- C:/ enabled- D:/ disabled- X:/ enabled- Y:/ disabledC: and D: is my new windows 10 install. X: and Y: is my old windows 10 install that I plugged...
  4. Bitlocker: automatically unlock removable drive

    in Windows 10 Customization
    Bitlocker: automatically unlock removable drive: Hello,I have a Windows 10 pro installation with Bitlocker enabled for C:/ and 3 additional hard drives.Hard drives and bitlocker:- C:/ enabled- D:/ disabled- X:/ enabled- Y:/ disabledC: and D: is my new windows 10 install. X: and Y: is my old windows 10 install that I plugged...
  5. Bitlocker data drive

    in Windows 10 Gaming
    Bitlocker data drive: when i reinstalled windows 10 license, my 2 data drives D, E got bitlocker. i don't find 48 digit key in microsoft account. Can you help me with this issue? https://answers.microsoft.com/en-us/windows/forum/all/bitlocker-data-drive/5a37edf3-82bd-4652-906c-6595b74731f7
  6. Bitlocker data drive

    in Windows 10 Software and Apps
    Bitlocker data drive: when i reinstalled windows 10 license, my 2 data drives D, E got bitlocker. i don't find 48 digit key in microsoft account. Can you help me with this issue? https://answers.microsoft.com/en-us/windows/forum/all/bitlocker-data-drive/5a37edf3-82bd-4652-906c-6595b74731f7
  7. Bitlocker data drive

    in AntiVirus, Firewalls and System Security
    Bitlocker data drive: when i reinstalled windows 10 license, my 2 data drives D, E got bitlocker. i don't find 48 digit key in microsoft account. Can you help me with this issue? https://answers.microsoft.com/en-us/windows/forum/all/bitlocker-data-drive/5a37edf3-82bd-4652-906c-6595b74731f7
  8. BitLocker - Automatically unlock my drive on a data drive?

    in Windows 10 Gaming
    BitLocker - Automatically unlock my drive on a data drive?: Hi,I have a Windows Server 2019 server with an OS drive encrypted with BitLocker and automatically unlocking the drive.There is also a data drive using RAID that is BitLocker encrypted and it requires a BitLocker password.Everytime the server reboots someone has to be there...
  9. BitLocker - Automatically unlock my drive on a data drive?

    in Windows 10 Software and Apps
    BitLocker - Automatically unlock my drive on a data drive?: Hi,I have a Windows Server 2019 server with an OS drive encrypted with BitLocker and automatically unlocking the drive.There is also a data drive using RAID that is BitLocker encrypted and it requires a BitLocker password.Everytime the server reboots someone has to be there...
  10. BitLocker Drive Encryption: The data drive specified is not set to automatically unlock

    in Windows 10 Network and Sharing
    BitLocker Drive Encryption: The data drive specified is not set to automatically unlock: Good morning,We are trying to configure BitLocker across our domain, and we are running into some issues. The issues only occur on about a quarter of our machines, the rest work as intended.The error message we receive states this: "The data drive specified is not set to...