You can manually modify the Windows PE build image by creating directories, adding files, modifying files and scripts, or making any other changes required by your deployment. The following sections describe the methods for modifying the Windows PE build image.
If you modify the image manually, you must recreate the ISO deployment file. When you have completed your changes, run the SGTKWinPE.cmd script by using the .ini file that you used previously, adding the /ISO switch to regenerate the ISO file. Then run the SGTKWinPE.cmd script again, using the .ini file that was previously used, and add the /StartISO switch to recreate the CD or DVD, as described in the following example procedure.
The example uses the ScenarioINIs\Network\Windows_x86_EE.ini settings file.
- Change directory to \sgshare\sgdeploy\sgtkwinpe.
- Run the following command to generate the initial image without creating an ISO image or starting the media burning software: SGTKWinPE.cmd ScenarioINIs\Network\Windows_x86_EE.ini /Image
- Manually modify the generated Windows PE image in the \sgshare\sgdeploy\WinPE_ScenarioOutput\Network_Win2008_x86_EE\ISO directory.
- Create the ISO file with the modified image by using the SGTKWinPE command and the /ISO option, as shown:
SGTKWinPE.cmd ScenarioINIs\Network\Windows_x86_EE.ini /ISO
- Start the CD burning software by using the SGTKWinPE command and the /StartISO option as shown:
SGTKWinPE.cmd ScenarioINIs\Network\Windows_x86_EE.ini /StartISO