From 3c51d0163c55b219e5acc26bd2d16ef6e2669825 Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Mon, 29 Mar 2021 01:51:56 +0200 Subject: [PATCH] rename --- 05_CreateStick.cmd => 05_PrepareStick.cmd | 2 +- README.md | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) rename 05_CreateStick.cmd => 05_PrepareStick.cmd (86%) diff --git a/05_CreateStick.cmd b/05_PrepareStick.cmd similarity index 86% rename from 05_CreateStick.cmd rename to 05_PrepareStick.cmd index d5f6373..5689aa6 100644 --- a/05_CreateStick.cmd +++ b/05_PrepareStick.cmd @@ -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% diff --git a/README.md b/README.md index 21d62a9..ad501cf 100644 --- a/README.md +++ b/README.md @@ -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!