Solved

Mounting wim image for maintenance Error 1812

Posted on 2011-03-23
5
10,934 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
ID: 35202307
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
ID: 35202976
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
ID: 35203051
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
ID: 35203059
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
ID: 35207077
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the most frustrating experiences a help desk technician will ever encounter is when a customer comes to them with a solution of their own invention and expects the tech to implement it. This often happens when people with a little bit of tech…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

910 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

20 Experts available now in Live!

Get 1:1 Help Now