How to Customize Windows PE 4.0 and above using Symantec Encryption Desktop 10.3.2 and PGPRecoveryGUI.exe

book

Article ID: 181701

calendar_today

Updated On:

Products

Desktop Email Encryption Drive Encryption

Issue/Introduction

 

Resolution

This document includes information on how to configure WinPE 4.0 and WinPE 5.0 for use with the PGPRecoveryGUI.exe utility.

The Symantec Encryption Desktop 10.3.2 release introduces a Recovery GUI utility to provide a Graphical User Interface (GUI) for a better user experience. It requires an additional binary "PGPRecoveryGUI.exe" to be included in the image when creating the winpe.wim file and generating the WinPE.iso file.  

Symantec Encryption Desktop 10.3.2 is required with relevant Windows Assessment and Development kit (ADK) already installed. A familiarity with generating WinPE ISO files using the Windows ADK is assumed.

 

Customizing Windows PE 4.0/5.0 for 32-bit Windows Environment:

  1. Select Start> All Programs> Windows Kits> Windows ADK. The "Deployment and Imaging Tools Environment" prompt appears with the correct path variables, run this command prompt as an administrator.

    To create an image for 32-bit Windows environment, run the following command: 
    copype.cmd x86 C:\winpe_x86 
     
  2. Close " Deployment and Imaging Tools Environment" command prompt.
  3. Open Windows command prompt as an administrator and run the below command

    xcopy c:\winpe_x86\media\sources\boot.wim c:\winpe_x86\winpe.wim
     
  4. Create C:\WDE folder on your machine and Copy the following files into the Windows folder C:\WDE.

    These files can be copied from the PGP WDE installation directory (from a system that has Symantec Encryption Desktop installed). 
    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\PGPPE.exe 
    C:\Program Files\PGP Corporation\PGP Desktop\PGPStart.exe 
    C:\Program Files\PGP Corporation\PGP Desktop\Stage1 
    C:\Program Files\PGP Corporation\PGP Desktop\PGPwde.exe %SYSTEMROOT%\system32\PGPsdk.dll 
    C:\Program Files\PGP Corporation\PGP Desktop\PGPRecoveryGUI.exe
    %SYSTEMROOT%\system32\pgpsdknl.dll 
    %SYSTEMROOT%\system32\PGPwd.dll 
    %SYSTEMROOT%\system32\PGPcl.dll 
    %SYSTEMROOT%\system32\PGPiconv.dll 
    %SYSTEMROOT%\system32\PGPsdkUI.dll 
    %SYSTEMROOT%\system32\PGPwdesdk.dll 
    %SYSTEMROOT%\system32\SHFOLDER.dll 
    %SYSTEMROOT%\system32\drivers\PGPwded.sys 
    %SYSTEMROOT%\system32\drivers\PGPsdk.sys 
     
  5. Run the following command.
    cd C:\WDE
    Pgppe /winpe c:\winpe_x86 c:\wde
     
  6. Copy the file c:\winpe_x86\winpe.wim to c:\winpe_x86\media\sources\boot.wim and overwrite the old boot.wim file. To do this, run the following command

    xcopy /y c:\winpe_x86\winpe.wim c:\winpe_x86\media\sources\boot.wim
     
  7. Exit from Windows command prompt.
     

Customizing Windows PE 4.0/5.0 for 64-bit Windows Environment:

  1. Select Start> All Programs> Windows Kits> Windows ADK. The "Deployment and Imaging Tools Environment" prompt appears with the correct path variables, run this command prompt as an administrator.
    To create an image for 64-bit Windows environment, run the following command: 

    copype.cmd amd64 C:\winpe_amd64
     
  2. Close " Deployment and Imaging Tools Environment" command prompt.
  3. Open Windows command prompt as an administrator mode and run the below command

    xcopy c:\winpe_amd64\media\sources\boot.wim c:\winpe_amd64\winpe.wim 
     
  4. Create C:\WDE folder on your machine and copy the following files into the Windows folder C:\WDE.

    These files can be copied from the PGP WDE installation directory (from a system that has Symantec Encryption Desktop installed). 
    C:\Program Files (x86)\PGP Corporation\PGP Desktop\pgpbootb.bin 
    C:\Program Files (x86)\PGP Corporation\PGP Desktop\pgpbootg.bin 
    C:\Program Files (x86)\PGP Corporation\PGP Desktop\Stage1 
    C:\Program Files\PGP Corporation\PGP Desktop\WinPE\PGPsdk.dll 
    C:\Program Files\PGP Corporation\PGP Desktop\WinPE\pgpsdknl.dll 
    C:\Program Files\PGP Corporation\PGP Desktop\WinPE\PGPwd.dll 
    C:\Program Files\PGP Corporation\PGP Desktop\WinPE\PGPcl.dll 
    C:\Program Files\PGP Corporation\PGP Desktop\WinPE\PGPiconv.dll 
    C:\Program Files\PGP Corporation\PGP Desktop\WinPE\PGPsdkUI.dll 
    C:\Program Files\PGP Corporation\PGP Desktop\WinPE\PGPwdesdk.dll 
    C:\Program Files\PGP Corporation\PGP Desktop\WinPE\PGPwde.exe 
    C:\Program Files\PGP Corporation\PGP Desktop\WinPE\PGPwded.sys 
    C:\Program Files\PGP Corporation\PGP Desktop\WinPE\PGPsdk.sys 
    C:\Program Files\PGP Corporation\PGP Desktop\WinPE\PGPPE.exe 
    C:\Program Files\PGP Corporation\PGP Desktop\WinPE\PGPStart.exe 
    C:\Program Files\PGP Corporation\PGP Desktop\WinPE\PGPRecoveryGUI.exe

    %SYSTEMROOT%\system32\SHFOLDER.dll
     
  5. Run the following command.

    cd C:\WDE
    Pgppe /winpe c:\winpe_amd64 c:\wde
     
  6. Copy the file c:\winpe_amd64\winpe.wim to c:\winpe_amd64\media\sources\boot.wim and overwrite the old boot.wim file. To do this, run the following command

    xcopy /y c:\winpe_amd64\winpe.wim c:\winpe_amd64\media\sources\boot.wim
     
  7. Exit from Windows command prompt.
     

How to make customized WinPE as a bootable .iso file or CD/UFD:

  1. To create the bootable .iso file or CD: 

    Open  the "Deployment and Imaging Tools Environment" command prompt as an administrator mode and run the below command to create the bootable .iso file 

    if you are creating 32 bit iso    MakeWinPEMedia /ISO C:\WinPE_x86    C:\WinPE_x86\WinPE_x86.iso
    If you are creating 64 bit iso    MakeWinPEMedia /ISO C:\WinPE_amd64    C:\WinPE_amd64\WinPE_amd64.iso

    Use the CD-record software to burn the CD image file of winpe .iso file. 
     
  2. To create the bootable UFD:

    Use the file diskpart.exe in Windows to format the UFD. Open Windows command prompt as an administrator and run the following command

    diskpart
    select disk 1
    clean
    create partition primary
    select partition 1
    active
    format fs=fat32
    assign
    exit

    Open  the "Deployment and Imaging Tools Environment" command prompt as an administrator and run the below command to create the bootable UFD.

    MakeWinPEMedia /UFD C:\WinPE_x86 F:   or   MakeWinPEMedia /UFD C:\WinPE_amd64 F:

    Note: - F is the drive letter given for USB media in above command, Please use the system assigned drive letter which may differ from above example.