thatwindowsuser
Member
- Local time
- 10:04 PM
- Posts
- 74
- OS
- windows11 21h2
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
okay so how do i open the install.wim file then?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!
https://go.microsoft.com/fwlink/?linkid=2196127
C:\ISO_Files
. Create another folder to which you will mount the boot.wim. Example: C:\Mount
C:\ISO_Files
. After copying you can unmount the Windows image.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.attrib -h -s -r C:\ISO_Files\*.* /S /D
DISM /mount-image /imagefile:"C:\ISO_Files\sources\boot.wim" /index:2 /mountdir:"C:\Mount"
DISM /Unmount-Image /MountDir:"C:\Mount" /Commit
Okay, thanks I’ll look into this.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 toC:\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 inCD \
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.