Unmounting a wim image error
I have made a few changes to my wim image and when i try to unmount this i get the following error below. C:\Program Files\Windows AIK\Tools\x86>imagex /unmount /commit C:\Mount ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 6.1.7600.16385 Committing: [C:\Mount]... [ 100% ] Committing Image progress Successfully committed image. Unmounting: [C:\Mount]... [ 100% ] Mount cleanup progress Error unmounting image. The image could not be fully unmounted. The following files or folders could not be deleted. Please close all applicatio ns that have these files in use before trying to unmount again: I then closed all applications and retried. I then got the message below. The directory could not be completely unmounted. This is usually due to applications that still have files opened within the mount directory. Close these files and unmount again to complete the unmount process. C:\Program Files\Windows AIK\Tools\x86>imagex /unmount /commit C:\Mount ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 6.1.7600.16385 Committing: [C:\Mount]... Unmount Error: Changes to the Image could not be commited. More Info: The specified mounted image cannot be committed back into the WIM. This occurs when an image has been through a partial unmount or when an image is still being mounted. If this image was unmounted with commit earlier, then the commit probably succeeded. Please validate that this is the case and then unmount without commit. HELP
June 21st, 2010 9:01am

have you tried imagex /cleanup ? http://technet.microsoft.com/en-us/library/dd799302%28WS.10%29.aspx My step by step SCCM Guides I'm on Twitter > ncbrady
Free Windows Admin Tool Kit Click here and download it now
June 21st, 2010 9:05am

I have yes and although it says successful there seems to be a windows folder hanging around in the mount folder on the c drive. The contents have nothing in. Am i to assume that this should be ok?
June 21st, 2010 9:08am

try deleting it to see what happens My step by step SCCM Guides I'm on Twitter > ncbrady
Free Windows Admin Tool Kit Click here and download it now
June 21st, 2010 9:30am

Make sure that you close all explorer windows on other programs like notepad that are accessing the files, These process will leave open handles on the mounted image.
June 21st, 2010 10:03am

Hi Ricky, If you are completely blocked, here is an alternative you may use as an emergency procedure (i.e. that's not really the state of the art). Open the registry and go at key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WIMMount\Mounted ImagesThere, you should find one or more subkeys with strange names such as [e86b54b7-dc5f-4c15-8eb5-9b615bc3b154]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.Close the registry and open a command prompt.To not loose your work, capture the image with imagex /capture. You can then restore it at a later time and copy the files somewhere else.Delete the folder where you had the image mounted (in you case, it was C:\Mount).Create a new folder where you will mount the original image (you can re-create C:\Mount).Mount the original image using imagex /mountrw.Mount the backup you made previously in point 6 above, but mount it as read-only to be sure not to detroy it accidentally (use imagex /mount).Copy the files of interest from your backup mounted image to the original mounted image.Close Windows Explorer and any application that has an access to the folder where you have mounted the images.Commit the changes with imagex /commit. You can also capture the resulting image with imagex /capture.Unmount the image using imagex /unmount and if needed use also imagex /cleanup. You will need administrative privileges to perform these activities. Hope this helps.
Free Windows Admin Tool Kit Click here and download it now
July 5th, 2012 7:07pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics