How to create VistaPE with PGP WDE and Wireless Networking Drivers

The PGP WDE section of this post is copied from the excellent guide at spiceworks.com, I’m recreating it in case that page ever disappears: http://community.spiceworks.com/how_to/show/1366

How to create a VistaPE ISO using WinBuilder:  http://community.spiceworks.com/how_to/show/631

Wireless Networking in VistaPE:

To enable wireless networking to work use WinBuilder, add and edit the plugin for PENetworkManager. Download and extract the wireless drivers required by the the hardware and link to them as additional drivers in the plugin configuration:


When booting into VistaPE wait for the hardware detection to complete before launching PENetworkManager, you should then be able to configure the wireless adapter and connect to wireless networks.

Integrating PGP drivers into a VistaPE ISO

If you have ever tried to use a boot disk to run an anti-virus or malware scan on computer running PGP encryption, you have seen it is not an easy thing to do. The boot disk will likely report the PGP encrypted drive as unformatted.

To get around this, we are going to integrate the PGP drivers into our VistaPE ISO so we can burn it to disk or put it on a USB stick. This is an add-on to the previous How-To “Creating a VistaPE boot disk / ISO” located here http://community.spiceworks.com/how_to/show/631

Requirements:

– Completed creating a VistaPE boot disk / ISO – http://community.spiceworks.com/how_to/show/631
– Installed version of PGP
– Download and install WAIK if you have not already done so – http://www.microsoft.com/downloads/details.aspx?FamilyID=c7d4bc6d-15f3-4284-9123-679830d629f2&DisplayLang=en
– Password to unlock the PGP encrypted disk.

1.

Step 1

Go to PGP website and download the proper PE Plug-in for your version of PGP. https://support.pgp.com/?faq=807
Note: It is important to use the SAME version that your area uses otherwise you may not be able gain access to, and may even corrupt your encrypted volumes.

2.

Step 2

Create a folder called WDE on the root of your C: drive – (C:\WDE). In this folder, place the following files from your local install of PGP.

c:\Program Files\PGP Corporation\PGP Desktop\pgpbootb.bin
c\Program Files\PGP Corporation\PGP Desktop\pgpbootg.bin
c:\Program Files\PGP Corporation\PGP Desktop\PGPwde.exe
c:\Program Files\PGP Corporation\PGP Desktop\Stage1 :note Stage1 is the file name with no extension;
c:\Windows\system32\PGPsdk.dll
c:\Windows\system32\PGPsdknl.dII
c:\Windows\system32\PGPwd.dlI
c:\Windows\system32tdrivers\PGPwded.sys

3.

Step 3

Create a folder called PGP on the root of your C: drive – (C:\PGP).
Extract the files you downloaded in step one. You’ll probably have to extract a resulting zip file (they encapsulate it in another zip file within the original zip file). Finally, you will get the real two files that we want, pgppe.exe and pgpstart.exe. Put these two files in the folder C:\PGP

4.

Step 4

Open a command prompt and go to c:\program files\Windows AIK\Tools\PETools and run the following command. Replace the first x86 with your system architecture (amd64, IA64, x86).

copype.cmd x86 c:\winpe_x86\

Note: VistaPE can be built on a x64 machine but only VistaPE 32-bit and not VistaPE 64-bit can be built right now.

5.

Step 5

Create a batch file called injectpgp.bat and put it in the Winbuilder076 folder. The contents follow:

cd \
cd pgp
REM Fix path below too
move c:\Winbuilder076\target\vistape-core\vistape.wim c:\winpe_x86\winpe.wim
pgppe /winpe c:\winpe_x86\ c:\wde
REM Fix path below too
move c:\winpe_x86\winpe.wim c:\Winbuilder076\target\vistape-core\vistape.wim
cd \Winbuilder076\
pause

Note: If your paths are different you will have to fix the file to match your paths. Replace Winbuidler076\ with your own path. If successful you should see something similar to below. Where the WDE driver and tools have been installed into winpe.

6.

Step 6

Now back in WinBuilder goto the section under Finalize called “Create ISO/CD/USB” Click the Create a new ISO file (since the VistaPE.WIM file has now just been updated with the new version). This is basically to repackage the ISO since vistape.wim has been injected with the pgp plugin.

7.

Step 7

The ISO will be in your Winbuilder\ISO folder. You can burn this ISO to a CD or follow the directions here to but the ISO onto a USB stick. http://community.spiceworks.com/how_to/show/633

8.

Step 8

Once booted into VistaPE now PGPWDE should work from the command line. Hit the Start Button then click Run then put in cmd.exe and hit ok.
Below are the PGPWDE commands that can be run from the command line to mount a PGP encrypted HD. Enum is to enumerate list the available drives. Status will tell you if the drive is PGP enabled/encrypted. In the Auth line replace xxxx with your passphrase to mount the drive. Note: Those are double dashes in the command switches except the -p “xxxx” which is a single dash.

pgpwde –enum
pgpwde –disk 0 –status
pgpwde –disk 0 –auth -p “xxxx”
pgpwde –h