Creating a Ghost WinPE WMI File
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
The commands are typed in the Deployment Tools Command Prompt
ReplyDeleteAdding TightVNC Server Portable:
ReplyDelete- 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:
wpeinit
Wpeutil DisableFirewall
ipconfig
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.