DISM 不断给我 hr:0xc0000135 错误

1 dism

我尝试使用 Win2012 R2 的 DISM、DeploymentWorkbench、DISM GUI 并手动使用 powershell 手动注入驱动程序,但都给我相同的错误(hr:0xc0000135)...

对于手动部署,我使用了以下推荐:

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
Run Code Online (Sandbox Code Playgroud)

然后它给我错误代码:0xc0000135

在 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\Temp\119992EA-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
Run Code Online (Sandbox Code Playgroud)

请帮忙。

Har*_*man 5

通过使用较新的 dism 版本并直接从 WAIK 文件夹在 cmd 中运行它来解决该问题:

C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM>

此限制是由于基于较新 WinPE 版本的引导 wim 需要最新的 dism。