Win8 ADK: Dism Problems (.DLL related?)

I'm having some problems with the Win8 ADK; specifically, DISM, and it appears to be a bug related to how the ADK is installed and it's .DLLs are registered.

I created a Windows 8 x64 VM from scratch and installed WADK, and once finished, opened a Shell with the Deployment and Imaging Tools environment settings as Administrator. I then ran the copype script to create a fresh copy of WinPE to begin servicing:

copype x86 C:\test

This command executes as expected. I then attempt to mount the new image:

dism /mount-image /imagefile:C:\test\media\sources\boot.wim /index:1 /mountdir:C:\test\mount

This operation fails with the following output:

Deployment Image Servicing and Management tool

Version: 6.2.9200.16384


Error: 3

The system cannot find the path specified.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

Now, what's bizarre is that if I proceed to uninstall WADK, I can then immediately re-run the same operation and it will work correctly -- presumably using the Windows 8's built-in DISM tools. If I reinstall WADK, once again I cannot mount images--uninstall, and everything is fixed again.

I've been trying this on various machines in our organization, and so far I've encountered this problem on one Windows 8 VM, as well as a coworkers Windows 7 x64 workstation. Strangely, other coworkers (also using Windows 7 x64) seem to be having no problems related to mounting images with DISM.

Are there known issues with WADK/DISM? It seems like the WADK might have some issues in installing/registering the necessary DISM files, in that the same error can occur on Windows 8 and also 7. I can only confirm that I've seen this issue on x64, but I haven't had the resources to try and test to look for similar problems in x86 environments.

Can anyone advise on this issue?

March 22nd, 2013 5:09pm

I ran the same command using DISM on a host machine, and I got not problem:

I don't know if you got the problem because the VM. What VM Manager are you using? Hyper-V?

Free Windows Admin Tool Kit Click here and download it now
March 22nd, 2013 6:14pm

Hi Sergio,

In my instance, I am using Hyper-V (integrated with Win8), but to be clear, this is not a problem that manifests on all machines. In our environment, I am running Windows 8 x64 and WADK works perfectly. I have two Hyper-V VMs; one Win8 x86, the other Win8 x64, and in testing on both of those, WADK works correctly on x86 and fails on x64.

In asking coworkers near me to test, two others with Windows 7 x64 were able to install WADK and use it successfully. A third (also with Win7 x64) encountered the same error.

Here's what's bizarre: On my Win8 x64 VM, if I install WADK, I can use the copype script to make a copy of Windows PE for x86 or x64 successfully. Mounting, however, fails. If I then uninstall the WADK, I can mount the WinPE copies that I created with copype earlier with no problem. I can unmount, remount, etc.

If I reinstall WADK and try to mount, the operation fails once again. Remove it, operation works successfully.

It seems that the WADK (DISM, specifically) is prone to a fault when setting up it's environment, in that DISM's Mount Image operation can fail (presumably because it cannot locate the libraries necessary to mounting images.)

Can I provide any more information to help troubleshoot? I can repeat this endlessly on my VM and collect any sort of logs or other information that would be valuable in debugging.

March 22nd, 2013 6:31pm

Hi,

Please post the log C:\Windows\Logs\DISM\dism.log here. Thx.

Free Windows Admin Tool Kit Click here and download it now
March 26th, 2013 10:28am

In your specified command, you have: mountdir:C:\test\mount

DISM requires this path to already exist. If there is no mount folder there already, DISM will give you that error. Or (of course) if the /imagefile path is invalid.

March 26th, 2013 9:01pm

In your specified command, you have: mountdir:C:\test\mount

DISM requires this path to already exist. If there is no mount folder there already, DISM will give you that error. Or (of course) if the /imagefile path is invalid.

Free Windows Admin Tool Kit Click here and download it now
March 26th, 2013 9:01pm

To be clear, I installed the WADK in order to create a new copy of Windows PE (x86) to C:\Test. To that order, the following directories exist:

  • C:\Test
  • C:\Test\fwfiles
  • C:\Test\media
  • C:\Test\mount

Further, I can run copype x86 C:\Test successfully after installing the WADK. However, mounting the image is where the problem comes in. Again, here is the command I'm using to mount the image:

dism /mount-image /imagefile:C:\test\media\sources\boot.wim /index:1 /mountdir:C:\test\mount

With WADK installed, this operation fails citing "Error 3: The system cannot find the path specified." If I uninstall the WADK, I can then successfully mount the image using the same command. I expect that the difference is that with WADK installed, some DLL confusion is taking place. When I uninstall the WADK, I'm now mounting the image using the built-in DISM components, and it works correctly.

