Running the script for creating a WinPE image
Run the provided scripts, depending on the WinPE version that you use. For more information about the version specific script, see Preparing-a-system-for-WinPE-image-creation.
Before you begin
- On the machine where you are creating the image files, create a temporary local directory to hold the image files. For example: C:\BMC_BL\tmp.
- Create the input parameters file used by the script. See Creating-the-input-parameters-ini-file.
To run the script
- Open a command prompt using the following method:
- If you have WAIK installed: Start > Microsoft Windows AIK > Deployment Tools Command Prompt
- If you have ADK installed: Start > Windows Kit > Windows ADK > Deployment and Imaging Tools Environment
Enter the cscript command with the following arguments:cscript //nologo "createWinPEScriptPath>" <inputFilePath>
Where:cscript — Calls the Visual Basic (.vbs) script without displaying a message box type of user interface.//nologo — (Optional) Hides the MicroSoft copyright information.<createWinPEScriptPath> — Specifies the path to the CreateWinPE script. Enclose this path in double quotation marks (").<inputFilePath> — Specifies the path to the input file containing the image creation parameters.
For example:cscript //nologo "C:\BMC_BL\provisioning\winpe\CreateWinPE2_x.vbs" C:\winpe_x86.ini
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*