Installation and Upgrade WinPE - Create a Custom Windows Install USB


Win11USB Banner.png

As you all (should) already know, Windows Setup's install.wim file is growing with each new feature upgrade. It's coming close and soon going over the 4 GB size limit of a FAT32 formatted install media. Today, as I write this, (22-FEB-2022), downloading WIM-based most current public release install media as told here in Shawn Brink's tutorial, the install.wim file is 4.5 GB (UK English Windows 11).

There’s nothing in the UEFI specifications that prevents booting a computer from an NTFS formatted USB flash drive. In fact, this so-called limitation is entirely artificial, caused by the single fact that manufacturer has not included correct drivers in UEFI. Luckily, most modern computers can boot from a single-partition NTFS formatted USB flash drive, and install Windows 11 from a single partition USB media containing WIM image larger than 4 GB (maximum file size on FAT32 media).

But, what to do if the WIM file is over 4 GB, and your computer cannot boot from an NTFS formatted media?

This tutorial will show how to create a USB flash drive containing a FAT32 formatted WinPE partition, and a bigger NTFS formatted Windows Setup partition. When computer is booted from this USB flash drive, the WinPE partition takes care of boot, then runs Windows Setup from bigger setup partition on same USB.

The whole process takes 10 to 20 minutes, but only needs to be done once. In the future, the Windows Setup files on USB can be replaced with newer version of Windows 11.





Contents

Use links to jump to any part, browser back button to return to this table



Part One:Create WinPE
Part Two:Edit WinPE boot.wim
Part Three:Make WinPE ISO
Part Four:Partition USB flash drive
Part Five:Create bootable USB install media

Please notice: I have prepared a custom WinPE ISO image for you. You can download it from my OneDrive: WinPEx64.iso. File size is 474 MB.

Parts One, Two and Three in this tutorial will show how I edited and customized this WinPE image, and are intended to those users who want to learn how to do it by themselves.

Short: if you want to make this easy, download the provided WinPE ISO, and start from Part Four, and you are done in three minutes.




Part One

Create WinPE


1.1 Download and install both Windows 11 ADK (Assessment and Deployment Kit), and Windows PE add-on for the ADK, installing ADK first:

Download ADK.jpg

(Click screenshot thumbnails to open images enlarged.)

1.2 When installing ADK, for purpose of this tutorial, you will only need the Deployment Tools module. Unselecting everything else, download size is less than 100 MB:

ADK Install.jpg


1.3 When both ADK and WinPE add-on have been installed, open an elevated ADK Deployment and Imaging Tools Environment, a special mode of Command Prompt. You will find it in Start > All Apps > W > Windows Kits:

Run Tool.jpg