Attached are two seperate DISM logs: The first is of DISM failing to mount the image with WADK installed. The second is of successfully mounting the image after uninstalling WADK and using Windows alone.

Windows 8 + WADK installed (/mount-image fails):

2013-04-02 10:21:33, Info                  DISM   PID=1604 TID=2396 Scratch directory set to 'C:\Users\Justin2\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir
2013-04-02 10:21:33, Info                  DISM   PID=1604 TID=2396 DismCore.dll version: 6.2.9200.16384 - CDISMManager::FinalConstruct
2013-04-02 10:21:33, Info                  DISM   PID=1604 TID=2396 Successfully loaded the ImageSession at "C:\Windows\System32\Dism" - CDISMManager::LoadLocalImageSession
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Failed to get and initialize the PE Provider.  Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:21:33, Info                  DISM   DISM Manager: PID=1604 TID=2396 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:21:33, Info                  DISM   DISM.EXE: 
2013-04-02 10:21:33, Info                  DISM   DISM.EXE: <----- Starting Dism.exe session ----->
2013-04-02 10:21:33, Info                  DISM   DISM.EXE: 
2013-04-02 10:21:33, Info                  DISM   DISM.EXE: Host machine information: OS Version=6.2.9200, Running architecture=amd64, Number of processors=1
2013-04-02 10:21:33, Info                  DISM   DISM.EXE: Dism.exe version: 6.2.9200.16384
2013-04-02 10:21:33, Info                  DISM   DISM.EXE: Executing command line: dism  /mount-image /imagefile:C:\test\media\sources\boot.wim /index:1 /mountdir:C:\test\mount
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Loading Provider from location C:\Windows\System32\Dism\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Connecting to the provider located at C:\Windows\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Loading Provider from location C:\Windows\System32\Dism\WimProvider.dll - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Connecting to the provider located at C:\Windows\System32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Loading Provider from location C:\Windows\System32\Dism\VHDProvider.dll - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Connecting to the provider located at C:\Windows\System32\Dism\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Loading Provider from location C:\Windows\System32\Dism\ImagingProvider.dll - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Connecting to the provider located at C:\Windows\System32\Dism\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Loading Provider from location C:\Windows\System32\Dism\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Connecting to the provider located at C:\Windows\System32\Dism\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2013-04-02 10:21:33, Info                  DISM   DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
2013-04-02 10:21:33, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
2013-04-02 10:21:33, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: FolderManager
2013-04-02 10:21:33, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: WimManager
2013-04-02 10:21:33, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: WimManager.
2013-04-02 10:21:33, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: VHDManager
2013-04-02 10:21:33, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: GenericImagingManager
2013-04-02 10:21:33, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.
2013-04-02 10:21:33, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: Compatibility Manager
2013-04-02 10:21:33, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Getting Provider GenericImagingManager - CDISMProviderStore::GetProvider
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:21:33, Info                  DISM   DISM Imaging Provider: PID=1604 TID=2396 WIM image specified - CGenericImagingManager::GetImageInfoCollection
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Getting Provider WimManager - CDISMProviderStore::GetProvider
2013-04-02 10:21:33, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
[1604] [0x80070003] OpenFilterPort:(582): The system cannot find the path specified.
[1604] [0x80070003] FltCommVerifyFilterPresent:(1172): The system cannot find the path specified.
[1604] [0x80070003] WIMMountImageHandle:(877): The system cannot find the path specified.
[1604] [0x80070002] StateStoreRemoveMountedImage:(1041): The system cannot find the file specified.
[1604] [0x80070002] WIMMountImageHandle:(1116): The system cannot find the file specified.
2013-04-02 10:21:34, Error                 DISM   DISM WIM Provider: PID=1604 TID=2396 Failed to mount the image. - CWimImageInfo::Mount(hr:0x80070003)
2013-04-02 10:21:34, Error                 DISM   DISM Imaging Provider: PID=1604 TID=2396 base\ntsetup\opktools\dism\providers\imagingprovider\dll\genericimagingmanager.cpp:795 - CGenericImagingManager::InternalOpMount(hr:0x80070003)
2013-04-02 10:21:34, Error                 DISM   DISM Imaging Provider: PID=1604 TID=2396 base\ntsetup\opktools\dism\providers\imagingprovider\dll\genericimagingmanager.cpp:715 - CGenericImagingManager::InternalCmdMount(hr:0x80070003)
2013-04-02 10:21:34, Error                 DISM   DISM Imaging Provider: PID=1604 TID=2396 base\ntsetup\opktools\dism\providers\imagingprovider\dll\genericimagingmanager.cpp:513 - CGenericImagingManager::ExecuteCmdLine(hr:0x80070003)
2013-04-02 10:21:34, Info                  DISM   DISM.EXE: Image session has been closed. Reboot required=no.
2013-04-02 10:21:34, Info                  DISM   DISM.EXE: 
2013-04-02 10:21:34, Info                  DISM   DISM.EXE: <----- Ending Dism.exe session ----->
2013-04-02 10:21:34, Info                  DISM   DISM.EXE: 
2013-04-02 10:21:34, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2013-04-02 10:21:34, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
2013-04-02 10:21:34, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider
2013-04-02 10:21:34, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Disconnecting Provider: VHDManager - CDISMProviderStore::Internal_DisconnectProvider
2013-04-02 10:21:34, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Disconnecting Provider: GenericImagingManager - CDISMProviderStore::Internal_DisconnectProvider
2013-04-02 10:21:34, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider
2013-04-02 10:21:34, Info                  DISM   DISM Provider Store: PID=1604 TID=2396 Releasing the local reference to DISMLogger.  Stop logging. - CDISMProviderStore::Internal_DisconnectProvider


