Dism 错误 32
错误: 32
Doqe: Failed processing queue [HRESULT = 0x80070020 - ERROR_SHARING_VIOLATION]
Microsoft-Windows-Common-Drivers-Package~31bf3856ad364e35~amd64~~10.0.10240.16384,
status: 0x80070020,
failure source: Execute,
start state: Staged,
target state: Installed,
client id: DISM Package Manager Provider
网上有这样一段描述,不针对 Win10:
Adding too many files to the %windir%\Temp\CheckSUR\servicing\packages directory merely out of convenience (if doing so manually) is not the correct methodology to follow.
For example, a power failure occurs during a service pack install and you have 50 .mum and .cat files that need to be replaced.
Out of convenience, you manually copy all of the .mum and .cat files from the service pack cab files rather than singularly. CBS will perpetually fail install with a sharing violation error (80070020) when attempting further servicing operations on that package and the System Update Readiness tool will fail to detect any problems.
上面的说法是有提示作用的,最终,是删除了注册表中的:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\DriverOperations
下面的 1 项。
再把 c:\windows\winsxs\pending.xml 删除,就可以安装了。