A. DISM has a great /get-mountedwiminfo option that gives basic information about any mounted WIM, including the folder the WIM is mounted at and if it's writable. This is all the info you need to dismount it.

C:\>dism /get-mountedwiminfo<br><br> Deployment Image Servicing and Management tool<br> Version: 6.1.7600.16385<br><br> Mounted images:<br><br> Mount Dir : d:\Temp\mount1<br> Image File : d:\OS Images\Windows 7 Ult 64-bit\sources\install.wim<br> Image Index : 4<br> Mounted Read/Write : Yes<br> Status : Ok<br><br> The operation completed successfully.