Windows 8 (WADK uninstalled, /mount-image succeeds):

2013-04-02 10:15:36, Info                  DISM   PID=1016 TID=1228 Scratch directory set to 'C:\Users\Justin2\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir
2013-04-02 10:15:36, Info                  DISM   PID=1016 TID=1228 DismCore.dll version: 6.2.9200.16384 - CDISMManager::FinalConstruct
2013-04-02 10:15:36, Info                  DISM   PID=1016 TID=1228 Successfully loaded the ImageSession at "C:\Windows\System32\Dism" - CDISMManager::LoadLocalImageSession
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Failed to get and initialize the PE Provider.  Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:15:36, Info                  DISM   DISM Manager: PID=1016 TID=1228 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:15:36, Info                  DISM   DISM.EXE: 
2013-04-02 10:15:36, Info                  DISM   DISM.EXE: <----- Starting Dism.exe session ----->
2013-04-02 10:15:36, Info                  DISM   DISM.EXE: 
2013-04-02 10:15:36, Info                  DISM   DISM.EXE: Host machine information: OS Version=6.2.9200, Running architecture=amd64, Number of processors=1
2013-04-02 10:15:36, Info                  DISM   DISM.EXE: Dism.exe version: 6.2.9200.16384
2013-04-02 10:15:36, Info                  DISM   DISM.EXE: Executing command line: dism  /mount-image /imagefile:C:\test\media\sources\boot.wim /index:1 /mountdir:C:\test\mount
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Loading Provider from location C:\Windows\System32\Dism\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Connecting to the provider located at C:\Windows\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Loading Provider from location C:\Windows\System32\Dism\WimProvider.dll - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Connecting to the provider located at C:\Windows\System32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Loading Provider from location C:\Windows\System32\Dism\VHDProvider.dll - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Connecting to the provider located at C:\Windows\System32\Dism\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Loading Provider from location C:\Windows\System32\Dism\ImagingProvider.dll - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Connecting to the provider located at C:\Windows\System32\Dism\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Loading Provider from location C:\Windows\System32\Dism\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Connecting to the provider located at C:\Windows\System32\Dism\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2013-04-02 10:15:36, Info                  DISM   DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
2013-04-02 10:15:36, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
2013-04-02 10:15:36, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: FolderManager
2013-04-02 10:15:36, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: WimManager
2013-04-02 10:15:36, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: WimManager.
2013-04-02 10:15:36, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: VHDManager
2013-04-02 10:15:36, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: GenericImagingManager
2013-04-02 10:15:36, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.
2013-04-02 10:15:36, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: Compatibility Manager
2013-04-02 10:15:36, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Getting Provider GenericImagingManager - CDISMProviderStore::GetProvider
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:15:36, Info                  DISM   DISM Imaging Provider: PID=1016 TID=1228 WIM image specified - CGenericImagingManager::GetImageInfoCollection
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Getting Provider WimManager - CDISMProviderStore::GetProvider
2013-04-02 10:15:36, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
[1016] Caller did not request sparse mount
[1016] Mounting new image.
Wim:         [C:\test\media\sources\boot.wim]
Image Index: [1]
Mount Path:  [C:\test\mount]
[1016] Wimserv process started for guid f7dd9f47-ec90-46f3-88f5-3953b995ef9c.  Id is 1052
[1052] ImageUnmarshallHandle: Reconstituting wim at C:\test\media\sources\boot.wim.
[1052] Mounted image at C:\test\mount.
2013-04-02 10:15:59, Info                  DISM   DISM.EXE: Image session has been closed. Reboot required=no.
2013-04-02 10:15:59, Info                  DISM   DISM.EXE: 
2013-04-02 10:15:59, Info                  DISM   DISM.EXE: <----- Ending Dism.exe session ----->
2013-04-02 10:15:59, Info                  DISM   DISM.EXE: 
2013-04-02 10:15:59, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2013-04-02 10:15:59, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
2013-04-02 10:15:59, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider
2013-04-02 10:15:59, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Disconnecting Provider: VHDManager - CDISMProviderStore::Internal_DisconnectProvider
2013-04-02 10:15:59, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Disconnecting Provider: GenericImagingManager - CDISMProviderStore::Internal_DisconnectProvider
2013-04-02 10:15:59, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider
2013-04-02 10:15:59, Info                  DISM   DISM Provider Store: PID=1016 TID=1228 Releasing the local reference to DISMLogger.  Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
2013-04-02 10:16:03, Info                  DISM   PID=1604 TID=2280 Scratch directory set to 'C:\Users\Justin2\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir
2013-04-02 10:16:03, Info                  DISM   PID=1604 TID=2280 DismCore.dll version: 6.2.9200.16384 - CDISMManager::FinalConstruct
2013-04-02 10:16:03, Info                  DISM   PID=1604 TID=2280 Successfully loaded the ImageSession at "C:\Windows\System32\Dism" - CDISMManager::LoadLocalImageSession
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Failed to get and initialize the PE Provider.  Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:16:03, Info                  DISM   DISM Manager: PID=1604 TID=2280 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:16:03, Info                  DISM   DISM.EXE: 
2013-04-02 10:16:03, Info                  DISM   DISM.EXE: <----- Starting Dism.exe session ----->
2013-04-02 10:16:03, Info                  DISM   DISM.EXE: 
2013-04-02 10:16:03, Info                  DISM   DISM.EXE: Host machine information: OS Version=6.2.9200, Running architecture=amd64, Number of processors=1
2013-04-02 10:16:03, Info                  DISM   DISM.EXE: Dism.exe version: 6.2.9200.16384
2013-04-02 10:16:03, Info                  DISM   DISM.EXE: Executing command line: dism  /unmount-image /mountdir:C:\test\mount /discard
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Loading Provider from location C:\Windows\System32\Dism\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Connecting to the provider located at C:\Windows\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Loading Provider from location C:\Windows\System32\Dism\WimProvider.dll - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Connecting to the provider located at C:\Windows\System32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Loading Provider from location C:\Windows\System32\Dism\VHDProvider.dll - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Connecting to the provider located at C:\Windows\System32\Dism\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Loading Provider from location C:\Windows\System32\Dism\ImagingProvider.dll - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Connecting to the provider located at C:\Windows\System32\Dism\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Loading Provider from location C:\Windows\System32\Dism\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Connecting to the provider located at C:\Windows\System32\Dism\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2013-04-02 10:16:03, Info                  DISM   DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
2013-04-02 10:16:03, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
2013-04-02 10:16:03, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: FolderManager
2013-04-02 10:16:03, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: WimManager
2013-04-02 10:16:03, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: WimManager.
2013-04-02 10:16:03, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: VHDManager
2013-04-02 10:16:03, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: GenericImagingManager
2013-04-02 10:16:03, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.
2013-04-02 10:16:03, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: Compatibility Manager
2013-04-02 10:16:03, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Getting Provider GenericImagingManager - CDISMProviderStore::GetProvider
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Getting Provider VHDManager - CDISMProviderStore::GetProvider
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2013-04-02 10:16:03, Info                  DISM   DISM VHD Provider: PID=1604 TID=2280 [C:\test\mount] is not recognized by the DISM VHD provider. - CVhdImage::Initialize
2013-04-02 10:16:03, Info                  DISM   DISM Imaging Provider: PID=1604 TID=2280 The provider VHDManager does not support CreateDismImage on C:\test\mount - CGenericImagingManager::CreateDismImage
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Getting Provider WimManager - CDISMProviderStore::GetProvider
2013-04-02 10:16:03, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
[1604] ImageUnmarshallHandle: Reconstituting wim at C:\test\media\sources\boot.wim.
[1604] ImageUnmarshallHandle: Reconstituting wim at C:\test\media\sources\boot.wim.
[1604] ImageUnmarshallHandle: Reconstituting wim at C:\test\media\sources\boot.wim.
[1052] Received unmount request for image with guid f7dd9f47-ec90-46f3-88f5-3953b995ef9c.
[1052] Unmount for image at C:\test\mount complete.
2013-04-02 10:16:13, Info                  DISM   DISM.EXE: Image session has been closed. Reboot required=no.
2013-04-02 10:16:13, Info                  DISM   DISM.EXE: 
2013-04-02 10:16:13, Info                  DISM   DISM.EXE: <----- Ending Dism.exe session ----->
2013-04-02 10:16:13, Info                  DISM   DISM.EXE: 
2013-04-02 10:16:13, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2013-04-02 10:16:13, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
2013-04-02 10:16:13, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider
2013-04-02 10:16:13, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Disconnecting Provider: VHDManager - CDISMProviderStore::Internal_DisconnectProvider
2013-04-02 10:16:13, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Disconnecting Provider: GenericImagingManager - CDISMProviderStore::Internal_DisconnectProvider
2013-04-02 10:16:13, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider
2013-04-02 10:16:13, Info                  DISM   DISM Provider Store: PID=1604 TID=2280 Releasing the local reference to DISMLogger.  Stop logging. - CDISMProviderStore::Internal_DisconnectProvider

