Dism - The directory could not be completely unmounted - process explorer can't find open processes and unmounting fails

Hi all,
Installed WAIK on server 2008 R2 64 bit. I'm setting up some boot images, and am having a real hard time getting drivers to integrate into the driver store in the boot images.
What I'm finding is that when adding drivers to the boot image the gui hangs part way through over 50% of the time using Dell 760 or HP NX9420 drivers extracted to pull out the inf files. It's really flakey and will work after a couple of attempts and when the wind is right.
The main problem is that when the process fails the image is left open, so using dism to list mounted images and then umount the open images is the only way to try again.
However, some images won't unmount and the unmount process displays the following:
C:\Windows\system32>dism /get-mountedwiminfo
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Mounted images:
Mount Dir : C:\Users\davros\AppData\Local\Temp\~$WDSMGMT.000
Image File : \\DAVROS.stafflib.flinders.edu.au\REMINST\Boot\x86\Images\boot-(2).
wim
Image Index : 2
Mounted Read/Write : Yes
Status : Invalid
The operation completed successfully.
C:\Windows\system32>dism /unmount-wim /mountdir:C:\Users\davros\AppData\Local\Te
mp\~$WDSMGMT.000 /discard
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Image File : \\DAVROS.stafflib.flinders.edu.au\REMINST\Boot\x86\Images\boot-(2).
wim
Image Index : 2
Unmounting image
[==========================100.0%==========================]
Error: 0xc1420117
The directory could not be completely unmounted.  This is usually due to applica
tions that still have files opened within the mount directory.  Close these file
s and unmount again to complete the unmount process.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
Using process explorer shows no running processes that have the files open and the dism.log file shows:
2009-12-16 11:49:35, Error                 DISM   DISM WIM Provider: PID=5580 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimimage.cpp:75 - CWimImage::Unmount(hr:0xc1420117)
2009-12-16 11:49:35, Error                 DISM   DISM WIM Provider: PID=5580 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:1068 - CWimManager::InternalOpUnmount(hr:0xc1420117)
2009-12-16 11:49:35, Error                 DISM   DISM WIM Provider: PID=5580 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2318 - CWimManager::InternalCmdUnmount(hr:0xc1420117)
2009-12-16 11:49:35, Error                 DISM   DISM WIM Provider: PID=5580 Error executing command - CWimManager::InternalExecuteCmd(hr:0xc1420117)
2009-12-16 11:49:35, Error                 DISM   DISM WIM Provider: PID=5580 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:516 - CWimManager::ExecuteCmdLine(hr:0xc1420117)
2009-12-16 11:49:35, Info                  DISM   DISM.EXE: Image session has been closed. Reboot required=no.
2009-12-16 11:49:35, Info                  DISM   DISM.EXE:
2009-12-16 11:49:35, Info                  DISM   DISM.EXE: <----- Ending Dism.exe session ----->
2009-12-16 11:49:35, Info                  DISM   DISM.EXE:
2009-12-16 11:49:35, Info                  DISM   DISM Image Session: PID=5580 Disconnecting the provider store - CDISMImageSession::Final_OnDisconnect
2009-12-16 11:49:35, Info                  DISM   DISM Provider Store: PID=5580 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider
2009-12-16 11:49:35, Info                  DISM   DISM Provider Store: PID=5580 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
2009-12-16 11:49:35, Info                  DISM   DISM Provider Store: PID=5580 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2009-12-16 11:49:35, Info                  DISM   DISM Provider Store: PID=5580 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider
2009-12-16 11:49:35, Info                  DISM   DISM Provider Store: PID=5580 Releasing the local reference to DISMLogger.  Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
Rebooting the server clears the lock, but it's really becoming a joke, as I can create a boot image with the drivers, but then going back into add another driver causes the gui to not respond.
Any suggestions gratefully accepted. - Matt.

