DISM continua me dando erro hr: 0xc0000135

0

Eu estou tentando usar o DISM do Win2012 R2, DeploymentWorkbench, DISM GUI e o powershell manualmente usado para injetar manualmente o driver, mas todos me dão o mesmo erro (hr: 0xc0000135) ...

Para implantação manual que eu usei como abaixo, recomenda:

Dism /Get-WimInfo /WimFile:C:\Public\Apps\DSIM_GU_By_Mike\image\LitetouchPe_64.wim

DISM /Mount-Wim /wimfile:C:\Public\Apps\DSIM_GU_By_Mike\image\LitetouchPe_64.wim /index:1 /MountDir:C:\Public\Apps\DSIM_GU_By_Mike\mounted

Dism /Image:C:\Public\Apps\DSIM_GU_By_Mike\mounte /Add-Driver /Driver:c:C:\Dell\Drivers\TTGK8\Drivers\Win7\x64

Então me passe o código de erro: 0xc0000135

No log do Dism:

2015-07-27 10:26:33, Info                  DISM   DISM Provider Store: PID=5320 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection

2015-07-27 10:26:33, Info                  DISM   DISM Provider Store: PID=5320 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
2015-07-27 10:27:35, Error                 DISM   DismHostLib: Failed to create DismHostManager remote object. Checking for dismhost.exe exit code.
2015-07-27 10:27:35, Info                  DISM   DismHostLib: Found dismhost.exe exit code.
2015-07-27 10:27:35, Error                 DISM   DISM Manager: PID=5320 Failed to create Dism Image Session in host. - CDISMManager::LoadImageSession(hr:0xc0000135)
2015-07-27 10:27:35, Warning               DISM   DISM Manager: PID=5320 A problem ocurred loading the image session. Retrying...  - CDISMManager::CreateImageSession(hr:0xc0000135)
2015-07-27 10:28:35, Error                 DISM   DismHostLib: Failed to create DismHostManager remote object. Checking for dismhost.exe exit code.
2015-07-27 10:28:35, Info                  DISM   DismHostLib: Found dismhost.exe exit code.
2015-07-27 10:28:35, Error                 DISM   DISM Manager: PID=5320 Failed to create Dism Image Session in host. - CDISMManager::LoadImageSession(hr:0xc0000135)
2015-07-27 10:28:35, Error                 DISM   DISM Manager: PID=5320 Failed to load the image session from the temporary location: C:\Users\ckr\AppData\Local\Temp9992EA-2242-4814-A3E7-C32210C749C8 - CDISMManager::CreateImageSession(hr:0xc0000135)
2015-07-27 10:28:35, Error                 DISM   DISM.EXE: Could not load the image session. HRESULT=C0000135
2015-07-27 10:28:35, Error                 DISM   DISM.EXE: Unable to start the servicing process for the image at 'C:\Public\Apps\DSIM_GU_By_Mike\mounted'. HRESULT=C0000135
2015-07-27 10:28:35, Info                  DISM   DISM.EXE: Image session has been closed. Reboot required=no.
2015-07-27 10:28:35, Info                  DISM   DISM.EXE: 
2015-07-27 10:28:35, Info                  DISM   DISM.EXE: <----- Ending Dism.exe session ----->
2015-07-27 10:28:35, Info                  DISM   DISM.EXE: 
2015-07-27 10:28:35, Info                  DISM   DISM Image Session: PID=5320 Disconnecting the provider store - CDISMImageSession::Final_OnDisconnect
2015-07-27 10:28:35, Info                  DISM   DISM Provider Store: PID=5320 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider
2015-07-27 10:28:35, Info                  DISM   DISM Provider Store: PID=5320 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
2015-07-27 10:28:35, Info                  DISM   DISM Provider Store: PID=5320 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2015-07-27 10:28:35, Info                  DISM   DISM Provider Store: PID=5320 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider
2015-07-27 10:28:35, Info                  DISM   DISM Provider Store: PID=5320 Releasing the local reference to DISMLogger.  Stop logging. - CDISMProviderStore::Internal_DisconnectProvider

Por favor ajude.

    
por Ray shiro 27.07.2015 / 04:47

3 respostas

3

O problema é resolvido usando uma versão mais recente do dism e executando-a em cmd diretamente da pasta WAIK:

C: \ Arquivos de programas (x86) \ Windows Kits \ 10 \ Kit de implantação e avaliação \ Deployment  Ferramentas \ amd64 \ DISM >

Esta limitação é devida a wims de inicialização baseados em versões mais recentes do WinPE que requerem o mais recente dism.

    
por 10.02.2017 / 18:06
2

Especifique a opção "recurse":

Dism /Add-Driver /Image:<FolderPath> /Driver:<DriversFolder> /Recurse

Ou um único arquivo * .inf:

Dism /Add-Driver /Image:<FolderPath> /Driver:<DriversFolder>\<mydriver.inf>

AND

ALLWAYS executa o DISM do prompt de comando "Ambiente de ferramentas de implantação e criação de imagens" instalado com o WAIK / ADK

    
por 12.11.2015 / 14:58
0

Primeiro, chame este cmd antes de usar o dism.

"C:\Program Files\Windows AIK\Tools\PETools\pesetenv.cmd"
    
por 02.08.2017 / 09:37

Tags