How do I add bitlocker support commands to winpe?
Tried following this tutorial https://4sysops.com/archives/unlock-bitlocker-under-windows-pe/
But when I boot up my winpe image and try to run manage-bde
I can "manage-bde is not recognized..."
Here are the packages I added to my Windows 10 x64 winpe (booting to an x64 windows 10 PC):
winpe-wmi.cab
winpe-scripting.cab
WinPE-PowerShell.cab
winpe-SecureBootCmdlets.cab
winpe-SecureBootStartup.cab
Solution 1:
This dude had the same problem: http://www.eightforums.com/system-security/46543-how-enable-bitlocker-support-unlock-drive-winpe-5-a.html
I didn't create a separate subfolder like he did, but I can confirm this worked for me with the win10 PE image:
8) Final solution was to create a subdirectory called "BitLocker" in \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.
Solution 2:
In order to get this to work, you have to load the necessary CAB files from C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs. Once those are loaded, you have to load the same CAB files from the C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us folder. Once I loaded both instances of the CAB files, the commands worked in WinPE.
Solution 3:
It's easier to download Windows Media Creation tool https://www.microsoft.com/en-us/software-download/windows10
boot and start in the troubleshooting menu the command line.