Showing posts with label WinPE. Show all posts
Showing posts with label WinPE. Show all posts

Monday, December 29, 2014

Creating a Ghost WinPE WMI File

    These commands are run in Deployment Tools Command Prompt
    1. Create the WIM file:
    2. http://technet.microsoft.com/en-us/library/cc709665%28v=ws.10%29.aspx
      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
      wpeinit
      \Ghost\Ghost32.exe
    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