ArsenalRecon / Arsenal-Image-Mounter

Arsenal Image Mounter mounts the contents of disk images as complete disks in Microsoft Windows.
https://ArsenalRecon.com/weapons/image-mounter
Other
496 stars 85 forks source link

BitLocker password prompting #34

Closed lollita closed 1 year ago

lollita commented 1 year ago

Do it have a command line to mount a BitLocker vhdx prompting for password as gui do without notification? Do ti have a WinApi also to get it.

LTRData commented 1 year ago

Yes, there is a WMI API for Bitlocker that you can use also with AIM mounted images. Otherwise, to simply show the Bitlocker unlock GUI dialog, you can start bdeunlock.exe (in system32 directory) with drive letter as parameter.

lollita commented 1 year ago

I found UnlockWithPassphrase WMI but a command prompt as BdeUnLock.exe. Do it esist?

LTRData commented 1 year ago

Yes, manage-bde -unlock D: -pw

lollita commented 1 year ago

Ty, i know but I mean WMI query to prompt with a Windows InputBox as BdeUnLock.exe, not dos bos as manage-bde.

LTRData commented 1 year ago

Ah, no WMI does not show dialog boxes in that way. It is intended for non-interactive use. If you want a GUI password prompt, use bdeunlock.exe.