Hi all,
had same problem unmounting the wim file using Windows 7 Pro 32bit.
My solution was: Checking for "wrong" Dism.exe
Preparing a WinPE I followed the steps in the help of AIK. I ran the
copype.cmd batch. When it was finished, it said that it added something
to the path environment variable. It was clear that it did so in order
to find the tools needed for the further steps. As long as everything
worked, I didn't give it a second thought. Then I could not unmount the
WIM.
I looked at the PATH variable: NO entry pointed to the directory where
dism.exe was in. (In my case that would have been
     c:\program files\windows aik\tools\x86\servicing
Magically, dism.exe started from everywhere though.
Doing a      dir c:\dism.exe /s /a     showed I had a Dism.exe in
c:\windows\system32, as well. This one has a file size different from
the correct one. Obviously I had started this one (because PATH points
there).
Starting the correct dism.exe let me unmount the WIM without problems.
Regards,
Robert

Similar Messages

  • On my MacBook Pro running )SX 10.9.5 when I go to Contact Sheet II on Photoshop Elements 12 Editor it say The Operation could not be completed...The file or directory cannot be found...help.. ?Derek

    On my MacBook Pro running )SX 10.9.5 when I go to Contact Sheet II on Photoshop Elements 12 Editor it says The Operation could not be completed...The file or directory cannot be found...help.. ?
    Derek

    See if this solution works:
    https://forums.adobe.com/thread/1623951?q=contact%20sheet

  • Error while consolidating. The operation could not be completed.

    Error while consolidating. The operation could not be completed. Cocoa error 13. (null)
    Got this when I was trying to consolidate some referenced photoshop files. If failed to create a new version as well when I tried to open the files in Photoshop. I rebuilt the the library and it displays and exports both masters and version just fine, but it won't let me consolidate the master to the library.
    What gives?

    I think that error was due to the fact that I hadn't upgraded MAC OSX after installing it. I have done that now and now I get another error saying the masters are offline.
    I found this old thread: https://discussions.apple.com/thread/1965601?start=0&tstart=0 which seems to be the same problem. This is a whole other topic so I will start a new thread, but leave this in case anyone gets the same problem as me. Upgrade your OSX. That's the solution :-)

  • I can not buy the gem in the "clash of clans" game, It says "My purchase could not be completed". How I can solved this problem?

    I can not buy the gem in the "clash of clans" game, It says "My purchase could not be completed". How I can solved this problem?

    If you are also getting a message to contact iTunes Support then you can do so via this link and ask them for help (we are fellow users here on these forums, we won't know why the message is appearing) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • HT1657 When I try to rent a movie from iTunes on my Apple TV it says the purchase could not be completed. My password is correct as well as my location and other information. What is the problem?

    When I try to rent a movie on my Apple TV it states that the purchase could not be completed. My password is correct and location, user id, and other settings are correct. What is the problem?

    If you are also getting a message to contact iTunes Support then you can do so via this link and ask them why the message is appearing (we are fellow users here on these user-to-user forums, we won't know why) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Hi Friends... I'm trying to delete a back-up file on mu TC but I get the message "The operation could not be completed because the item "bands" is in use. I'd like to start the Back from scratch, could help me out with deleting the current file?

    Hi Friends...
    I’m trying to delete a back-up file on mu TC but I get the message “The operation could not be completed because the item “bands” is in use. I’d like to start the Back from scratch, could help me out with deleting the current file?

    Sorry, I am very confused. I asked the following question....
    Is this the only backup file on your Mac, or do you have other backup files and data on the Time Capsule disk?
    The answer that you gave was....
    This is the only one
    Now you are saying that....
    But I have lots of other files on Time Capsule! The back up file is only one of them.
    Can you clarify, please?

  • The action could not be completed because of a conflict with the original item. The conflict may have occurred when an existing item was updated on another computer or device. Open the item again and try making your changes. If the problem continues, cont

    I have a user on an iMac 10.6 connected to our domain.  She uses Outlook web access for email on our exchange server.  Last week she received the following message which is randomly preventing her from sending emails.  She claims no attachment was involved in the original email when this all started.  I have not been able to look at her account as she is out of the office but maybe someone else dealt with this issue.  I realize this may not be Mac related but thought I'd give it a try.  She did say it occurred once over two days while working on a PC but it continued over the past weekend.
    If an internal user tries to send a message with infected attachment using Outlook Web Access, it may report the following error message: The action could not be completed because of a conflict with the original item. The conflict may have occurred when an existing item was updated on another computer or device. Open the item again and try making your changes. If the problem continues, contact technical support for your organization.
    This is because F-Secure Anti-Virus for Microsoft Exchange has detected a virus in the attachment. If the user tries to send the message again, the message will be sent but without the attachment. At the same time a blank message with an attachment named "Attachment_information.txt" will remain in the user's Drafts folder. The "Attachment_information.txt" will contain information about the virus detected in the message.

    PS - have found other posts indicating that clips smaller than 2s or sometimes 5s, or "short files" can cause this. Modern style editing often uses short takes ! Good grief I cannot believe Apple. Well I deleted a half a dozen short sections and can export, but now of course the video is a ruined piiece of junk and I need to re-do the whole thing, the sound etc. which is basically taking as much time as the original. And each time I re-do it I risk again this lovely error -50 and again trying to figure out what thing bugs it via trial and error instead of a REASONABLE ERROR MESSAGE POINTING TO THE CLIP IT CAN'T PROCESS. What a mess. I HATE this iMovie application - full of BUGS BUGS BUGS which Apple will not fix obviously, since I had this product for a few years and see just hundreds of hits on Google about this error with disappointed users. Such junk I cannot believe I paid money for it and Apple does not support it with fixes !!!
    If anyone knows of a GOOD reasonably priced video editing program NOT from APPLE I am still looking for suggestions. I want to do more video in future, but obviously NOT with iMovie !!!

  • IMovie error message "The operation could not be completed"

    I am trying to create a new movie and got this error message " The operation could not be completed" after selecting the Themes.
    Any suggestions?
    Thanks

    My problem was because I had moved my Movies folder from the system drive (which is an SSD) over to another drive with a larger capacity. I then created an Alias in my home folder.  Turns out this is what was causing the problem. I shoulda known. Some apps absolutely hate this. iMovie, being the dumbed down garbage that it is, simply MUST have it's library in a certain folder, apparently. Would be nice if we had a choice about it.
    I find Premiere Elements is actually the better (and friendlier) program. However in this case, I had to slum it with iMovie due to the Quicktime file I was working with.

  • The save for the web function has stopped working in my copy of photoshop elements 12.  I get this message, " The operation could not be completed.  The system cannot find the path specified" Resetting preferences did not fix.

    The save for the web function has stopped working in my copy of photoshop elements 12.  I get this message, “ The operation could not be completed.  The system cannot find the path specified” Resetting preferences did not fix.

    my os is windows 7.  elements 12 worked fine for many months then save for the web stopped working

  • The share operation "master file" has failed. the operation could not be completed because an error occurred creating Frame 93164 (error-1). how can i find the frame?

    The share operation "master file" has failed. the operation could not be completed because an error occurred creating Frame 93164 (error-1). how can i find the frame?

    https://discussions.apple.com/thread/6219522

  • The operation could not be completed because an item with the name xyz already exists

    I am trying to make a click and drag backup on an external FAT 32 drive to compliment my Time Machine backup (long story) and I've done this each time by dragging my critical folders into the drive. I get a message asking me to stop, replace or skip, and whether to apply to all items. i click replace, apply all, and let it go.
    however, one stubborn folder refuses to comply. every single time I click and drag a group of folder that includes that one, I get a message saying "the operation could not be completed because an item with the name xyz already exists" even after I selected the the "apply all" prompt. at which point, the Mac stops transferring ALL the other files.
    I figured, OK, i'll just transfer the other folders individually and then deal with this folder later. so I do that, and once I get to the offending folder, I try to transfer just that one folder into the drive. no good; I get the operation message again. I decide to just transfer the contents of the folder, rather than the folder itself. No good, I just get the operation message about one of the folders within the main folder.
    anyone know the cause, or at least a fix?

    If you've installed a system modification called "TotalFinder," remove it according to the developer's instructions after backing up all data. Log out, log back in, and try again.
    Otherwise, open the Info dialog on both the source and the destination volumes. What is the Format of each? For example, it might be "Mac OS Extended (Journaled)".
    For some other possible solutions, see:
    operation can't be completed because an...: Apple Support Communities

  • 'The operation could not be completed. Access is denied' during delete.

    Hello World,
    Something happened while working in my Visual Studio 2010 Professional environment.
    When I delete a member from my Solution Explorer, it disappears from the memberlist, is marked as 'locked, deleted' and can be removed from TFS using Check-In. But during the delete process I get the message 'The operation could not be completed. Access
    is denied.'
    I'm an Administrator on my computer (manually adding/deleting members in my workspace and/or directly in TFS is not a problem). I get this message for every delete I perform, even in other Solutions!
    The member will remain in my workspace however. 
    Can anyone help me with this problem please?
    Thanks,
    Guy Swagen
    Microsoft Visual Studio 2010
    Version 10.0.40219.1 SP1Rel
    Microsoft .NET Framework
    Version 4.0.30319 SP1Rel
    Installed Version: Professional
    Microsoft Office Developer Tools   01018-532-2002181-70270
    Microsoft Office Developer Tools
    Microsoft Visual Basic 2010   01018-532-2002181-70270
    Microsoft Visual Basic 2010
    Microsoft Visual C# 2010   01018-532-2002181-70270
    Microsoft Visual C# 2010
    Microsoft Visual C++ 2010   01018-532-2002181-70270
    Microsoft Visual C++ 2010
    Microsoft Visual F# 2010   01018-532-2002181-70270
    Microsoft Visual F# 2010
    Microsoft Visual Studio 2010 Team Explorer   01018-532-2002181-70270
    Microsoft Visual Studio 2010 Team Explorer
    Microsoft Visual Web Developer 2010   01018-532-2002181-70270
    Microsoft Visual Web Developer 2010
    Crystal Reports Templates for Microsoft Visual Studio 2010   
    Crystal Reports Templates for Microsoft Visual Studio 2010
    Java language support for Visual Studio   1.0
    Java language tools for Visual Studio includes IntelliSense and more... eventually...
    Java project support for Visual Studio   1.0
    Java project system for Visual Studio
    Micro Focus Enterprise Developer Team Edition 2.2   Serial number: xxxxxxxxxxxxxxxx
    Micro Focus Enterprise Developer Team Edition 2.2 Version 2.2.01204.
    Serial number: xxxxxxxxxxxxxxxx Full license
    For more information, visit http://www.microfocus.com.
    Copyright (C) Micro Focus 1984-2014. All rights reserved.
    Micro Focus Rumba Integration   1.0
    Micro Focus Rumba Integration is a Visual Studio package which provides connectivity to Mainframes.
    Microsoft Team Foundation Server 2010 Power Tools   10.0.41206.0
    Power Tools that extend the Team Foundation Server integration with Visual Studio.
    Microsoft Visual Studio 2010 Professional - ENU Service Pack 1 (KB983509)   KB983509
    This service pack is for Microsoft Visual Studio 2010 Professional - ENU.
    If you later install a more recent service pack, this service pack will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/983509.
    Microsoft Visual Studio 2010 SharePoint Developer Tools   10.0.40219
    Microsoft Visual Studio 2010 SharePoint Developer Tools
    Microsoft Visual Studio Process Editor   1.0
    Process Editor for Microsoft Visual Studio Team Foundation Server

    Hi GuySwagten,
    Based on your description, the files you're trying to delete are locked by other team members of your team project in server workspace. You can have a check with your team members or check the hisotries of the files to see the lock information.
    Please refer to this
    page to get more information about TFS lock types. And you can ask the team member to unlock the files if you want to delete them or do other operations.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • The Operation could not be completed. No other information is available about the problem.

    MAC OSX 10.8.5
    Processor 2.7 GHz
    Memory 4GB1333 MHz DDR3
    Logic Pro 9.1.8 (1700.67) 32 BIT
    "The Operation could not be completed. No other information is available about the problem."
    Uploaded on google drive a series of project files. downloaded them and now the message above is what pops up effectively blocking me from my work. After talking with google support, they confirmed the successful upload and download with no file corruption. All file extensions are the same. Can someone please help.
    Sincerely,
    Butta Love

    Try the following..
    Compress the audio files before uploading them to Google.. using Apple's built in file compressor... (Right/Control click on an audio file and choose compress from the popup menu...
    Download from Google and then decompress audio files..
    Now test in Logic and see if you get the same issue....

  • "The operation could not be completed" using iMovie 10.0.6

    I'm using the new iMovie 10.0.6 with OS X Yosemite 10.10.
    This is the first time I access to iMovie after upgrade to Yosemite.
    When I try to begin a new movie and after select a theme the following message is shown:
    "The operation could not be completed.
    No other information is available about the problem"
    The technical information obtained from the console is:
    "13/11/14 11:46:50,195 iMovie[702]: -[NSAlert alertWithError:] called with nil NSError. A generic error message will be displayed, but the user deserves better."
    So, I can't use iMovie as I expected...
    Is anybody have this problem ?
    Thanks

    I had the exact same problem, working with apple support I had to uninstall iMovie and all the files connected with it and then download iMovie again.  The problem is you iMovie is not creating the library file it needs to save your work.
    Apple support was great at walking me through which files had to be deleted.
    good luck
    Ron

  • "The operation could not be completed" Creating an iMovie

    Hello,
    Every time I go to create a Movie or project in iMovie it says, "The operation could not be completed" followed by "No other information is available about the problem."
    I have been recording several videos, and I need to edit them, get them on YouTube so I can clear the videos off my computer.
    Any help is appreciated. Thank you in advance,
    Patrick.

    Hello,
    Every time I go to create a Movie or project in iMovie it says, "The operation could not be completed" followed by "No other information is available about the problem."
    I have been recording several videos, and I need to edit them, get them on YouTube so I can clear the videos off my computer.
    Any help is appreciated. Thank you in advance,
    Patrick.

Maybe you are looking for

  • Header Text copy to PO from vendor master

    Dear all, I am trying to pull data storeed in vendor master to PO for header text so that we don't need to repeat to each PO for the vendor. I tried to link this in "Texts for Purchase Orders" in SPRO ,But not able to link it B'coz it's not allowing

  • Missing and Inactive Plug Ins

    1.  How do I activate the Inactive ones? 2.  How do I know which ones are missing?  Where do I get them? The Apple store recently installed Mountain Line (which I hate).  Don't know if that had anything to do with it or not. Thanks

  • Creating Key Figures

    Hello everyone, I'm currently trying to build my own AR Aging Report as the standard one does not include a couple extension fields that I need. I've already created my Data Source but the Key Figure Group that is in the standard AR Aging Report is s

  • How do i measure frequency?

    lets say theres this signal in volts. if you plot the signal it forms a sine graph. is there any way to use labview to determine the frequency of the signal? i've tried to use the "measure frequency vi" but my device is connected to a virtual channel

  • LMS 3.2 Services do not start

    Hello, LMS does not start, although the services seem to be started. Find attached the pdshow output and let me know what more you need me to send.