Link to home
Start Free TrialLog in
Avatar of hallerit
halleritFlag for United States of America

asked on

Mounting wim image for maintenance Error 1812

I created captured some desktop and laptop images (Windows 7) a few months back and want to update them to service pack 1.  I cannot seem to get the image mounted for offline maintenance  with DISM.

c:\>Dism /Mount-WIM /WimFile:"C:\RemoteInstall\Images\Windows 7\Windows 7 Pro -
Dell Latitude E6510.wim" /Index:1 /MountDir:C:\mount

Deployment Image Servicing and Management tool
Version: 6.1.7600.16385

Mounting image


Error: 1812

The specified image file did not contain a resource section.

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

Open in new window


Here is the log referenced in the error message:
2011-03-23 16:09:42, Info                  DISM   PID=10588 Scratch directory set to 'C:\Users\admin\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir
2011-03-23 16:09:42, Info                  DISM   PID=10588 Successfully loaded the ImageSession at "C:\Windows\System32\Dism" - CDISMManager::LoadImageSession
2011-03-23 16:09:42, Info                  DISM   DISM Provider Store: PID=10588 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
2011-03-23 16:09:42, Info                  DISM   DISM Provider Store: PID=10588 Failed to get and initialize the PE Provider.  Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
2011-03-23 16:09:42, Info                  DISM   DISM Provider Store: PID=10588 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
2011-03-23 16:09:42, Info                  DISM   DISM Provider Store: PID=10588 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
2011-03-23 16:09:42, Info                  DISM   DISM Provider Store: PID=10588 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2011-03-23 16:09:42, Info                  DISM   DISM Provider Store: PID=10588 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
2011-03-23 16:09:42, Info                  DISM   DISM Provider Store: PID=10588 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2011-03-23 16:09:42, Info                  DISM   DISM Manager: PID=10588 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
2011-03-23 16:09:42, Info                  DISM   DISM Provider Store: PID=10588 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
2011-03-23 16:09:42, Info                  DISM   DISM Provider Store: PID=10588 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2011-03-23 16:09:42, Info                  DISM   DISM.EXE: 
2011-03-23 16:09:42, Info                  DISM   DISM.EXE: <----- Starting Dism.exe session ----->
2011-03-23 16:09:42, Info                  DISM   DISM.EXE: 
2011-03-23 16:09:42, Info                  DISM   DISM.EXE: Host machine information: OS Version=6.1.7601, Running architecture=amd64, Number of processors=8
2011-03-23 16:09:42, Info                  DISM   DISM.EXE: Executing command line: Dism  /Mount-WIM /WimFile:"C:\RemoteInstall\Images\Windows 7\Windows 7 Pro - Dell Latitude E6510.wim" /Index:1 /MountDir:C:\mount
2011-03-23 16:09:42, Info                  DISM   DISM Provider Store: PID=10588 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
2011-03-23 16:09:42, Info                  DISM   DISM Provider Store: PID=10588 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2011-03-23 16:09:42, Info                  DISM   DISM Provider Store: PID=10588 Loading Provider from location C:\Windows\System32\Dism\WimProvider.dll - CDISMProviderStore::Internal_GetProvider
2011-03-23 16:09:42, Info                  DISM   DISM Provider Store: PID=10588 Connecting to the provider located at C:\Windows\System32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2011-03-23 16:09:42, Info                  DISM   DISM Provider Store: PID=10588 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2011-03-23 16:09:42, Info                  DISM   DISM Provider Store: PID=10588 Loading Provider from location C:\Windows\System32\Dism\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider
2011-03-23 16:09:42, Info                  DISM   DISM Provider Store: PID=10588 Connecting to the provider located at C:\Windows\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2011-03-23 16:09:42, Info                  DISM   DISM Provider Store: PID=10588 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2011-03-23 16:09:42, Info                  DISM   DISM Provider Store: PID=10588 Loading Provider from location C:\Windows\System32\Dism\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider
2011-03-23 16:09:42, Info                  DISM   DISM Provider Store: PID=10588 Connecting to the provider located at C:\Windows\System32\Dism\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2011-03-23 16:09:42, Info                  DISM   DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
2011-03-23 16:09:42, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: WimManager
2011-03-23 16:09:42, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: WimManager.
2011-03-23 16:09:42, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: FolderManager
2011-03-23 16:09:42, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
2011-03-23 16:09:42, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: Compatibility Manager
2011-03-23 16:09:42, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.
2011-03-23 16:09:42, Info                  DISM   DISM Provider Store: PID=10588 Getting Provider WimManager - CDISMProviderStore::GetProvider
2011-03-23 16:09:42, Info                  DISM   DISM Provider Store: PID=10588 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2011-03-23 16:10:47, Error                 DISM   DISM WIM Provider: PID=10588 Failed to mount the image. - CWimImageInfo::Mount(hr:0x80070714)
2011-03-23 16:10:47, Error                 DISM   DISM WIM Provider: PID=10588 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:999 - CWimManager::InternalOpMount(hr:0x80070714)
2011-03-23 16:10:47, Error                 DISM   DISM WIM Provider: PID=10588 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2247 - CWimManager::InternalCmdMount(hr:0x80070714)
2011-03-23 16:10:47, Error                 DISM   DISM WIM Provider: PID=10588 Error executing command - CWimManager::InternalExecuteCmd(hr:0x80070714)
2011-03-23 16:10:47, Error                 DISM   DISM WIM Provider: PID=10588 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:516 - CWimManager::ExecuteCmdLine(hr:0x80070714)
2011-03-23 16:10:47, Info                  DISM   DISM.EXE: Image session has been closed. Reboot required=no.
2011-03-23 16:10:47, Info                  DISM   DISM.EXE: 
2011-03-23 16:10:47, Info                  DISM   DISM.EXE: <----- Ending Dism.exe session ----->
2011-03-23 16:10:47, Info                  DISM   DISM.EXE: 
2011-03-23 16:10:47, Info                  DISM   DISM Image Session: PID=10588 Disconnecting the provider store - CDISMImageSession::Final_OnDisconnect
2011-03-23 16:10:47, Info                  DISM   DISM Provider Store: PID=10588 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider
2011-03-23 16:10:47, Info                  DISM   DISM Provider Store: PID=10588 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
2011-03-23 16:10:47, Info                  DISM   DISM Provider Store: PID=10588 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2011-03-23 16:10:47, Info                  DISM   DISM Provider Store: PID=10588 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider
2011-03-23 16:10:47, Info                  DISM   DISM Provider Store: PID=10588 Releasing the local reference to DISMLogger.  Stop logging. - CDISMProviderStore::Internal_DisconnectProvider