1.4 The prompt is quite long. Shorten it by jumping to root of the drive where ADK was installed with command cd \ (#1 in next screenshot)

1.5 Create 64-bit WinPE files with following command (#2 in next screenshot), where folder D:\WPEx64 is the folder where WinPE files will be created. Folder will be created automatically, it does not need to exist:

copype amd64 D:\WPEx64

Create PE Folder.jpg


For 32-bit WinPE, the command is as follows:

copype x86 D:\WPEx86


Part Two

Edit WinPE boot.wim


2.1 Depending on which bit architecture you selected, either folder D:\WPEx86 or D:\WPEx64 now contains all files and folders to create a WinPE ISO.

2.2 To edit it, we must mount WinPE boot.wim file for offline servicing. First, create a mount point folder. In this example, I made a folder C:\Mount. Open an elevated PowerShell, and enter following command to mount boot.wim:

Mount-WindowsImage -ImagePath D:\WPEx64\Media\Sources\boot.wim -Index 1 -Path C:\Mount

Change -ImagePath folder WPEx64 to WPEx32 if working with 32-bit WinPE.

2.3 Folder C:\Mount now contains WinPE image, and we can edit it. First thing I made when editing the provided custom WinPE image, I added PowerShell support. By default, WinPE does not support PowerShell.

To enable PowerShell in WinPE, copy and paste the following commands to elevated PowerShell:. Notice that you can copy all commands at once, and paste them all to elevated PowerShell, which will then run them one by one:

Code:
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-WMI.cab"
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-WMI_en-us.cab"
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-NetFX.cab"
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-NetFX_en-us.cab"
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-Scripting.cab"
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-Scripting_en-us.cab"
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-PowerShell.cab"
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-PowerShell_en-us.cab"
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-StorageWMI.cab"
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-StorageWMI_en-us.cab"
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-DismCmdlets.cab"
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-DismCmdlets_en-us.cab"

The above commands will add PowerShell to a 64-bit WinPE. If you are creating a 32-bit WinPE, change the folder amd64 at the end of long path, near end of each command to x86. An example using the first of above listed commands:

64-bit WinPE:

Rich (BB code):
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-WMI.cab"

32-bit WinPE:

Rich (BB code):
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\WinPE-WMI.cab"

2.4 This custom WinPE requires two scripts, a PowerShell script to find out drive letter of the NTFS partition on USB containing setup files, and then run Windows Setup, and a batch file to run that PS script.

Opening mount point folder C:\Mount, I created a folder Scripts on its root to store these two scripts:

Scripts folder created.jpg


2.5 First the small PS script. To save to mount point folder requires elevated rights, so we need to open Notepad elevated (run as administrator). Copy and paste the following code to it:

Powershell:
$SetupVolume = (Get-Volume -FileSystemLabel Setup).DriveLetter
$SetupFile = $SetupVolume + ':\setup.exe'
cmd /c $SetupFile

First line will search the USB for volume (partition) labelled Setup, and set its drive letter in variable $SetupVolume. Second line then creates variable $SetupFile, adding the important :\setup.exe to drive letter found in first line. For instance, if $SetupVolume is F, $SetupFile is F:\setup.exe.

Last line then executes command setup.exe from bigger NTFS partition Setup, which starts Windows Setup.

Save the file in folder C:\Mount\Scripts as SetupW10.ps1. In Save As dialog, remember to select Save As Type as All files:

Save PS Script.jpg


2.6 Next, short batch file. Copy and paste following code to an elevated Notepad:

Code:
@echo off
rem
rem Run PowerShell script to start Windows Setup
rem
cls
echo.
echo Starting windows Setup...
powershell -ExecutionPolicy bypass -file "X:\Scripts\SetupW11.ps1"

Only important line in this batch file is the last one. It executes the PS script made in step 2.5.

Save it to folder C:\Mount\Scripts as WinSetup.cmd. Again, as with the PS script, in Save As dialog, remember to select Save As Type as All files.

2.7 Last but not least, we need to edit file C:\Mount\Windows\System32\startnet.cmd. Startnet.cmd functions exactly like autoexec.bat did in Windows XP and older Windows versions, running every command in it automatically when WinPE boots.

By default, startnet.cmd only contains one command, wpeinit, which enables WinPE networking capabilities. We add two other commands to it.

Open startnet.cmd in an elevated Notepad. Copy and paste following code to it:

Code:
wpeinit
powercfg /s 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
X:\Scripts\WinSetup.cmd

The first line is the default command to initialize networking. In second line, we set a High Performance power plan to speed up Windows installation. In last line, we execute the batch file created in step 2.6.

When computer is booted from WinPE media, the contents of WinPE will be copied to RAM disk X. This is why we can use the path X:\Scripts on last command line, there being no need to find out the drive letter for volume containing the Scripts folder.

2.8 In an elevated PowerShell, enter following command to save changes to WinPE:

Dismount-WindowsImage -Path C:\Mount -Save


Part Three

Make WinPE ISO


3.1 Open an elevated ADK Deployment and Imaging Tools Environment as told in step 1.3.

3.2 Enter following command to create WinPE ISO:

MakeWinPEMedia /ISO D:\WPEx64 F:\WinPEx64.iso

Change path D:\WPEx64 to D:\WPEx86 if creating a 32-bit WinPE ISO. Path F:\WinPEx64.iso is the path and name of the ISO file that will be created.


Part Four

Partition USB flash drive


4.1 Plug in an at least 8 GB USB lash drive. Open an elevated PowerShell, start Windows Disk Partitioning utility with command DISKPART.

Enter command LIST DISK to show all attached disks, find out the disk ID for your USB Flash Drive. In my case now, the USB is DISK 3:

Diskpart.jpg


Be careful, absolutely sure that you find out correct Disk ID! In following step, the selected disk will be wiped clean, and new partitions will be created. Selecting wrong disk may cause Windows or data disks being formatted, all data lost.


4.2 Still in DISKPART, run following commands one by one. In first command, replace X (disk ID) with actual Disk ID for your USB flash drive:

select disk X
clean
create partition primary size=1024
format quick fs=fat32 label="Boot"
assign
create partition primary
format quick fs=ntfs label="Setup"
assign

4.3 Quit DISKPART with command EXIT. Your USB flash drive is now correctly partitioned, containing a 1 GB partition Boot, and partition Setup which occupies the rest of the USB:

USB Boot and Setup partitions.jpg





Part Five

Create bootable USB install media


5.1 Mount the WinPE ISO image created in Step 3.2 as a virtual CD / DVD drive (right click, select Mount). Copy its contents, all files and folders, to partition Boot on USB.

5.2 Mount a Windows 11 ISO image as a virtual CD / DVD drive (right click, select Mount). Copy its contents, all files and folders, to partition Setup on USB.

That's it! You have now a bootable USB flash drive to install Windows, even if the install.wim or install.esd file is bigger than FAT32 size limit 4 GB. In the future, when you need install media for a new Windows version, simply format the Setup partition on USB, and copy contents of new ISO to it.

Kari
 

Attachments

  • WIM Size.jpg
    WIM Size.jpg
    24.6 KB · Views: 208
Last edited by a moderator:
Absolutely no need. If there was a problem, you would have received an error
OK, you talked me off of the ledge. I won't run through the entire process again. :-)

On the latest MS updates, though, I had decided to not add Preview Updates. However, updating my recent modified ISO would be fairly easy, right? Since this is an update intended for the new media section I would copy the files in my new ISO to the Project\ISO_Files folder, mount the Install.wim from my new ISO file, extract the files contained in kb5034535 to the WinUpdates\Setup_DU and copy them directly to the C:\Project\ISO_Files\Sources folder, commit and export the Install.wim to the Assets folder then use the OSCDIMG command from the the Deployment and Imaging tools environment (elevated) and that's it. I would use the Deployment and Imaging tools environment (elevated) for all of these commands from the Deployment and Imaging tools environment (elevated), correct? There would be no updates needed for either the WinRE.wim or Boot.wim, right?

Do you see any reason why I shouldn't go ahead and do this most recent Setup_DU update?

Thanks,
Bob
 

My Computer

System One

  • OS
    Windows 10 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS
    CPU
    AMD 5900X
    Motherboard
    ASUS TUF Gaming X570-PRO (WiFi 6) AM4 Zen 3 Ryzen 5000 & 3rd Gen Ryzen ATX Motherboard (PCIe 4.0, 2.5Gb LAN, BIOS Flashback, HDMI 2.1, USB 3.2 Gen 2
    Memory
    G.SKILL Trident Z Neo (For AMD Ryzen) Series 32GB (2 x 16GB) 288-Pin RGB DDR4 SDRAM DDR4 3600 (PC4 28800) Desktop Memory Model F4-3600C16D-32GTZN
    Graphics Card(s)
    NVIDIA GeForce GTX750 Ti
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    Acer CZ350CK, Wasabi Mango QHD275 Supreme
    Screen Resolution
    3440 x 1440, 2560 x 1440
    Hard Drives
    1 TB Western Digital SN850 Gen 4 x 4 NVMe
    128GB Crucial CT128M4SSD1 2.5" SSD
    1TB Seagate Barracuda ST1000DM003-9YN162 HD
    16TB Western Digital WD161KRYZ-01AGBB0 HD
    PSU
    EVGA SuperNOVA 750 GT, 80 Plus Gold 750W
    Case
    Phanteks Eclipse P500A
    Cooling
    be quiet! 250W TDP Dark Rock Pro 4
    Keyboard
    Logitech
    Mouse
    IBM
    Internet Speed
    1Gbps
    Browser
    Firefox
    Antivirus
    Malwarebytes
OK, you talked me off of the ledge. I won't run through the entire process again. :-)

On the latest MS updates, though, I had decided to not add Preview Updates. However, updating my recent modified ISO would be fairly easy, right? Since this is an update intended for the new media section I would copy the files in my new ISO to the Project\ISO_Files folder, mount the Install.wim from my new ISO file, extract the files contained in kb5034535 to the WinUpdates\Setup_DU and copy them directly to the C:\Project\ISO_Files\Sources folder, commit and export the Install.wim to the Assets folder then use the OSCDIMG command from the the Deployment and Imaging tools environment (elevated) and that's it. I would use the Deployment and Imaging tools environment (elevated) for all of these commands from the Deployment and Imaging tools environment (elevated), correct? There would be no updates needed for either the WinRE.wim or Boot.wim, right?

Do you see any reason why I shouldn't go ahead and do this most recent Setup_DU update?

Thanks,
Bob
Man, look at you go! You're becoming an expert in this already. You are spot on with everything you just said.
 

My Computers

System One System Two

  • OS
    Win11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self-built
    CPU
    Intel i7 11700K
    Motherboard
    ASUS Prime Z590-A MB
    Memory
    64GB (Waiting for warranty replacement of another 64GB for 128GB total)
    Graphics Card(s)
    No GPU - Built-in Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe SSD
    1 x 2TB NVMe SSD
    1 x 4TB NVMe SSD
    3 x 512GB 2.5" SSD
    1 x 4TB 2.5" SSD
    5 x 8TB Seagate Barracuda HDD
    PSU
    Corsair HX850i
    Case
    Corsair iCUE RGB 5000X mid tower case
    Cooling
    Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Home Computer Specifications, Configuration, and Usage Notes General Specifications ASUS Prime Z590-A motherboard, serial number M1M0KC222467ARP Intel Core i7-11700K CPU (11th Gen Rocket Lake / LGA 1200 Socket) 128GB Crucial Ballistix RGB DDR4 3200 MHz DRAM (4 x 32GB) Corsair iCUE RGB 5000X mid tower case Noctua NH-D15 chromax.black CPU cooler Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Corsair LL-120 RGB Fans (Qty. 3)
    Keyboard
    Corsair K70 Max RGB Magnetic Keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    The five 8TB drives and three 512GB SSDs are part of a DrivePool using StableBit DrivePool software. The three SSDs are devoted purely to caching for the 8TB drives. All of the important data is stored in triplicate so that I can withstand simultaneous failure of 2 disks.

    Networking: 2.5Gbps Ethernet and WiFi 6e
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
(y) - It's the great teacher!
 

My Computer

System One

  • OS
    Windows 10 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS
    CPU
    AMD 5900X
    Motherboard
    ASUS TUF Gaming X570-PRO (WiFi 6) AM4 Zen 3 Ryzen 5000 & 3rd Gen Ryzen ATX Motherboard (PCIe 4.0, 2.5Gb LAN, BIOS Flashback, HDMI 2.1, USB 3.2 Gen 2
    Memory
    G.SKILL Trident Z Neo (For AMD Ryzen) Series 32GB (2 x 16GB) 288-Pin RGB DDR4 SDRAM DDR4 3600 (PC4 28800) Desktop Memory Model F4-3600C16D-32GTZN
    Graphics Card(s)
    NVIDIA GeForce GTX750 Ti
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    Acer CZ350CK, Wasabi Mango QHD275 Supreme
    Screen Resolution
    3440 x 1440, 2560 x 1440
    Hard Drives
    1 TB Western Digital SN850 Gen 4 x 4 NVMe
    128GB Crucial CT128M4SSD1 2.5" SSD
    1TB Seagate Barracuda ST1000DM003-9YN162 HD
    16TB Western Digital WD161KRYZ-01AGBB0 HD
    PSU
    EVGA SuperNOVA 750 GT, 80 Plus Gold 750W
    Case
    Phanteks Eclipse P500A
    Cooling
    be quiet! 250W TDP Dark Rock Pro 4
    Keyboard
    Logitech
    Mouse
    IBM
    Internet Speed
    1Gbps
    Browser
    Firefox
    Antivirus
    Malwarebytes
Hi hsehestedt,
I would copy the files in my new ISO to the Project\ISO_Files folder, mount the Install.wim from my new ISO file, extract the files contained in kb5034535 to the WinUpdates\Setup_DU and copy them directly to the C:\Project\ISO_Files\Sources folder, commit and export the Install.wim to the Assets folder then use the OSCDIMG command from the the Deployment and Imaging tools environment (elevated) and that's it.

I realized that in copying the new media files/folders contained in the new Setup_DU to the ISO_Files folder since nothing will be updated in the Install.wim file there is no need to mount or unmount the Install.wim file, is there?
 

My Computer

System One

  • OS
    Windows 10 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS
    CPU
    AMD 5900X
    Motherboard
    ASUS TUF Gaming X570-PRO (WiFi 6) AM4 Zen 3 Ryzen 5000 & 3rd Gen Ryzen ATX Motherboard (PCIe 4.0, 2.5Gb LAN, BIOS Flashback, HDMI 2.1, USB 3.2 Gen 2
    Memory
    G.SKILL Trident Z Neo (For AMD Ryzen) Series 32GB (2 x 16GB) 288-Pin RGB DDR4 SDRAM DDR4 3600 (PC4 28800) Desktop Memory Model F4-3600C16D-32GTZN
    Graphics Card(s)
    NVIDIA GeForce GTX750 Ti
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    Acer CZ350CK, Wasabi Mango QHD275 Supreme
    Screen Resolution
    3440 x 1440, 2560 x 1440
    Hard Drives
    1 TB Western Digital SN850 Gen 4 x 4 NVMe
    128GB Crucial CT128M4SSD1 2.5" SSD
    1TB Seagate Barracuda ST1000DM003-9YN162 HD
    16TB Western Digital WD161KRYZ-01AGBB0 HD
    PSU
    EVGA SuperNOVA 750 GT, 80 Plus Gold 750W
    Case
    Phanteks Eclipse P500A
    Cooling
    be quiet! 250W TDP Dark Rock Pro 4
    Keyboard
    Logitech
    Mouse
    IBM
    Internet Speed
    1Gbps
    Browser
    Firefox
    Antivirus
    Malwarebytes
Hi hsehestedt,


I realized that in copying the new media files/folders contained in the new Setup_DU to the ISO_Files folder since nothing will be updated in the Install.wim file there is no need to mount or unmount the Install.wim file, is there?
LOL. Yes, you are correct. Sorry, I did catch that when I read your post :-)
 

My Computers

System One System Two

  • OS
    Win11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self-built
    CPU
    Intel i7 11700K
    Motherboard
    ASUS Prime Z590-A MB
    Memory
    64GB (Waiting for warranty replacement of another 64GB for 128GB total)
    Graphics Card(s)
    No GPU - Built-in Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe SSD
    1 x 2TB NVMe SSD
    1 x 4TB NVMe SSD
    3 x 512GB 2.5" SSD
    1 x 4TB 2.5" SSD
    5 x 8TB Seagate Barracuda HDD
    PSU
    Corsair HX850i
    Case
    Corsair iCUE RGB 5000X mid tower case
    Cooling
    Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Home Computer Specifications, Configuration, and Usage Notes General Specifications ASUS Prime Z590-A motherboard, serial number M1M0KC222467ARP Intel Core i7-11700K CPU (11th Gen Rocket Lake / LGA 1200 Socket) 128GB Crucial Ballistix RGB DDR4 3200 MHz DRAM (4 x 32GB) Corsair iCUE RGB 5000X mid tower case Noctua NH-D15 chromax.black CPU cooler Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Corsair LL-120 RGB Fans (Qty. 3)
    Keyboard
    Corsair K70 Max RGB Magnetic Keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    The five 8TB drives and three 512GB SSDs are part of a DrivePool using StableBit DrivePool software. The three SSDs are devoted purely to caching for the 8TB drives. All of the important data is stored in triplicate so that I can withstand simultaneous failure of 2 disks.

    Networking: 2.5Gbps Ethernet and WiFi 6e
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
I just created the updated Install ISO. I do have one more question though (in addition to your concurrence that there was no need to mount Install.wim for this last update). In the instructions, when doing the entire Installation ISO update from scratch, we expand and copy the Setup_DU files into the Source folder BEFORE we copy the setup.exe file from the mounted winpe (boot.wim) into the Sources folder. This has the effect of overwriting the setup.exe file that would have been copied there from the previous step of copying the setup.exe file to the Sources folder from the Setup_DU update.

In the situation where I just now only applied the updated files from the latest Setup_DU to the Source folder I ended up with the setup.exe file in the Sources folder being more current than the setup.exe file contained in the WinPE/boot.wim whereas if I were going through the entire full cycle of an Installation update the setup.exe file that ended up in the Sources folder (from the WinPE/boot.wim) would end up being older than the more current one from the latest Setup_DU.

Which setup.exe file should end up in the Sources folder?

Thanks,
Bob
 

My Computer

System One

  • OS
    Windows 10 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS
    CPU
    AMD 5900X
    Motherboard
    ASUS TUF Gaming X570-PRO (WiFi 6) AM4 Zen 3 Ryzen 5000 & 3rd Gen Ryzen ATX Motherboard (PCIe 4.0, 2.5Gb LAN, BIOS Flashback, HDMI 2.1, USB 3.2 Gen 2
    Memory
    G.SKILL Trident Z Neo (For AMD Ryzen) Series 32GB (2 x 16GB) 288-Pin RGB DDR4 SDRAM DDR4 3600 (PC4 28800) Desktop Memory Model F4-3600C16D-32GTZN
    Graphics Card(s)
    NVIDIA GeForce GTX750 Ti
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    Acer CZ350CK, Wasabi Mango QHD275 Supreme
    Screen Resolution
    3440 x 1440, 2560 x 1440
    Hard Drives
    1 TB Western Digital SN850 Gen 4 x 4 NVMe
    128GB Crucial CT128M4SSD1 2.5" SSD
    1TB Seagate Barracuda ST1000DM003-9YN162 HD
    16TB Western Digital WD161KRYZ-01AGBB0 HD
    PSU
    EVGA SuperNOVA 750 GT, 80 Plus Gold 750W
    Case
    Phanteks Eclipse P500A
    Cooling
    be quiet! 250W TDP Dark Rock Pro 4
    Keyboard
    Logitech
    Mouse
    IBM
    Internet Speed
    1Gbps
    Browser
    Firefox
    Antivirus
    Malwarebytes
Quick Q. How do I slipstream files into specific places eg; I want to put a screensaver in win/system32 by default so I don't have to do it each install (and also preferably export a registry entry for it so I don't have to set it either), can only find people talking about slipstreaming updates etc. Thanks.
 

My Computer

System One

  • OS
    Windows 11 [22H2] [22621.2428]
    Computer type
    PC/Desktop
    Manufacturer/Model
    Culture-Virus v7.0
    CPU
    Intel Core i9-14900K 3.2 GHz 24-Core Processor
    Motherboard
    Asus ROG MAXIMUS Z790 APEX ENCORE ATX LGA1700 Motherboard
    Memory
    G.Skill Trident Z5 RGB 32 GB (2 x 16 GB) DDR5-7200 CL34 Memory
    Graphics Card(s)
    AMD Radeon RX 6950 XT
    Monitor(s) Displays
    AOC CQ27G2U/BK
    Screen Resolution
    2560x1440
    Hard Drives
    M.2 1: Samsung SSD 990 PRO 2TB
    M.2 2: Samsung SSD 970 EVO Plus 2TB
    PSU
    Corsair RM1000X SHIFT
    Case
    Phanteks NV9
    Cooling
    Custom Water / Direct-Die Cooling
    Keyboard
    Corsair K95 RGB PLATINUM XT Wired Gaming Keyboard
    Mouse
    ROCCAT LEADR Optical
    Internet Speed
    500mb Direct Fiber
    Browser
    Chrome
Which setup.exe file should end up in the Sources folder?
It should be the setup.exe from the Windows PE image. For reference, take a look at this article:


In particular, note this section:

Image1.jpg


It seems odd to me as well that the 2 setup files, which are supposed to be in sync, are different. I had to find out that the setup file needed to be replaced with the one from WinPE from a third-party a few years ago when I encountered problems with my media. The article that I linked to above is actually the first time that I have ever seen this acknowledged in any Microsoft documentation. Note that this article is dated Dec 5, 2023 so it's only a very recent development. I would not have known about this if it was not for some of your questions causing me to revisit the documentation. Note that it is possible that this was documented somewhere previously, it may simply be that I never found it.

Below is my latest documentation. Note that this is my full set of documentation, this topic of adding updates to your Windows image being just one part of it.
 

Attachments

My Computers

System One System Two

  • OS
    Win11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self-built
    CPU
    Intel i7 11700K
    Motherboard
    ASUS Prime Z590-A MB
    Memory
    64GB (Waiting for warranty replacement of another 64GB for 128GB total)
    Graphics Card(s)
    No GPU - Built-in Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe SSD
    1 x 2TB NVMe SSD
    1 x 4TB NVMe SSD
    3 x 512GB 2.5" SSD
    1 x 4TB 2.5" SSD
    5 x 8TB Seagate Barracuda HDD
    PSU
    Corsair HX850i
    Case
    Corsair iCUE RGB 5000X mid tower case
    Cooling
    Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Home Computer Specifications, Configuration, and Usage Notes General Specifications ASUS Prime Z590-A motherboard, serial number M1M0KC222467ARP Intel Core i7-11700K CPU (11th Gen Rocket Lake / LGA 1200 Socket) 128GB Crucial Ballistix RGB DDR4 3200 MHz DRAM (4 x 32GB) Corsair iCUE RGB 5000X mid tower case Noctua NH-D15 chromax.black CPU cooler Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Corsair LL-120 RGB Fans (Qty. 3)
    Keyboard
    Corsair K70 Max RGB Magnetic Keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    The five 8TB drives and three 512GB SSDs are part of a DrivePool using StableBit DrivePool software. The three SSDs are devoted purely to caching for the 8TB drives. All of the important data is stored in triplicate so that I can withstand simultaneous failure of 2 disks.

    Networking: 2.5Gbps Ethernet and WiFi 6e
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor

My Computer

System One

  • OS
    Windows 11 [22H2] [22621.2428]
    Computer type
    PC/Desktop
    Manufacturer/Model
    Culture-Virus v7.0
    CPU
    Intel Core i9-14900K 3.2 GHz 24-Core Processor
    Motherboard
    Asus ROG MAXIMUS Z790 APEX ENCORE ATX LGA1700 Motherboard
    Memory
    G.Skill Trident Z5 RGB 32 GB (2 x 16 GB) DDR5-7200 CL34 Memory
    Graphics Card(s)
    AMD Radeon RX 6950 XT
    Monitor(s) Displays
    AOC CQ27G2U/BK
    Screen Resolution
    2560x1440
    Hard Drives
    M.2 1: Samsung SSD 990 PRO 2TB
    M.2 2: Samsung SSD 970 EVO Plus 2TB
    PSU
    Corsair RM1000X SHIFT
    Case
    Phanteks NV9
    Cooling
    Custom Water / Direct-Die Cooling
    Keyboard
    Corsair K95 RGB PLATINUM XT Wired Gaming Keyboard
    Mouse
    ROCCAT LEADR Optical
    Internet Speed
    500mb Direct Fiber
    Browser
    Chrome
It should be the setup.exe from the Windows PE image. For reference, take a look at this article:
I looked through the article that you pointed out and it confirms what you're saying regarding the setup.exe file from WinPE taking precedence:
"For the second image, we'll save setup.exe for later use, to ensure this version matches the \sources\setup.exe version from the installation media. If these binaries aren't identical, Windows Setup will fail during installation."
but I'm glad that you agree that this seems odd. It seems strange that the new setup.exe file from the latest KB5034535 Setup_DU is going to be overwritten by the older setup.exe from the WinPE file. It seems as though doing that could potentially defeat something that was intended with the Setup_DU package update.

So I think that what you're telling me is that I'm not done updating with this latest Setup_DU until I additionally mount the WinPE (boot.wim index 2) and replace the setup.exe in the Sources folder with the setup.exe from the boot.wim index 2 setup.exe, right?

I was going to read the Unattended Installation document that you provided, but, unfortunately, I'm on Word version 2003 so I can only open doc files (not docx). :hot: That will change when I get the Windows 11 installed and then install my new Office 2021 Professional.

Thanks,
Bob
 

My Computer

System One

  • OS
    Windows 10 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS
    CPU
    AMD 5900X
    Motherboard
    ASUS TUF Gaming X570-PRO (WiFi 6) AM4 Zen 3 Ryzen 5000 & 3rd Gen Ryzen ATX Motherboard (PCIe 4.0, 2.5Gb LAN, BIOS Flashback, HDMI 2.1, USB 3.2 Gen 2
    Memory
    G.SKILL Trident Z Neo (For AMD Ryzen) Series 32GB (2 x 16GB) 288-Pin RGB DDR4 SDRAM DDR4 3600 (PC4 28800) Desktop Memory Model F4-3600C16D-32GTZN
    Graphics Card(s)
    NVIDIA GeForce GTX750 Ti
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    Acer CZ350CK, Wasabi Mango QHD275 Supreme
    Screen Resolution
    3440 x 1440, 2560 x 1440
    Hard Drives
    1 TB Western Digital SN850 Gen 4 x 4 NVMe
    128GB Crucial CT128M4SSD1 2.5" SSD
    1TB Seagate Barracuda ST1000DM003-9YN162 HD
    16TB Western Digital WD161KRYZ-01AGBB0 HD
    PSU
    EVGA SuperNOVA 750 GT, 80 Plus Gold 750W
    Case
    Phanteks Eclipse P500A
    Cooling
    be quiet! 250W TDP Dark Rock Pro 4
    Keyboard
    Logitech
    Mouse
    IBM
    Internet Speed
    1Gbps
    Browser
    Firefox
    Antivirus
    Malwarebytes

My Computers

System One System Two

  • OS
    Win11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self-built
    CPU
    Intel i7 11700K
    Motherboard
    ASUS Prime Z590-A MB
    Memory
    64GB (Waiting for warranty replacement of another 64GB for 128GB total)
    Graphics Card(s)
    No GPU - Built-in Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe SSD
    1 x 2TB NVMe SSD
    1 x 4TB NVMe SSD
    3 x 512GB 2.5" SSD
    1 x 4TB 2.5" SSD
    5 x 8TB Seagate Barracuda HDD
    PSU
    Corsair HX850i
    Case
    Corsair iCUE RGB 5000X mid tower case
    Cooling
    Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Home Computer Specifications, Configuration, and Usage Notes General Specifications ASUS Prime Z590-A motherboard, serial number M1M0KC222467ARP Intel Core i7-11700K CPU (11th Gen Rocket Lake / LGA 1200 Socket) 128GB Crucial Ballistix RGB DDR4 3200 MHz DRAM (4 x 32GB) Corsair iCUE RGB 5000X mid tower case Noctua NH-D15 chromax.black CPU cooler Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Corsair LL-120 RGB Fans (Qty. 3)
    Keyboard
    Corsair K70 Max RGB Magnetic Keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    The five 8TB drives and three 512GB SSDs are part of a DrivePool using StableBit DrivePool software. The three SSDs are devoted purely to caching for the 8TB drives. All of the important data is stored in triplicate so that I can withstand simultaneous failure of 2 disks.

    Networking: 2.5Gbps Ethernet and WiFi 6e
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
I looked through the article that you pointed out and it confirms what you're saying regarding the setup.exe file from WinPE taking precedence:
"For the second image, we'll save setup.exe for later use, to ensure this version matches the \sources\setup.exe version from the installation media. If these binaries aren't identical, Windows Setup will fail during installation."
but I'm glad that you agree that this seems odd. It seems strange that the new setup.exe file from the latest KB5034535 Setup_DU is going to be overwritten by the older setup.exe from the WinPE file. It seems as though doing that could potentially defeat something that was intended with the Setup_DU package update.

So I think that what you're telling me is that I'm not done updating with this latest Setup_DU until I additionally mount the WinPE (boot.wim index 2) and replace the setup.exe in the Sources folder with the setup.exe from the boot.wim index 2 setup.exe, right?

I was going to read the Unattended Installation document that you provided, but, unfortunately, I'm on Word version 2003 so I can only open doc files (not docx). :hot: That will change when I get the Windows 11 installed and then install my new Office 2021 Professional.

Thanks,
Bob
Bob, you should not need to mount Windows PE again because I purposely leave it mounted and don't unmount index 2 until after we copy that file out.

Also, out of curiosity, have you tried the batch file that I posted a few days ago? It automates all of these steps for you. All you have to do is read the instructions at the beginning, set a few variables, and then run the batch file. It will run all these commands for you :-)

Finally, apologies for the issue with the word doc. I saved it as a PDF and I'm attaching it here.
 

Attachments

My Computers

System One System Two

  • OS
    Win11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self-built
    CPU
    Intel i7 11700K
    Motherboard
    ASUS Prime Z590-A MB
    Memory
    64GB (Waiting for warranty replacement of another 64GB for 128GB total)
    Graphics Card(s)
    No GPU - Built-in Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe SSD
    1 x 2TB NVMe SSD
    1 x 4TB NVMe SSD
    3 x 512GB 2.5" SSD
    1 x 4TB 2.5" SSD
    5 x 8TB Seagate Barracuda HDD
    PSU
    Corsair HX850i
    Case
    Corsair iCUE RGB 5000X mid tower case
    Cooling
    Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Home Computer Specifications, Configuration, and Usage Notes General Specifications ASUS Prime Z590-A motherboard, serial number M1M0KC222467ARP Intel Core i7-11700K CPU (11th Gen Rocket Lake / LGA 1200 Socket) 128GB Crucial Ballistix RGB DDR4 3200 MHz DRAM (4 x 32GB) Corsair iCUE RGB 5000X mid tower case Noctua NH-D15 chromax.black CPU cooler Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Corsair LL-120 RGB Fans (Qty. 3)
    Keyboard
    Corsair K70 Max RGB Magnetic Keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    The five 8TB drives and three 512GB SSDs are part of a DrivePool using StableBit DrivePool software. The three SSDs are devoted purely to caching for the 8TB drives. All of the important data is stored in triplicate so that I can withstand simultaneous failure of 2 disks.

    Networking: 2.5Gbps Ethernet and WiFi 6e
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
Quick Q. How do I slipstream files into specific places eg; I want to put a screensaver in win/system32 by default so I don't have to do it each install (and also preferably export a registry entry for it so I don't have to set it either), can only find people talking about slipstreaming updates etc. Thanks.
I have to admit that I have not tried this myself, but my expectation would be that you could simply mount the main install.wim, drop any files you want to add into the mounted image location, then save and commit the changes. Then just drop the updated install.wim file into your installation media, replacing the original install.wim.

Working along with this, you might want to take a look at the PDF that I just posted and look at the section starting on page 31 called "Optional: Automating Actions Upon Completion of Windows Setup".
 

My Computers

System One System Two

  • OS
    Win11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self-built
    CPU
    Intel i7 11700K
    Motherboard
    ASUS Prime Z590-A MB
    Memory
    64GB (Waiting for warranty replacement of another 64GB for 128GB total)
    Graphics Card(s)
    No GPU - Built-in Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe SSD
    1 x 2TB NVMe SSD
    1 x 4TB NVMe SSD
    3 x 512GB 2.5" SSD
    1 x 4TB 2.5" SSD
    5 x 8TB Seagate Barracuda HDD
    PSU
    Corsair HX850i
    Case
    Corsair iCUE RGB 5000X mid tower case
    Cooling
    Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Home Computer Specifications, Configuration, and Usage Notes General Specifications ASUS Prime Z590-A motherboard, serial number M1M0KC222467ARP Intel Core i7-11700K CPU (11th Gen Rocket Lake / LGA 1200 Socket) 128GB Crucial Ballistix RGB DDR4 3200 MHz DRAM (4 x 32GB) Corsair iCUE RGB 5000X mid tower case Noctua NH-D15 chromax.black CPU cooler Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Corsair LL-120 RGB Fans (Qty. 3)
    Keyboard
    Corsair K70 Max RGB Magnetic Keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    The five 8TB drives and three 512GB SSDs are part of a DrivePool using StableBit DrivePool software. The three SSDs are devoted purely to caching for the 8TB drives. All of the important data is stored in triplicate so that I can withstand simultaneous failure of 2 disks.

    Networking: 2.5Gbps Ethernet and WiFi 6e
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
hsehestedt,

Wow, your Unattended Installation file has a lot of great info in it and is a great reference. It really runs the gamut of just about anything you'd like to do! The comprehensive topics you cover in there have taken me literally years to google but you put all of it in one place and it is laid out so well. Now I see what you meant when you said the instructions that you provided previously were taken from a more in depth document. By the way, the icon that I used in my previous post was meant to reflect embarrassment on my part that I'm still using Word 2003 (and because of that I wasn't able to open your document). I hope that you didn't take it any other way.

On the batch file, I have read through (most of) it and you were correct that it is a good reference for understanding the process. I ended up with a successful ISO from using your instructions along with referring back to your batch file. I could install Windows 11 now using the iso that I created earlier this week but when you pointed out that there was a new Setup Dynamic Update I decided to include that as well. It seems since incorporating that additional update is at the tail end of the entire previous process that I performed manually. The only issue that I incurred was when I was confused by why the newest version of setup.exe file was going to be overwritten by an older file from the WinPE.

I'm hoping to install the new hard drive for the Windows 11 installation later this evening and it seems that updating the iso with the latest Setup Dynamic Update should take just a few minutes to do manually. Won't I need to mount the boot.wim to be able to copy the setup.exe file over to the Sources folder?

On a side note, I've decided that I should consider my network driver as a boot critical driver and it is not contained in the installation media. It seems that the installation will go more smoothly if I add it. If I'm reading your Unattended Installation document correctly that driver should be installed in both of the WinPE indexes and in the Install.wim. Is that correct?

Thanks,
Bob
 

My Computer

System One

  • OS
    Windows 10 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS
    CPU
    AMD 5900X
    Motherboard
    ASUS TUF Gaming X570-PRO (WiFi 6) AM4 Zen 3 Ryzen 5000 & 3rd Gen Ryzen ATX Motherboard (PCIe 4.0, 2.5Gb LAN, BIOS Flashback, HDMI 2.1, USB 3.2 Gen 2
    Memory
    G.SKILL Trident Z Neo (For AMD Ryzen) Series 32GB (2 x 16GB) 288-Pin RGB DDR4 SDRAM DDR4 3600 (PC4 28800) Desktop Memory Model F4-3600C16D-32GTZN
    Graphics Card(s)
    NVIDIA GeForce GTX750 Ti
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    Acer CZ350CK, Wasabi Mango QHD275 Supreme
    Screen Resolution
    3440 x 1440, 2560 x 1440
    Hard Drives
    1 TB Western Digital SN850 Gen 4 x 4 NVMe
    128GB Crucial CT128M4SSD1 2.5" SSD
    1TB Seagate Barracuda ST1000DM003-9YN162 HD
    16TB Western Digital WD161KRYZ-01AGBB0 HD
    PSU
    EVGA SuperNOVA 750 GT, 80 Plus Gold 750W
    Case
    Phanteks Eclipse P500A
    Cooling
    be quiet! 250W TDP Dark Rock Pro 4
    Keyboard
    Logitech
    Mouse
    IBM
    Internet Speed
    1Gbps
    Browser
    Firefox
    Antivirus
    Malwarebytes
You could certainly add the driver if you like. For me, I typically only bother adding a driver if it is a "boot critical" item. In other words, if I cannot install Windows without that driver or if I cannot navigate through setup (such as when the mouse won't work). Otherwise, it's just easier to import my saved drivers after installation since all the other drivers need to get installed at that time anyway.
 

My Computers

System One System Two

  • OS
    Win11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self-built
    CPU
    Intel i7 11700K
    Motherboard
    ASUS Prime Z590-A MB
    Memory
    64GB (Waiting for warranty replacement of another 64GB for 128GB total)
    Graphics Card(s)
    No GPU - Built-in Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe SSD
    1 x 2TB NVMe SSD
    1 x 4TB NVMe SSD
    3 x 512GB 2.5" SSD
    1 x 4TB 2.5" SSD
    5 x 8TB Seagate Barracuda HDD
    PSU
    Corsair HX850i
    Case
    Corsair iCUE RGB 5000X mid tower case
    Cooling
    Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Home Computer Specifications, Configuration, and Usage Notes General Specifications ASUS Prime Z590-A motherboard, serial number M1M0KC222467ARP Intel Core i7-11700K CPU (11th Gen Rocket Lake / LGA 1200 Socket) 128GB Crucial Ballistix RGB DDR4 3200 MHz DRAM (4 x 32GB) Corsair iCUE RGB 5000X mid tower case Noctua NH-D15 chromax.black CPU cooler Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Corsair LL-120 RGB Fans (Qty. 3)
    Keyboard
    Corsair K70 Max RGB Magnetic Keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    The five 8TB drives and three 512GB SSDs are part of a DrivePool using StableBit DrivePool software. The three SSDs are devoted purely to caching for the 8TB drives. All of the important data is stored in triplicate so that I can withstand simultaneous failure of 2 disks.

    Networking: 2.5Gbps Ethernet and WiFi 6e
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
I typically only bother adding a driver if it is a "boot critical" item.
That does seem like a reasonable approach. I'll do it that way. My only concern is not having network connectivity during installation considering that I'm going to attempt the installation that occurs with minimal installation of unwanted software. If I understood your posts on this subject on the other thread it is OK to not have connectivity during installation but connectivity must exist prior to switching from English - World to English - US.

Also, on the iso where I have incorporated that latest Setup Dynamic Update all that remains there is overwriting the setup.exe with the version from WinPE. Is there a better method to transferring that WinPE setup.exe file without needing to first mount the WinPE (boot.wim)?

Thanks,
Bob
 

My Computer

System One

  • OS
    Windows 10 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS
    CPU
    AMD 5900X
    Motherboard
    ASUS TUF Gaming X570-PRO (WiFi 6) AM4 Zen 3 Ryzen 5000 & 3rd Gen Ryzen ATX Motherboard (PCIe 4.0, 2.5Gb LAN, BIOS Flashback, HDMI 2.1, USB 3.2 Gen 2
    Memory
    G.SKILL Trident Z Neo (For AMD Ryzen) Series 32GB (2 x 16GB) 288-Pin RGB DDR4 SDRAM DDR4 3600 (PC4 28800) Desktop Memory Model F4-3600C16D-32GTZN
    Graphics Card(s)
    NVIDIA GeForce GTX750 Ti
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    Acer CZ350CK, Wasabi Mango QHD275 Supreme
    Screen Resolution
    3440 x 1440, 2560 x 1440
    Hard Drives
    1 TB Western Digital SN850 Gen 4 x 4 NVMe
    128GB Crucial CT128M4SSD1 2.5" SSD
    1TB Seagate Barracuda ST1000DM003-9YN162 HD
    16TB Western Digital WD161KRYZ-01AGBB0 HD
    PSU
    EVGA SuperNOVA 750 GT, 80 Plus Gold 750W
    Case
    Phanteks Eclipse P500A
    Cooling
    be quiet! 250W TDP Dark Rock Pro 4
    Keyboard
    Logitech
    Mouse
    IBM
    Internet Speed
    1Gbps
    Browser
    Firefox
    Antivirus
    Malwarebytes
Is there a better method to transferring that WinPE setup.exe file without needing to first mount the WinPE (boot.wim)?
Not that I am aware of.

As an alternative, you could just run the batch file and allow it to make the entire image from scratch for you :-)

As for not having the network enabled during the installation, that is ok. You only need to make sure that you have Internet access after the initial installation before you flip the language and region settings. But with the Intel I225-V I'm pretty sure you will have functional networking.

Bob, if you don't mind my asking, you are going through a lot of effort here in preparation for what sounds like a single installation of Windows. Please don't misunderstand, I am not in the slightest trying to discourage you. In fact, I'm thrilled to see someone taking an interest in this. If this is just a one-time installation, I'm just curious why you are going through so much effort rather than simply doing a standard installation with existing media and allowing Windows update to do the updates after the initial installation.

Is it just curiosity on how to do this or is there a greater plan? I ask only because I might be able to offer some other tips if I understood the goal better.

In my case, I got started with all of this simply out of curiosity and to try to understand how it all works :-)
 

My Computers

System One System Two

  • OS
    Win11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self-built
    CPU
    Intel i7 11700K
    Motherboard
    ASUS Prime Z590-A MB
    Memory
    64GB (Waiting for warranty replacement of another 64GB for 128GB total)
    Graphics Card(s)
    No GPU - Built-in Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe SSD
    1 x 2TB NVMe SSD
    1 x 4TB NVMe SSD
    3 x 512GB 2.5" SSD
    1 x 4TB 2.5" SSD
    5 x 8TB Seagate Barracuda HDD
    PSU
    Corsair HX850i
    Case
    Corsair iCUE RGB 5000X mid tower case
    Cooling
    Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Home Computer Specifications, Configuration, and Usage Notes General Specifications ASUS Prime Z590-A motherboard, serial number M1M0KC222467ARP Intel Core i7-11700K CPU (11th Gen Rocket Lake / LGA 1200 Socket) 128GB Crucial Ballistix RGB DDR4 3200 MHz DRAM (4 x 32GB) Corsair iCUE RGB 5000X mid tower case Noctua NH-D15 chromax.black CPU cooler Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Corsair LL-120 RGB Fans (Qty. 3)
    Keyboard
    Corsair K70 Max RGB Magnetic Keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    The five 8TB drives and three 512GB SSDs are part of a DrivePool using StableBit DrivePool software. The three SSDs are devoted purely to caching for the 8TB drives. All of the important data is stored in triplicate so that I can withstand simultaneous failure of 2 disks.

    Networking: 2.5Gbps Ethernet and WiFi 6e
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
If this is just a one-time installation, I'm just curious why you are going through so much effort rather than simply doing a standard installation with existing media and allowing Windows update to do the updates after the initial installation
It is just a one-time installation so I can definitely understand why you're curious. I plan to use DISM to periodically perform system backups (safety backups prior to application software installations or if I feel there's a need to be more aggressive with settings changes, etc). It is how I've been doing system backups (to supplement somewhat more frequent delta data file backups).

It is my understanding that adding these updates directly to the image (rather than running the updates in Windows) will result in somewhat smaller backed up wim files when I do those periodic system backups. There's probably a good chance that the amount of space that I'll save doesn't justify the level of effort but I must admit that I'm intrigued by it and do like understanding the inner workings a little better.

I suspect that on an ongoing basis there is no way (or no space savings advantage) to somehow apply updates in a similar manner once everything is up and running rather than just performing windows updates the way most people do. I do recall you mentioning that your WIM Tool will remove unneeded residual files after Windows updates. I have downloaded it.

On another note, I'm really anxious to see if I have connectivity issues after the installation because if there's a driver in the Install.wim or Boot.wim I sure can't find it. When I installed Server 2008R2 on this PC three years ago there was no connectivity with the I225-V (Intel pulled availability of the driver for Win 7/2008R2) and I had to temporarily add a PCIe LAN card with a Realtek chip until I figured a way to get a driver that would install for this I225-V.

I'm about to make the final update (setup.exe) to the iso then I'll be shutting down to install the new hard drive then Windows 11. I'll report back how things go. Once I get through this I plan to spend some time reading through your more comprehensive document. I can see there's some really good stuff in there. Thanks again for sharing your knowledge.

Bob
 
Last edited:

My Computer

System One

  • OS
    Windows 10 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS
    CPU
    AMD 5900X
    Motherboard
    ASUS TUF Gaming X570-PRO (WiFi 6) AM4 Zen 3 Ryzen 5000 & 3rd Gen Ryzen ATX Motherboard (PCIe 4.0, 2.5Gb LAN, BIOS Flashback, HDMI 2.1, USB 3.2 Gen 2
    Memory
    G.SKILL Trident Z Neo (For AMD Ryzen) Series 32GB (2 x 16GB) 288-Pin RGB DDR4 SDRAM DDR4 3600 (PC4 28800) Desktop Memory Model F4-3600C16D-32GTZN
    Graphics Card(s)
    NVIDIA GeForce GTX750 Ti
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    Acer CZ350CK, Wasabi Mango QHD275 Supreme
    Screen Resolution
    3440 x 1440, 2560 x 1440
    Hard Drives
    1 TB Western Digital SN850 Gen 4 x 4 NVMe
    128GB Crucial CT128M4SSD1 2.5" SSD
    1TB Seagate Barracuda ST1000DM003-9YN162 HD
    16TB Western Digital WD161KRYZ-01AGBB0 HD
    PSU
    EVGA SuperNOVA 750 GT, 80 Plus Gold 750W
    Case
    Phanteks Eclipse P500A
    Cooling
    be quiet! 250W TDP Dark Rock Pro 4
    Keyboard
    Logitech
    Mouse
    IBM
    Internet Speed
    1Gbps
    Browser
    Firefox
    Antivirus
    Malwarebytes
I do recall you mentioning that your WIM Tool will remove unneeded residual files after Windows updates. I have downloaded it.
Actually, that functionality is built right into Windows.
 

My Computers

System One System Two

  • OS
    Win11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self-built
    CPU
    Intel i7 11700K
    Motherboard
    ASUS Prime Z590-A MB
    Memory
    64GB (Waiting for warranty replacement of another 64GB for 128GB total)
    Graphics Card(s)
    No GPU - Built-in Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe SSD
    1 x 2TB NVMe SSD
    1 x 4TB NVMe SSD
    3 x 512GB 2.5" SSD
    1 x 4TB 2.5" SSD
    5 x 8TB Seagate Barracuda HDD
    PSU
    Corsair HX850i
    Case
    Corsair iCUE RGB 5000X mid tower case
    Cooling
    Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Home Computer Specifications, Configuration, and Usage Notes General Specifications ASUS Prime Z590-A motherboard, serial number M1M0KC222467ARP Intel Core i7-11700K CPU (11th Gen Rocket Lake / LGA 1200 Socket) 128GB Crucial Ballistix RGB DDR4 3200 MHz DRAM (4 x 32GB) Corsair iCUE RGB 5000X mid tower case Noctua NH-D15 chromax.black CPU cooler Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Corsair LL-120 RGB Fans (Qty. 3)
    Keyboard
    Corsair K70 Max RGB Magnetic Keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    The five 8TB drives and three 512GB SSDs are part of a DrivePool using StableBit DrivePool software. The three SSDs are devoted purely to caching for the 8TB drives. All of the important data is stored in triplicate so that I can withstand simultaneous failure of 2 disks.

    Networking: 2.5Gbps Ethernet and WiFi 6e
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
@robra,

Just wanted to check in with you. How's the installation going? Did your updated media work well for you?
 

My Computers

System One System Two

  • OS
    Win11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self-built
    CPU
    Intel i7 11700K
    Motherboard
    ASUS Prime Z590-A MB
    Memory
    64GB (Waiting for warranty replacement of another 64GB for 128GB total)
    Graphics Card(s)
    No GPU - Built-in Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe SSD
    1 x 2TB NVMe SSD
    1 x 4TB NVMe SSD
    3 x 512GB 2.5" SSD
    1 x 4TB 2.5" SSD
    5 x 8TB Seagate Barracuda HDD
    PSU
    Corsair HX850i
    Case
    Corsair iCUE RGB 5000X mid tower case
    Cooling
    Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Home Computer Specifications, Configuration, and Usage Notes General Specifications ASUS Prime Z590-A motherboard, serial number M1M0KC222467ARP Intel Core i7-11700K CPU (11th Gen Rocket Lake / LGA 1200 Socket) 128GB Crucial Ballistix RGB DDR4 3200 MHz DRAM (4 x 32GB) Corsair iCUE RGB 5000X mid tower case Noctua NH-D15 chromax.black CPU cooler Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Corsair LL-120 RGB Fans (Qty. 3)
    Keyboard
    Corsair K70 Max RGB Magnetic Keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    The five 8TB drives and three 512GB SSDs are part of a DrivePool using StableBit DrivePool software. The three SSDs are devoted purely to caching for the 8TB drives. All of the important data is stored in triplicate so that I can withstand simultaneous failure of 2 disks.

    Networking: 2.5Gbps Ethernet and WiFi 6e
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor

Latest Support Threads

Back
Top Bottom