[Win 10] Create Win10 PE By ADK

1. open deployment and image tools Environment by administrator
2. copy Win10 PE x86&amd64
    Command :
    x86 :copype.cmd x86 c:\winpe32 
    x64 :copype.cmd amd64 c:\winpe64
    it will create file to save Winpe file in C:\Winpe32 & C:\Winpe64

The needed dism tools can be found here, if you have used the default install location:
c:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\x86\DISM\
c:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM\


The location of the winpe.wim has of course also changed, copy these to a different location, because they get overwritten when you commit.
c:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\en-us\winpe.wim
c:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\en-us\winpe.wim


I'm not mounting two wim images at the same time, of course, but the mount directories in this example are different, so we use these commands to get to the correct directory:
echo c:\opsi\startnet.cmd > "C:\winpe32\mount\Windows\System32\startnet.cmd"
echo c:\opsi\startnet.cmd > "C:\winpe64\mount\Windows\System32\startnet.cmd"


The rest of the instructions are the same.

轉自 : https://forum.opsi.org/viewtopic.php?t=7886



留言

熱門文章