(Closed) Is there a way to unlock a bitlocked hard drive using TPM in command prompt?

I had this problem once too... My drive got corrupted by bitlocker since I had controlled folder access on and I changed a registry value. however, if you still have access to cmd from windows recovery, you can still use manage-bde. Though I cannot test this since I won't use bitlocker again, I remember some things I did. It seems like BitLocker does have random issues like this once in a while.

Of course, the first thing you need to do is check your microsoft account for the key if your computer was linked to a microsoft account. If you can find it, use manage-bde -unlock <key> or putting the key into the bitlocker recovery dialogue. If your computer was a local account and/or you can't find the key in your microsoft account, follow the steps below.

There are two possible ways to recover a BitLocker protected drive that you don't have the key to. If you are familiar with the Command Prompt please follow these steps.

  1. Create a Recovery Drive from your manufacturer. For example, if you have a Surface, you will need to download the Surface Recovery Image from your OEM (Microsoft).
  2. Modify your BIOS (if needed) to enable USB boot and boot from the USB.
  3. Once you are booted from your Recovery Drive, access the Command Prompt, probably in Advanced Troubelshooting
  4. Try manage-bde -off C:
  5. If #4 fails, try manage-bde -fr C: and restart to your primary startup disk.

If this doesn't work, enter Command Prompt again from the Recovery Drive and try manage-bde -changepin C:, manage-bde -changepassword C:, or manage-bde -changekey C:. You can also try manage-bde -autounlock C:.

If you are not familiar with the Command Prompt, you can try using GUI by creating a ready Installation of Windows on an external USB using Windows To Go. Then, you will need to boot from that drive and enter Control Panel. Then, if your primary startup disk shows up, try turning off BitLocker. You can also try using TPM.msc to clear, initialize, or turn off/on the TPM to try force BitLocker to recover. If your primary startup disk doesn't appear, go to Command Prompt and enter the following:

  1. diskpart
  2. list disk and Find your Disk #
  3. sel disk #
  4. list par and note your Windows partition #
  5. sel par #
  6. assign letter=W

Then, go back to Control Panel and see if the GUI method works. You can also try

  1. manage-bde -off W:
  2. manage-bde -fr W:
  3. manage-bde -changepin W:
  4. manage-bde -changekey W:
  5. manage-bde -changepassword W:

from Command Prompt within your ready installation of Windows on the external USB.

NOTE: You can get to WinRE (Windows Recovery) by pressing Shift or the hardware key combination provided by your OEM. Please read the Microsoft Documentation on WinRE and BitLocker for more. Here's the BitLocker link. Here's the WinRE Doc. WinRE might also be corrupt because of BitLocker, if it isn't you can also use this to access the Command Prompt. WinRE might automatically start upon two consecutive failed boot attempts. If you can access command prompt in Windows recovery, getting Windows on an external drive is not necessary unless you prefer GUI to Command Prompt. The time this happened to me, my Users directory was corrupted from bitlocker hence I could not run command prompt on the X: drive since there was no administrative user. To have the best chance of fixing your issue, an external drive is recommended.

For more documentation on manage-bde see this page from microsoft.

Good luck and hope this helps!