Open in new window


Anybody know what is going wrong?
Avatar of Bradley Fox
Bradley Fox
Flag of United States of America image

Are you using Windows 7 or 2008 to mount this image?  If so make sure you are using an elevated command prompt.  Right click, Run as administrator then issue your command.

If you still experience issues see if you can mount it with imagex

http://technet.microsoft.com/en-us/library/cc749447(WS.10).aspx

Also, make sure the c:\mount folder is empty.
imagex /mountrw image_file image_number image_name image_path

imagex /mountrw "C:\RemoteInstall\Images\Windows 7\Windows 7 Pro -
Dell Latitude E6510.wim" 1 c:\mount

Open in new window

Avatar of hallerit

ASKER

I was trying to do this on Server 2008.  I also have been using the administrative command prompt.  The mount directory is empty.

With Imagex I get the following:
C:\Users\admin\Desktop\ImageX_x64>imagex /mountrw "C:\RemoteInstall\Images\Windo
ws 7\Windows 7 Pro - Dell Latitude E6510.wim" 1 c:\mount

ImageX Tool for Windows
Copyright (C) Microsoft Corp. All rights reserved.


Mounting (RW): [C:\RemoteInstall\Images\Windows 7\Windows 7 Pro - Dell Latitude
E6510.wim, 1] ->
               [c:\mount]

Error mounting image (RW):

The request is not supported.

Open in new window


It is a Windows 7 32 bit image I am trying to mount.  Can a 32 bit image be mounted on a Server 2008 64 bit machine?
Check the properties of the image and make sure it isn't marked read only, also, check to make sure you have Read/Write access to the directory where the image is stored and where you are mounting it to.
ASKER CERTIFIED SOLUTION
Avatar of Bradley Fox
Bradley Fox
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ah, I had taken the image offline, but I had not exported it.  I can mount the image now.  The Microsoft documentation I was following doesn't say anything about exporting the image.

Anyways, dism seems to have some trouble...  It keeps throwing an "Invalid request was made" error when accessing the mounted files.  But mounting the image with imagex seems to be working well.