Hello,
I have a problem using DISM command driver injection.
I am trying to inject network adapter driver for my Surface Pro 2 and 3 devices into my win8.1 boot image, but I get error 0xC0000135.
I checked the mounted image folder permissions and gave Full Control to everyone, also used /ForceUnsigned switch but it keeps prompting me with that error.
Following is the LOG file from \windows\logs\dism\dism.log path.
Any help would be greatly appreciated.
Ramin
2014-09-04 15:04:34, Info DISM PID=4972 Scratch directory set to 'C:\Users\rzadmin\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir
2014-09-04 15:04:34, Info DISM PID=4972 Successfully loaded the ImageSession at "C:\Program Files\Windows AIK\Tools\AMD64\Servicing"
- CDISMManager::LoadImageSession
2014-09-04 15:04:34, Info DISM DISM Provider Store: PID=4972 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
2014-09-04 15:04:34, Info DISM DISM Provider Store: PID=4972 Failed to get and initialize the PE Provider. Continuing by assuming that it
is not a WinPE image. - CDISMProviderStore::Final_OnConnect
2014-09-04 15:04:34, Info DISM DISM Provider Store: PID=4972 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
2014-09-04 15:04:34, Info DISM DISM Provider Store: PID=4972 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
2014-09-04 15:04:34, Info DISM DISM Provider Store: PID=4972 Provider has previously been initialized. Returning the existing instance. -
CDISMProviderStore::Internal_GetProvider
2014-09-04 15:04:34, Info DISM DISM Provider Store: PID=4972 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
2014-09-04 15:04:34, Info DISM DISM Provider Store: PID=4972 Provider has previously been initialized. Returning the existing instance. -
CDISMProviderStore::Internal_GetProvider
2014-09-04 15:04:34, Info DISM DISM Manager: PID=4972 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
2014-09-04 15:04:34, Info DISM DISM Provider Store: PID=4972 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
2014-09-04 15:04:34, Info DISM DISM Provider Store: PID=4972 Provider has previously been initialized. Returning the existing instance. -
CDISMProviderStore::Internal_GetProvider
2014-09-04 15:04:34, Info DISM DISM.EXE:
2014-09-04 15:04:34, Info DISM DISM.EXE: <----- Starting Dism.exe session ----->
2014-09-04 15:04:34, Info DISM DISM.EXE:
2014-09-04 15:04:34, Info DISM DISM.EXE: Host machine information: OS Version=6.1.7601, Running architecture=amd64, Number of processors=8
2014-09-04 15:04:34, Info DISM DISM.EXE: Executing command line: dism /image:C:\Test /add-driver /driver:c:\temp\msu30x64w8.inf /forceunsigned
2014-09-04 15:04:34, Info DISM DISM Provider Store: PID=4972 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
2014-09-04 15:04:34, Info DISM DISM Provider Store: PID=4972 Provider has not previously been encountered. Attempting to initialize the provider.
- CDISMProviderStore::Internal_GetProvider
2014-09-04 15:04:34, Info DISM DISM Provider Store: PID=4972 Loading Provider from location C:\Program Files\Windows AIK\Tools\AMD64\Servicing\WimProvider.dll
- CDISMProviderStore::Internal_GetProvider
2014-09-04 15:04:34, Info DISM DISM Provider Store: PID=4972 Connecting to the provider located at C:\Program Files\Windows AIK\Tools\AMD64\Servicing\WimProvider.dll.
- CDISMProviderStore::Internal_LoadProvider
2014-09-04 15:04:34, Info DISM DISM Provider Store: PID=4972 Provider has not previously been encountered. Attempting to initialize the provider.
- CDISMProviderStore::Internal_GetProvider
2014-09-04 15:04:34, Info DISM DISM Provider Store: PID=4972 Loading Provider from location C:\Program Files\Windows AIK\Tools\AMD64\Servicing\FolderProvider.dll
- CDISMProviderStore::Internal_GetProvider
2014-09-04 15:04:34, Info DISM DISM Provider Store: PID=4972 Connecting to the provider located at C:\Program Files\Windows AIK\Tools\AMD64\Servicing\FolderProvider.dll.
- CDISMProviderStore::Internal_LoadProvider
2014-09-04 15:04:34, Info DISM DISM Provider Store: PID=4972 Provider has not previously been encountered. Attempting to initialize the provider.
- CDISMProviderStore::Internal_GetProvider
2014-09-04 15:04:34, Info DISM DISM Provider Store: PID=4972 Loading Provider from location C:\Program Files\Windows AIK\Tools\AMD64\Servicing\CompatProvider.dll
- CDISMProviderStore::Internal_GetProvider
2014-09-04 15:04:34, Info DISM DISM Provider Store: PID=4972 Connecting to the provider located at C:\Program Files\Windows AIK\Tools\AMD64\Servicing\CompatProvider.dll.
- CDISMProviderStore::Internal_LoadProvider
2014-09-04 15:04:34, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
2014-09-04 15:04:34, Info DISM DISM.EXE: Attempting to add the commands from provider: WimManager
2014-09-04 15:04:34, Info DISM DISM.EXE: Succesfully registered commands for the provider: WimManager.
2014-09-04 15:04:34, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager
2014-09-04 15:04:34, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
2014-09-04 15:04:34, Info DISM DISM.EXE: Attempting to add the commands from provider: Compatibility Manager
2014-09-04 15:04:34, Info DISM DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.
2014-09-04 15:04:34, Info DISM DISM Provider Store: PID=4972 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
2014-09-04 15:04:34, Info DISM DISM Provider Store: PID=4972 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
2014-09-04 15:05:36, Error DISM DismHostLib: Failed to create DismHostManager remote object. Checking for dismhost.exe exit code.
2014-09-04 15:05:36, Info DISM DismHostLib: Found dismhost.exe exit code.
2014-09-04 15:05:36, Error DISM DISM Manager: PID=4972 Failed to create Dism Image Session in host. - CDISMManager::LoadImageSession(hr:0xc0000135)
2014-09-04 15:05:36, Warning DISM DISM Manager: PID=4972 A problem ocurred loading the image session. Retrying... - CDISMManager::CreateImageSession(hr:0xc0000135)
2014-09-04 15:06:38, Error DISM DismHostLib: Failed to create DismHostManager remote object. Checking for dismhost.exe exit code.
2014-09-04 15:06:38, Info DISM DismHostLib: Found dismhost.exe exit code.
2014-09-04 15:06:38, Error DISM DISM Manager: PID=4972 Failed to create Dism Image Session in host. - CDISMManager::LoadImageSession(hr:0xc0000135)
2014-09-04 15:06:38, Error DISM DISM Manager: PID=4972 Failed to load the image session from the temporary location: C:\Users\rzadmin\AppData\Local\Temp\22714DD0-E30D-4ECA-9839-E7D7325D8D34
- CDISMManager::CreateImageSession(hr:0xc0000135)
2014-09-04 15:06:38, Error DISM DISM.EXE: Could not load the image session. HRESULT=C0000135
2014-09-04 15:06:38, Error DISM DISM.EXE: Unable to start the servicing process for the image at 'C:\Test'. HRESULT=C0000135
2014-09-04 15:06:38, Info DISM DISM.EXE: Image session has been closed. Reboot required=no.
2014-09-04 15:06:38, Info DISM DISM.EXE:
2014-09-04 15:06:38, Info DISM DISM.EXE: <----- Ending Dism.exe session ----->
2014-09-04 15:06:38, Info DISM DISM.EXE:
2014-09-04 15:06:38, Info DISM DISM Image Session: PID=4972 Disconnecting the provider store - CDISMImageSession::Final_OnDisconnect
2014-09-04 15:06:38, Info DISM DISM Provider Store: PID=4972 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider
2014-09-04 15:06:38, Info DISM DISM Provider Store: PID=4972 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
2014-09-04 15:06:38, Info DISM DISM Provider Store: PID=4972 Found the OSServices. Waiting to finalize it until all other providers are unloaded.
- CDISMProviderStore::Final_OnDisconnect
2014-09-04 15:06:38, Info DISM DISM Provider Store: PID=4972 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider
2014-09-04 15:06:38, Info DISM DISM Provider Store: PID=4972 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider