Solved

how to use encrypted bitlocker vhd in winpe 4

Posted on 2014-10-14
8
402 Views
Last Modified: 2014-10-15
I have made a winpe using the windows 8.0 adk. I have added the the packages

 WinPE-DismCmdlets.cab
WinPE-Dot3Svc.cab
WinPE-EnhancedStorage.cab
WinPE-FMAPI.cab
WinPE-Fonts-Legacy.cab
WinPE-HTA.cab
WinPE-MDAC.cab
WinPE-NetFx4.cab
WinPE-PowerShell3.cab
WinPE-RNDIS.cab
WinPE-Scripting.cab
WinPE-SecureBootCmdlets.cab
WinPE-SecureStartup.cab
WinPE-StorageWMI.cab
WinPE-WDS-Tools.cab
WinPE-WinReCfg.cab
WinPE-WMI.cab

add all there en-us files.

When the wim is still mounted i can go to the Windows\System32 and see the file "manage-bde-exe" in that dir.

But ones i boot the wim and ready to use the cmd. i type

 manage-bde-exe

press enter and nothing happens.

i don't get the help list. Just no feed back at all.

i try manage-bde-exe -status f:
and
manage-bde -status f:

drive F is the bitlocked vhd i mounted with diskpart.


Has any one used bitlocker in a winpe to unlock a vhd after you mount it with diskpart ?
0
Comment
Question by:armasmike
  • 4
  • 4
8 Comments
 
LVL 53

Expert Comment

by:McKnife
ID: 40381583
Hi.

Yes, I used it successfully. Don't create a WinPE disk, what for? Simply use a win81. setup disks, that IS winPE. With that disk, manage-bde works as expected.
PS: you often wrote manage-bde-exe instead of manage-bde.exe
0
 

Author Comment

by:armasmike
ID: 40381926
ok thank you the manage-bde-exe just a typo.

if i copy the system32 dir from the win81 install.wim and put it in my winpe 4 will that work ?

We are using a winpe with a custom hta for all are imaging needs.

I wish it was just that easy to only use the win81 setup cd.

so has anyone gotten this to work in a winPE image ?
0
 
LVL 53

Expert Comment

by:McKnife
ID: 40381996
"if i copy the system32 dir from the win81 install.wim and put it in my winpe 4 will that work ?" - don't know, you'd have to try.
0
 
LVL 53

Expert Comment

by:McKnife
ID: 40381997
Couldn't you just create a bootable USB drive from an original 8.1 ISO and put it to USB (using Microsoft's USB download tool) and afterwards add all your stuff to it? I don't see why that shouldn't work. And that's really easy :)
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

Author Comment

by:armasmike
ID: 40382020
"if i copy the system32 dir from the win81 install.wim and put it in my winpe 4 will that work ?" - don't know, you'd have to try.   that didn't work.

But i did get the boot.wim from the win 8.1 dvd put it on a boot usb and it's work i get the windows 8.1 setup screen.

If i go to the repair\Advanced options\cmd

then go to the x:\windows\system32 and run

manage-bde.exe it works.

SO my next step is how can i get that boot.wim NOT to start the windows setup and just run the cmd like a winpe does.
0
 
LVL 53

Accepted Solution

by:
McKnife earned 500 total points
ID: 40382072
Ok, you are looking for perfection :)
I still recommend to use my workaround. When it's booted, press shift F10 and you are rightaway at the cmd. Then just start that script of yours, the drive letter will usually be the same anywhere.
0
 

Author Comment

by:armasmike
ID: 40382629
OK i got it to work.

this is what i did.

I used the WinPE_x64-win8 I could try the 8.1 pe but i don't want to try it now that i have the win 8 pe working.

i then download the http://www.microsoft.com/en-us/download/confirmation.aspx?id=5188 and mounted the AMD64\WINPE.WIM

i copied the manage-bde.exe and manage-bde.wsf  and put them in the win8pe under the windows\system32 folder.

Then i copied the Windows\System32\en-US from the win7 sp1 pe and put that in the Windows\System32\en-US folder on the win8pe ONLY i didn't copy file that where already in there. so NO copy and replace.

unmounted my win8pe and boot it ran manage-bde and there is was all the bitlocker info.
0
 

Author Closing Comment

by:armasmike
ID: 40382630
I got it working but you did help me to thank you
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

this article is a guided solution for most of the common server issues in server hardware tasks we are facing in our routine job works. the topics in the following article covered are, 1) dell hardware raidlevel (Perc) 2) adding HDD 3) how t…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now