Further:

  • When running DISM commands in Windows 8 w/o WADK, I'm running from an elevated Console
  • When running DISM commands on Windows 8 w/ ADK, I've tried running from an elevated Console, elevated DISM environment Console (installed with the WADK), as well as running dism.exe specifically from the Windows Kits\8.0\Assessment and Deployment Kit\Deployment Tools\amd64 as well as x86 directories. All fail as above.

This problem is reproduceable in my HyperV session, I can install/uninstall WADK repeatedly and receive the same results. To that end, I can capture a video and post to Youtube (or elsewhere) to help share the operations I'm going through. I could also take a snapshot and perform other testing.

It seems that installing the WADK is causing some libraries to be stomped on, for lack of a better term. Also importantly, a co-worker who has Windows 7 x64 is getting the same type of error, although because he's running Windows 7 and not Windows 8, he cannot test a mounting operation without the WADK (as Windows 7 does not include the DISM tools as Windows 8 does.)

April 2nd, 2013 5:49pm

Hi,

[1604] [0x80070003] OpenFilterPort:(582): The system cannot find the path specified.
[1604] [0x80070003] FltCommVerifyFilterPresent:(1172): The system cannot find the path specified.
[1604] [0x80070003] WIMMountImageHandle:(877): The system cannot find the path specified.
[1604] [0x80070002] StateStoreRemoveMountedImage:(1041): The system cannot find the file specified.
[1604] [0x80070002] WIMMountImageHandle:(1116): The system cannot find the file specified.

