Arbejdsfiler

Created lørdag 31 august 2019

Step 1: Create working files
No matter what type of media you're going to create, the first thing to do is create a working set of WinPE files on your technician PC.

  1. Start the Deployment and Imaging Tools Environment as an administrator.
  2. Run copype to create a working copy of the Windows PE files. For more information about copype, see Copype command line options.

copype amd64 C:\WinPE_amd64
copype { amd64 | x86 | arm | arm64 } <workingDirectory>

amd64 Copies amd64 boot files and WIM to <workingDirectory>\media.
x86 Copies x86 boot files and WIM to <workingDirectory>\media.
arm Copies arm boot files and WIM to <workingDirectory>\media.
arm64 Copies arm64 boot files and WIM to <workingDirectory>\media.

Note: ARM/ARM64 content may not be present in this ADK.
workingDirectory Creates the working directory at the specified location.

Fra <https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/winpe-create-usb-bootable-drive#step-2-customize-winpe-usually-not-needed>

Mount PE boot Image (work-area)
C:\WinPE_amd64
Dism /Mount-Image /ImageFile:"C:\WinPE_amd64\media\sources\boot.wim" /index:1 /MountDir:"C:\WinPE_amd64\mount"

C:\winPE_x86
Dism /Mount-Image /ImageFile:"C:\winPE_x86\media\sources\boot.wim" /index:1 /MountDir:"C:\winPE_x86\mount"


Unmount PE boot Image
C:\WinPE_amd64
Dism /Unmount-Image /MountDir:"C:\WinPE_amd64\mount" /commit
Dism /Unmount-Image /MountDir:"C:\WinPE_amd64\mount" /discard

C:\winPE_x86
Dism /Unmount-Image /MountDir:"C:\winPE_x86\mount" /commit
Dism /Unmount-Image /MountDir:"C:\winPE_x86\mount" /discard

Make Media
USB:
MakeWinPEMedia /UFD C:\WinPE_amd64 F:
MakeWinPEMedia /UFD C:\winPE_x86 F:

Copyright (C) 2020 Smarken.net
Om ZIM.smarken.net

hit counter


Backlinks: Teknik 1wiki:Windows:WinPE