I have this error on "add packages": This is part with errors from DISM log: Code: CDISMProviderStore::GetProviderCollection 2010-01-08 03:02:46, Error DISM DISM Manager: PID=776 Failed to create unique image session lock name for DISM located at 'C:\mount\Windows\System32\Dism\dismprov.dll'. - CDISMManager::CheckSessionAndLock(hr:0x801f0005) 2010-01-08 03:02:46, Error DISM DISM Manager: PID=776 Failed to create the image session lock for location: C:\mount\Windows\System32\Dism - CDISMManager::CreateImageSession(hr:0x801f0005) 2010-01-08 03:02:46, Error DISM DISM.EXE: Could not load the image session. HRESULT=801F0005 2010-01-08 03:02:46, Error DISM DISM.EXE: Unable to start the servicing process for the image at 'C:\mount'. HRESULT=801F0005 Could you please help! I couldn't find similar error in thread
Can anybody answer to my question please? It happens on clean untouched Win 7 x32bit (refer to windows 7 repository) in Win 7 envronment. No Vlite or other tools used!
Please excuse me for interrupting elevated discussion. I have no experience with this tool; I am trying to backup an existing legal OEM Win 7 installation (bloatware + partitions that were somehow custom and got totally blocked). I would like to restore activation on a disk so I can reinstall and have an legit activated system straight away. 1. I got stucked with: "2) Press Integrate Cert, and choose you cert file" - would a .xm-ms file (2731 bytes) do? <it has been identically created with ABR and SlicDumpToolKit>. Or what is the solution? 2. Would that work if initial install was x86 and I change it for x64? Thanks!
1) Yes, XRM-MS file is your CERT 2) Yes, same cert for both x86/x64 @Gamazet, no easy answer on that one, first guess is one of your CAB files got messed up during conversion ??? Remove half the cabs from your cab folder and see if you still get the error, then try the other half. Report back if it is impossible to integrate any cabs, even if they are alone. It is probably only one bad cab in the whole bunch, but if none of them will install, then problem could be in your Windows 7 DISM somehow - Reinstall Windows 7 or try it from a different machine. If that dont work, maybe instead of fumbling around with converting them to cab's, instead integrate them as MSU and change the explorer.exe afterwards. I'd try it at the setupcomplete.cmd stage, right before the first login. Same end result. Play around with it, Microsoft didn't document very much of this, so get creative, if you find a solution that might help someone else, post it.
I am using George King hotfixes pack. I don't feel the problem is in them. Thanks for very good ideas. Will try and post if I get working result
@ Mr Jinje's Thanks for putting together the GUI for dsim. just brilliant... I wanted to know the correct procedure to remove packages. 1, 2, 3, kinda thing... I tried several times but i get errors , i'm sure i'm not doing the right thing. Do you have a bit of time to write down a guided example for it? Please. Zaino.
dism tool got the error message Dism does't recoganise the command ,it is not working... log file: 3-07 21:51:30, Info DISM PID=1888 Scratch directory set to 'C:\Users\Explorer\AppData\Local\Temp\'. - CDISMManager:ut_ScratchDir 2010-03-07 21:51:30, Info DISM PID=1888 Successfully loaded the ImageSession at "C:\Windows\System32\Dism" - CDISMManager::LoadImageSession 2010-03-07 21:51:30, Info DISM DISM Provider Store: PID=1888 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger 2010-03-07 21:51:30, Info DISM DISM Provider Store: PID=1888 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect 2010-03-07 21:51:30, Info DISM DISM Provider Store: PID=1888 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect 2010-03-07 21:51:30, Info DISM DISM Provider Store: PID=1888 Getting Provider DISMLogger - CDISMProviderStore::GetProvider 2010-03-07 21:51:30, Info DISM DISM Provider Store: PID=1888 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2010-03-07 21:51:30, Info DISM DISM Provider Store: PID=1888 Getting Provider DISMLogger - CDISMProviderStore::GetProvider 2010-03-07 21:51:30, Info DISM DISM Provider Store: PID=1888 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2010-03-07 21:51:30, Info DISM DISM Manager: PID=1888 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession 2010-03-07 21:51:30, Info DISM DISM Provider Store: PID=1888 Getting Provider DISMLogger - CDISMProviderStore::GetProvider 2010-03-07 21:51:30, Info DISM DISM Provider Store: PID=1888 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2010-03-07 21:51:30, Info DISM DISM.EXE: 2010-03-07 21:51:30, Info DISM DISM.EXE: <----- Starting Dism.exe session -----> 2010-03-07 21:51:30, Info DISM DISM.EXE: 2010-03-07 21:51:30, Info DISM DISM.EXE: Host machine information: OS Version=6.1.7600, Running architecture=x86, Number of processors=2 2010-03-07 21:51:30, Error DISM DISM.EXE: Failed validating command line: "C:\Windows\system32\Dism.exe" /Mount-Wim /wimfile:C:\Users\Explorer\Desktop\win 7\sources\install.wim /index:1 /MountDir:C:\Users\Explorer\Desktop\u 2010-03-07 21:51:30, Info DISM DISM.EXE: Image session has been closed. Reboot required=no. 2010-03-07 21:51:30, Info DISM DISM.EXE: 2010-03-07 21:51:30, Info DISM DISM.EXE: <----- Ending Dism.exe session -----> 2010-03-07 21:51:30, Info DISM DISM.EXE: 2010-03-07 21:51:30, Info DISM DISM Image Session: PID=1888 Disconnecting the provider store - CDISMImageSession::Final_OnDisconnect 2010-03-07 21:51:30, Info DISM DISM Provider Store: PID=1888 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect 2010-03-07 21:51:30, Info DISM DISM Provider Store: PID=1888 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
Just some news for future readers, we had another user at another forum who received this error, and they found the cause to be a ghost 15 service that was running in the background. So in case any of you come across this error, DISM "HRESULT=801F0005", open services.msc and stop the service temporarily and it should work. If you get the error and are not a Ghost user, report back, it might not be Ghost in particular, but maybe it is how certain imaging drivers access open files (keep eyes peeled Acronis/Macrium users)
Help ! gave up trying to insert drivers into a .wim thought the cmd pmt so found your tool, running it on win xp but have DISM folder from a 32bit WIN 7 in my system 32 folder, i get this error when trying to mount the WIM right at the start wat am i doing wrong PS C:\> DISM.exe /Mount-Wim /wimfile:C:\Image\boot.wim /index:1 /MountDir:C:\Mou nt The term 'DISM.exe' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again. At line:1 char:9 + DISM.exe <<<< /Mount-Wim /wimfile:C:\Image\boot.wim /index:1 /MountDir:C:\Mo unt PS C:\> Works fine when i run on a W7 machine why wont it work on my xp machine ? you got a gui to make the bootable image as well instead of having to do it all through the command prompt like follwing this? technet.microsoft.com/en-us/library/cc709665(WS.10).aspx still would like to no why it wouldnt work on xp as well please
yea but i had DISM on xp the 32bit and it seemed fine but still wouldnt work, next issue now is there a gui way of making the PE Image?
3 Questions using the Tool I have created a 11 in 1 installer where I combined all the editions both 32 and 64 bit in one wim. 1. If I want to integrate drivers do I need to do each individual individual install index (1 though 11) and select the 32bit drivers for the 32 bit install indexes and 64 for 64 or can I just do it once with both 32 bit and 64 bit drivers? 2. Same question except for KB patches 3. How do I integrate .NET frameworks.
well you can have xml file lookin for driverfolder and install them.. otherwise, yes you have to integrate drivers to all images. Same with windows updates.