my customized Windows 10
Instructions:
-
Install the Windows ADK and use
copype
to create a WinPE environment: https://docs.microsoft.com/en-us/windows-hardware/get-started/adk-install https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/winpe-create-usb-bootable-drive -
Copy all .bat files into the WinPE directory.
-
Look at all scripts and change the paths to match your environment.
-
Start
cmd.bat
as admin. In the cmd, start.\mount.bat
to mount the WinPE boot image. Now you can e.g. edit.\mount\Windows\System32\startnet.cmd
to launch your custom scripts. In this example, add the linestart powershell Powershell.exe -noexit -executionpolicy remotesigned -File X:\start.ps1
to startnet.cmd and place start.ps1 in .\mount. -
Edit
german.bat
to match your keyboard layout and execute it from the elevated cmd. -
Run
.\unmount.bat
to unmount the image from the elevated cmd and use.\makeiso.bat
to create a bootable .iso. -
Boot that iso on a machine that has an already installed Windows 10 on it. Use
Dism /Capture-Image
orimagex /capture
to copy the Windows to a .wim file. -
Boot the machine on which you want to install your custom Windows 10 and use diskpart to create a partition layout. I have included the layout that I use in uefi.txt which you can apply with
diskpart /s D:\uefi.txt
(your path may be different). Then usedism /Apply-Image
orimagex /apply
to copy the .wim file to the machine.
Hints:
You can use the start.ps1 to automate the steps 7 and 8. Additionally you could e.g. ask for the new pc name and user name in start.ps1 and automatically rename the new pc accordingly and create a new user.