how do i change the windows 11 setup installer?


I'm not familiar with making these specific changes, but the Windows setup related files are contained in the Windows PE image which is within the \sources\boot.wim file. You will find that boot.wim has two images inside of it, you are looking to target index number 2.

I don't know how far that will get you, but I hope that it helps!
 

My Computers

System One System Two

  • OS
    Win11 Pro 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Intel i7-11700K
    Motherboard
    ASUS Prime Z590-A
    Memory
    128GB Crucial Ballistix 3200MHz DRAM
    Graphics Card(s)
    No GPU - CPU graphics only (for now)
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe Gen 4 x 4 SSD
    1 x 2TB NVMe Gen 3 x 4 SSD
    2 x 512GB 2.5" SSDs
    2 x 8TB HD
    PSU
    Corsair HX850i
    Case
    Corsair iCue 5000X RGB
    Cooling
    Noctua NH-D15 chromax.black cooler + 10 case fans
    Keyboard
    CODE backlit mechanical keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    Additional options installed:
    WiFi 6E PCIe adapter
    ASUS ThunderboltEX 4 PCIe adapter
  • 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'm not familiar with making these specific changes, but the Windows setup related files are contained in the Windows PE image which is within the \sources\boot.wim file. You will find that boot.wim has two images inside of it, you are looking to target index number 2.

I don't know how far that will get you, but I hope that it helps!
okay so how do i open the install.wim file then?
 

My Computer

System One

  • OS
    windows11 21h2
It needs to be mounted using the DISM command.

Are you still planning on working on this tonight? If so, I'll get you some detailed instructions, otherwise, I'll provide that tomorrow.
 

My Computers

System One System Two

  • OS
    Win11 Pro 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Intel i7-11700K
    Motherboard
    ASUS Prime Z590-A
    Memory
    128GB Crucial Ballistix 3200MHz DRAM
    Graphics Card(s)
    No GPU - CPU graphics only (for now)
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe Gen 4 x 4 SSD
    1 x 2TB NVMe Gen 3 x 4 SSD
    2 x 512GB 2.5" SSDs
    2 x 8TB HD
    PSU
    Corsair HX850i
    Case
    Corsair iCue 5000X RGB
    Cooling
    Noctua NH-D15 chromax.black cooler + 10 case fans
    Keyboard
    CODE backlit mechanical keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    Additional options installed:
    WiFi 6E PCIe adapter
    ASUS ThunderboltEX 4 PCIe adapter
  • 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
Okay, as noted earlier. The DISM (Deployment Imaging and Servicing) utility is what is used to mount a WIM file.

Please note that while a copy of DISM is included with Windows, it is preferable to make sure you have the latest version that ships with the Windows ADK (Assessment and Deployment Kit). Follow these steps:

Start installation of the ADK from here:

https://go.microsoft.com/fwlink/?linkid=2196127

Choose to open the file rather than to save it.

As you step through the installation, you be given an option to check all the options you wish to install. You can uncheck everything except the deployment tools.

Create a folder to which you can save your Windows files. For example, C:\ISO_Files. Create another folder to which you will mount the boot.wim. Example: C:\Mount

Double-click your Windows image to open it. Select ALL files and copy them to C:\ISO_Files. After copying you can unmount the Windows image.

Goto Start > All apps > Windows Kits > right-click the Windows Deployment and Imaging Tools Environment and run it as administrator.

A command prompt will open with a long path shown for the prompt. Type in CD \ and hit ENTER. This will just get rid of the long prompt to make it easier to work with. Note that this is simply a command prompt that has environment variables and path set so that the ADK version of tools like DISM are in the path, ensuring the right version is run when you issue commands.

Remove read-only, system, and hidden attributes from the Windows files like this:

attrib -h -s -r C:\ISO_Files\*.* /S /D

Mount the boot.wim like this:

DISM /mount-image /imagefile:"C:\ISO_Files\sources\boot.wim" /index:2 /mountdir:"C:\Mount"

Think of this like unzipping a ZIP file (the boot.wim) to a temporary location (C:\Mount). Now that it is mounted, you can alter or manipulate any of the files in the C:\Mount folder. When you are done, you want to commit all the changes like this:

DISM /Unmount-Image /MountDir:"C:\Mount" /Commit

There is really more information that I should share with you on this topic, but start with this and see if that gives you what you are looking for.
 

My Computers

System One System Two

  • OS
    Win11 Pro 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Intel i7-11700K
    Motherboard
    ASUS Prime Z590-A
    Memory
    128GB Crucial Ballistix 3200MHz DRAM
    Graphics Card(s)
    No GPU - CPU graphics only (for now)
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe Gen 4 x 4 SSD
    1 x 2TB NVMe Gen 3 x 4 SSD
    2 x 512GB 2.5" SSDs
    2 x 8TB HD
    PSU
    Corsair HX850i
    Case
    Corsair iCue 5000X RGB
    Cooling
    Noctua NH-D15 chromax.black cooler + 10 case fans
    Keyboard
    CODE backlit mechanical keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    Additional options installed:
    WiFi 6E PCIe adapter
    ASUS ThunderboltEX 4 PCIe adapter
  • 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
Okay, as noted earlier. The DISM (Deployment Imaging and Servicing) utility is what is used to mount a WIM file.

Please note that while a copy of DISM is included with Windows, it is preferable to make sure you have the latest version that ships with the Windows ADK (Assessment and Deployment Kit). Follow these steps:

Start installation of the ADK from here:

https://go.microsoft.com/fwlink/?linkid=2196127

Choose to open the file rather than to save it.

As you step through the installation, you be given an option to check all the options you wish to install. You can uncheck everything except the deployment tools.

Create a folder to which you can save your Windows files. For example, C:\ISO_Files. Create another folder to which you will mount the boot.wim. Example: C:\Mount

Double-click your Windows image to open it. Select ALL files and copy them to C:\ISO_Files. After copying you can unmount the Windows image.

Goto Start > All apps > Windows Kits > right-click the Windows Deployment and Imaging Tools Environment and run it as administrator.

A command prompt will open with a long path shown for the prompt. Type in CD \ and hit ENTER. This will just get rid of the long prompt to make it easier to work with. Note that this is simply a command prompt that has environment variables and path set so that the ADK version of tools like DISM are in the path, ensuring the right version is run when you issue commands.

Remove read-only, system, and hidden attributes from the Windows files like this:

attrib -h -s -r C:\ISO_Files\*.* /S /D

Mount the boot.wim like this:

DISM /mount-image /imagefile:"C:\ISO_Files\sources\boot.wim" /index:2 /mountdir:"C:\Mount"

Think of this like unzipping a ZIP file (the boot.wim) to a temporary location (C:\Mount). Now that it is mounted, you can alter or manipulate any of the files in the C:\Mount folder. When you are done, you want to commit all the changes like this:

DISM /Unmount-Image /MountDir:"C:\Mount" /Commit

There is really more information that I should share with you on this topic, but start with this and see if that gives you what you are looking for.
Okay, thanks I’ll look into this.
 

My Computer

System One

  • OS
    windows11 21h2
Back
Top Bottom