0

I am using the DISM command to mount the install.wim and adding few folders and file to the root folder c:\ and them committed the image file. then creating a bootable ISO with the modified the WIM file. but the folders and file I added to the image is not visible after the windows installation.

what am I missing here?

below is sequence of the steps

  1. Extract the original windows bootalble ISO into a folder "S:\MS Windows Server\Win2022"
  2. mount the WIM file using

dism /Mount-Wim /WimFile:"S:\MS Windows Server\Win2022\sources\install.wim" /Index:1 /MountDir:I:\Mount2022

  1. open the I:\Mount2022 in explorer and added few folders into it
  2. used the below command to commit the image

dism /Unmount-Wim /MountDir:I:\Mount2022 /Commit

  1. use anyburn/imageburn tools to create an ISO with the modified WIM file
  2. boot the server using the ISO and complete the setup.

0 Answers0