The errors above mean the file and the path cannot be found. Please double-check that. The providers are the same according to the logs you posted above.  

Free Windows Admin Tool Kit Click here and download it now
April 3rd, 2013 6:14am

Hi Juke,

Thanks for the follow-up. I've double-checked and triple-checked everything; I'm at a loss. I install the WADK, that command fails with that error. Uninstall WADK (without rebooting), the very same command in the Shell executes flawlessly. Reinstall WADK (again, no restart), that command fails again.

(If you intermix reboots, wondering if that's the issue, it reproduces exactly as I've explained.)

How could there be a problem with the Path and the location of files and folders if that command works fine without WADK, and fails upon installing it, and then works again upon uninstalling it? 

Further, if I use the shell to navigate directly to the WADK's DISM directories and execute the binaries directly from the x86/amd64 directories, it still fails in the same fashion.

Like I said, I can endlessly reproduce this, I could make a video and post it on Youtube, I could even do a webinar session to show off the behavior.

I'm at a loss. What's the next step? Should I try to get in touch with Microsoft engineers more directly?

April 3rd, 2013 7:54pm

I'm experiencing the exact same issues as Justin is, some 14 months down the track. Same error messages, same scenario. I've replicated the issue on two machines - one Windows Server 2012 R2 VM and one Windows 8.1 x64 desktop. Both have WADK installed, both fail miserably to mount any WIMs.

Is anyone from Microsoft reading this? 

Free Windows Admin Tool Kit Click here and download it now
June 17th, 2014 2:12am

Try C:\Windows\SysWOW64\Dism.exe
March 19th, 2015 5:00pm

Try C:\Windows\SysWOW64\Dism.exe
DISM that comes with Windows does not have the same capabilities as the DISM that comes with the ADK.
Free Windows Admin Tool Kit Click here and download it now
March 20th, 2015 11:44am

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

Other recent topics Other recent topics