Mounting WIM Files
One of my students asked me to show him how to mount an image file so that it could be edited. I knew that we talked about the ability in class, but it wasn't covered in the actual course material. So, I did like I normally do and I fired it up on the projector and showed him.
Using imagex.exe, it is possible to mount an image into an existing file system so that you can go into the image and add files such as drivers or applications that can be run after applying the image. It is also possible to delete files and move things around if needed.
At the command prompt, run imagex /mount imagename.wim 1 c:\mountpoint and hit enter. That is all it takes. Of course, you will want to create the location for the mounting first. The "1" is for the image number within the image file. At this point, you can open up explorer and navigate to the c:\mountpoint folder and inside there you will see all of the files for the image.
To unmount, run imagex /unmount /commit c:\mountpoint and hit enter. The "/commit" saves any changed that were made to the image while mounted.
Anyways, I hope others find that handy.



