2

I use DISM to customize and update images that I deploy to our computers. I do this on an external drive because its really heavy on I/O. A while ago I appear to have left the image mounted in my F drive as F:\WIN81MOUNT. The files are there. Running dism /get-mountedwiminfo however shows that there are no mounted WIMs. As such, I have no idea how to delete WIN81MOUNT as I cannot remount, unmount, or just delete the folder (files have permissions of things like SYSTEM, as they are in the windows image).

How can I force this WIM to unmount, or remount? I have tried all the standard options such as unmount-wim, cleanup-image, remount-wim... none of them work, saying the request is not supported. The log indicates "This is not a WIM mount point.".

1

Following info is from "http://trueliarx.blogspot.co.uk/2014/07/force-unmount-and-clean-up-of-wim-image.html"

Force Unmount and Clean up of a Wim Image using DISM

When you use RT7 (+ AIK) sometimes an error occurs stating that there's a mounted wim (ex. boot.wim). To solve the problem you should run, as administrator, the command:

“ dism /cleanup-wim”

If it doesn't work I've found another solution by editing the registry and deleting all the (necessary) entries within:

"HKLM\SOFTWARE\Microsoft\WIMMount\mounted images\"

It should work as long as you are an administrator.

//end.

The regular procedure, which you've already used (?) is shown below:

  1. Information can be found in the log file can be found at: C:\Windows\Logs\DISM\dism.log

  2. In the case of 64bit servicing tools previously run on 64bit Windows;

In an elevated command prompt issue;

cd C:\Program Files\Windows AIK\Tools\amd64\Servicing

In the same elevated command prompt issue;

dism /?

Some helpful information may be displayed.

In the same elevated command prompt issue;

dism /Get-MountedWimInfo

Information about mounted images may be displayed.

If there are any Dirs found to be mounted, which need to be un-mounted, for each Dir issue;

dism /Unmount-Wim /Mountdir:C:\examplepath /commit

After this is complete the related wim files, found with "Get-MountedWimInfo", can be deleted using Windows Explorer.

| improve this answer | |
0

As a last resort:

  1. Open the registry and go at key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WIMMount\Mounted Images.
  2. There, you should find one or more subkeys with strange names such as [e86b54b7-dc5f-4c15-8eb5-9b615bc3b154]
  3. Open the first of these folders and find out if it corresponds to the mounted image that looks corrupted; use the values [Mount Path], [WIM Path] and [Image Index] to find out.Once you have found the correct subkey mentionned in point 2 above, delete it.
  4. Delete and recreate the Mount folder..
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.