Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Mounting wim image for maintenance Error 1812

Posted on 2011-03-23
5
Medium Priority
?
12,303 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 22

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 22

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 22

Accepted Solution

by:
mcsween earned 2000 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
Article by: Shawn
IT teams define success as solving problems quickly. To enable ITSM modernization we have to think of adopting the tools and methods that will enable resolution of ITSM issues more quickly.
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
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.

730 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