Solved

Mounting wim image for maintenance Error 1812

Posted on 2011-03-23
5
10,709 Views
Last Modified: 2012-05-11
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?
0
Comment
Question by:hallerit
  • 3
  • 2
5 Comments
 
LVL 21

Expert Comment

by:mcsween
Comment Utility
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

0
 

Author Comment

by:hallerit
Comment Utility
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?
0
 
LVL 21

Expert Comment

by:mcsween
Comment Utility
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.
0
 
LVL 21

Accepted Solution

by:
mcsween earned 500 total points
Comment Utility
Also, If this image has been added to WDS you have to export it before you can mount it for servicing.
1
 

Author Closing Comment

by:hallerit
Comment Utility
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.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
A procedure for exporting installed hotfix details of remote computers using powershell
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now