Windows 8 and 8.1 Forums


How to enable BitLocker support (unlock drive) in WinPE 5?

  1. #1

    How to enable BitLocker support (unlock drive) in WinPE 5?


    Hi,

    I have a Microsoft Surface Pro 2 and I am running Windows 8.1 Pro Update 1.

    I have been unsuccessful at building a WinPE image that provides BitLocker support. I searched around the internet and found many posts. Eventually, I ended up trying to build it with the various added packages I discovered in the various posts. However, in the end, none worked and this is the message I am getting after booting into my WinPE environment:

    manage-bde.exe - Application Error

    The instruction at 0xa20afa3b referenced memory at 0x0000013d.
    The memory could not be read.

    Click on OK to terminate the program


    Here are the commands I eventually ended up using to build my WinPE image:
    Code:
    dism /image:C:\boot\macrium\mount /add-package /packagepath:"C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-WMI.cab"
    dism /image:C:\boot\macrium\mount /add-package /packagepath:"C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-FMAPI.cab"
    dism /image:C:\boot\macrium\mount /add-package /packagepath:"C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-SecureStartup.cab"
    dism /image:C:\boot\macrium\mount /add-package /packagepath:"C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-EnhancedStorage.cab"
    dism /image:C:\boot\macrium\mount /add-package /packagepath:"C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-WMI_en-us.cab"
    dism /image:C:\boot\macrium\mount /add-package /packagepath:"C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-Scripting.cab"
    dism /image:C:\boot\macrium\mount /add-package /packagepath:"C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-Scripting_en-us.cab"
    But even with all that included, I still have the same error about the memory.

    Does anyone have a WinPE 5.0 x64 bootable environment working on a TPM-enabled machine? If so, how did you build your custom WinPE environment?

    Thanks!

      My System SpecsSystem Spec

  2. #2


    I resolved the issue, but here's how I got to it:

    1) I even tried using the 8.0 ADK, but I still got the same error.

    2) At one point during my troubleshooting, I stopped just prior to performing the Commit to create the WinPE image. Then I navigated to the <mount directory>\Windows\System32 and ran manage-bde.exe. The result: A Windows error (something to the effect that the program crashed/stopped working).

    3) I tried running Notepad.exe and it worked fine.

    4) I compared the manage-bde.exe from my mount directory to the one in C:\Windows\System32 using the comp utility and they were identical.

    5) I have always been able to run C:\Windows\System32\manage-bde.exe. So I created a "temp" subdirectory in my mount directory and copied C:\Windows\System32\manage-bde.exe. When I tried to run it, I got that error (program crashed/stopped working).

    6) Running it from the C:\Windows\System32 directory, however, worked without any issue. This led me to conclude that it required some dependent files in C:\Windows\System32.

    7) After a bit more troubleshooting, I discovered that in order for it to run, it needed something in directory C:\Windows\System32\en-US\. I copied that folder I into my "temp" folder on my mount directory and then manage-bde.exe was able to run without any issues.

    8) Final solution was to create a subdirectory called "BitLocker" in <mount directory>\Windows\System32, then copy C:\Windows\System32\manage-bde.exe and C:\Windows\System32\en-US\ into it. Then I performed the Commit to finalize and create my WinPE image.

    9) Upon booting my WinPE environment, in the Command Prompt, I change to the "BitLocker" directory and run
    manage-bde.exe from there to unlock my BitLocker volumes. No errors.
      My System SpecsSystem Spec

How to enable BitLocker support (unlock drive) in WinPE 5?
Related Threads
How to Unlock a Drive using BitLocker Recovery in Windows 8 and 8.1 There are several reasons that might make a PC go into recovery mode. For example, your organization might have a password security policy that locks you out after a certain number of failed attempts to sign in. Or perhaps...
I recently connected an iscsi drive to my asus tablet. I was not aware that bit locker was on. when I disconnected the drive I could not access it on my other pc. I reconnected it to the asus tablet and went to the system screen and turned off bitlocker. I got the screen saying that it was...
How to Turn On or Off Auto-unlock of BitLocker Encrypted Data Drives in Windows 8 Once a data drive has been protected with BitLocker, access to the drive is authenticated before the contents are displayed. A fixed data drive that has been encrypted by BitLocker will either automatically...
Win8.1 Pro x64 Been having a weird problem lately. Whenever I unlock a BitLocker volume (I have two of them), I can't access it. The system doesn't even provide a drive letter. If I try accessing the drive letter in Directory Opus (where the drive letters are always shown, whether the volumes...
Just installed Windows 8.1 Pro OEM and can not find BitLocker. Tried searching, tried control panel, tried tutorials for BitLocker, just doesn't seem to be available.
We have a few computers running Windows 8.1 Pro Update 1 here. For some reason my machine has a black and white DOS-style unlock screen for BitLocker. Another computer we have here has a modern-style, Windows 8 looking, light-blue & white unlock screen for BitLocker. Why has my PC defaulted...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook