These commands are run in Deployment Tools Command Prompt
- Create the WIM file:
http://technet.microsoft.com/en-us/library/cc709665%28v=ws.10%29.aspx
copype.cmd x86 c:\winpe_x86
- Mount the WIM file:
imagex /mountrw c:\winpe_x86\winpe.wim 1 c:\winpe_x86\mount
- Add drivers to WIM file:
Dism /Add-Driver /Image:"c:\winpe_x86\mount" /Driver:"D:\DownThemAll Downloads\sp68473\Drivers" /RECURSE
- Copy Ghost Files into Folder:
- Make a directory under the mount folder
Mkdir C:\winpe_x86\mount\Ghost
- Copy files into folder
- Edit the startnet.cmd and add \Ghost\ghost32.exe
Startnet.cmd File Contents
wpeinit
\Ghost\Ghost32.exe
- Unmount the Windows PE image and create media
Dism /Unmount-WIM /MountDir:"C:\winpe_x86\mount" /commit
- Add the WIM to the Boot WIMs in WDS