A. You're probably used to using imagex during your Windows Vista days for all your mounting WIM file operations. You can still use imagex, but you now have the option of using the unified DISM tool (which doesn't require the installation of the Windows Automated Installation Kit). To mount an image, use the format
dism /mount-wim /wimfile:/index: /mountdir:
You can optionally add /readonly to make the mount read-only.
The above dism command would be equivalent to the following imagex command:
imagex /mountrw
So the DISM is a bit more wordy You can see them both in action below.
D:\Temp>dism /mount-wim /wimfile:"d:\OS Images\Windows 7 Ult 64-bit\sources"\install.wim /index:4 /mountdir:d:\temp\mount1
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Mounting image
\\[=====================100.0%
================\\]
The operation completed successfully.
C:\Program Files\Windows AIK\Tools\amd64>imagex /mountrw "d:\OS Images\Windows 7 Ult 64-bit\sources"\install.wim 4 d:\temp\mount2
ImageX Tool for Windows
Copyright (C) Microsoft Corp. All rights reserved.
Version: 6.1.7600.16385
Mounting: \\[d:\OS Images\Windows 7 Ult 64-bit\sources\install.wim, 4\\] -> \\[d:\temp
\mount2\\]...
\\[ 0% \\] Mounting progress
To dismount with DISM, use
dism /unmount-wim /mountdir:\\[/commit or /discard\\]
For example,
C:\>dism /unmount-wim /mountdir:d:\Temp\mount1 /discard
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Image File : d:\OS Images\Windows 7 Ult 64-bit\sources\install.wim
Image Index : 4
Unmounting image
\\[================100.0%
=====================\\]
The operation completed successfully.
0 comments
Hide comments