Quantcast
Channel: Setup Deployment forum
Viewing all articles
Browse latest Browse all 2818

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

$
0
0
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.



Viewing all articles
Browse latest Browse all 2818

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>