Monday, December 29, 2014

Creating a Ghost WinPE WMI File

    These commands are run in Deployment Tools Command Prompt
    1. Create the WIM file:
      copype.cmd x86 c:\winpe_x86
    3. Mount the WIM file:
    4. imagex /mountrw c:\winpe_x86\winpe.wim 1 c:\winpe_x86\mount
    5. Add drivers to WIM file:
    6. Dism /Add-Driver /Image:"c:\winpe_x86\mount" /Driver:"D:\DownThemAll Downloads\sp68473\Drivers" /RECURSE
    7. Copy Ghost Files into Folder:
      1. Make a directory under the mount folder
      2. Mkdir C:\winpe_x86\mount\Ghost
      3. Copy files into folder
    8. Edit the startnet.cmd and add \Ghost\ghost32.exe
      Startnet.cmd File Contents
    9. Unmount the Windows PE image and create media
    10. Dism /Unmount-WIM /MountDir:"C:\winpe_x86\mount" /commit
    11. Add the WIM to the Boot WIMs in WDS


    1. The commands are typed in the Deployment Tools Command Prompt

    2. Adding TightVNC Server Portable:
      - Download TightVNCServerPortable_2.7.10_Development_Test_1_English.paf and install it on the local machine.
      - If you already have TightVNC running, kill the application
      - Run the TightVNCServerPortable software and configure it.
      - Copy the TightVNCServerPortable folder into the mount folder of the WinPE setup before step 5.

      Step 5:
      Change the startnet.cmd file to the following:

      Wpeutil DisableFirewall
      start \TightVNC\TightVNCServerPortable.exe
      start \Ghost\Ghost32.exe

      The disabling of the firewall allows TightVNC to work
      The use of start in front of the TightVNC and ghost commands is to prevent hanging.