Map a network share to the root TFTP directory on the PXE/TFTP server and create a \Boot folder. To view currently mounted images, enter dism.exe /get-MountedWiminfo.
Verify that the message The operation completed successfully is displayed. dism.exe /mount-image /imagefile:c:\winpe_amd64\media\sources\boot.wim /index:1 /mountdir:C:\winpe_amd64\mount Mounting an image file unpacks the file contents into a folder so that you can make changes directly or by using tools such as DISM. Mount the base Windows PE image (winpe.wim) to the \mount directory using the DISM tool. In the previous example, the following directories are created: C:\winpe_amd64 The script creates the destination directory structure and copies all the necessary files for that architecture. copype.cmd įor example, the following command copies amd64 architecture files to the C:\winpe_amd64 directory: copype.cmd amd64 C:\winpe_amd64 If the directory doesn't already exist, it will be created. The value of can be x86, amd64, or arm and is a path to a local directory. The script requires two arguments: hardware architecture and destination location. Run the following command to copy the base Windows PE files into a new folder. The Deployment and Imaging Tools Environment shortcut opens a Command Prompt window and automatically sets environment variables to point to all the necessary tools. Right-click Deployment and Imaging Tools Environment and then select Run as administrator. On the deployment computer, select Start, and type deployment. A file server: A server hosting a network file share.Īll four of the roles specified above can be hosted on the same computer or each can be on a separate computer.A PXE server: A server running the TFTP service that can host Windows PE boot files that the client will download.