This commit is contained in:
Michael H.G. Schmidt 2021-03-29 01:51:56 +02:00
parent 9fdb7f2093
commit 3c51d0163c
2 changed files with 5 additions and 4 deletions

View File

@ -38,7 +38,7 @@ echo mounting disk image (iso) with powershell ...
powershell Mount-DiskImage -ImagePath %ISOFILE%
echo copying files from image to targetpath %USBDRIVE% ...
robocopy \\.\CDROM0 %USBDRIVE% /MIR /256 /NFL /NDL /R:10
robocopy \\.\CDROM0 %USBDRIVE% /MIR /256 /NFL /NDL /R:10 /XF *.wim /XF *.esd
echo unmounting disk image (iso) ...
powershell Dismount-Diskimage -ImagePath %ISOFILE%

View File

@ -450,14 +450,15 @@ USB stick formatted.
```
## 9.2 Create standard Windows media
## 9.2 Prepare the USB stick
The next script needs the ISO file again and will prepare the boot media with all needed files EXCEPT the image files (boot.wim & install.esd). In case you need a standard image (unmodified) you will have to use the Microsoft "MediaCreationTool20H2.exe" included in the "software" folder.
The next script needs the ISO file again and will create a standard boot media with an UNMODIFIED windows 10 version. This is a good way to create a standard windows media without being forced to use Windows media creator or other rubbish tools.
Just execute:
```dos
cd /D %USERPROFILE%\workspace\github\w10install
05_CreateStick.cmd D: iso\Win10_20H2_English_x64.iso
05_PrepareStick.cmd D: iso\Win10_20H2_English_x64.iso
```
After creating the stick with this script you can use it for a standard Windows 10 installation!