Creating a PE for windows 10

Antworten
Benutzeravatar
SisterOfMercy
Beiträge: 1528
Registriert: 22 Jun 2012, 19:18

Creating a PE for windows 10

Beitrag von SisterOfMercy »

http://download.uib.de/opsi_stable/doc/ ... ckages-nt6

This is outdated.
To create a windows 10 PE you need the "ADK for Windows 10" from this site: https://msdn.microsoft.com/en-us/librar ... 85%29.aspx
In the installation you can uncheck everything, and then check 'Windows Preinstallation Environment (Windows PE)". This will also check the deployment tools (and other dependencies, if any).

Instead of opening a command prompt window you need to run the "Deployment and Imaging Tools Environment" from the start menu. This also opens a command prompt, but with a few environment variables set.

You have to cd to the correct directory, "Windows Preinstallation Environment", and then the copype.cmd works!

Code: Alles auswählen

copype.cmd x86 c:\winpe32
copype.cmd amd64 c:\winpe64
The needed dism tools can be found here, if you have used the default install location:

Code: Alles auswählen

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.

Code: Alles auswählen

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:

Code: Alles auswählen

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.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
marcolefo
Beiträge: 13
Registriert: 10 Jun 2013, 23:05

Re: Creating a PE for windows 10

Beitrag von marcolefo »

Thanks a lot for this post.

I just want to add this

Code: Alles auswählen

move "C:\winpe32\winpe.wim" "C:\winpe32\media\sources\boot.wim"
move "C:\winpe64\winpe.wim" "C:\winpe64\media\sources\boot.wim"
The forlder name has changed ISO to media
OPSI 4.0.7 / Debian 8 Jessie
Antworten