Win 10 DISM 错误 0x800f081f /Source 选项

Win 10 DISM 错误 0x800f081f /Source 选项

当我尝试安装 SDK 时遇到 2502 和 2503 错误时,我注意到了这个问题。我相信自从从 Windows 8.1 升级到 Windows 10 以来,我一直遇到 250[2|3] 错误。

我跑了dism /Online /Cleanup-image /Scanhealth,得到了回应,The component store is repairable.所以我跑了,dism /Online /Cleanup-image /Restorehealth结果就是Error: 0x800f081f

澄清 2015 年 11 月 15 日 6:45 MST

有人能否确认,如果成功,此语法是否可以从云端的在线商店恢复有问题的损坏文件?

该选项不是/Online意味着 Windows 正在从正在测试的驱动器运行。

请注意微软员工 joscon 的这篇文章,他说;

假的!我不能发布超过 2 个链接!http://blogs.technet.com/b/joscon/archive/2012/09/26/fixing-component-store-corruption-in-windows-8-and-windows-server-2012.aspx

/RestoreHealth:检查组件存储损坏情况,将损坏情况记录到 C:\Windows\Logs\CBS\CBS.log 并使用 Windows 更新修复损坏情况。此操作需要约 10-15 分钟或更长时间,具体取决于损坏程度。

他这里的意思是 Windows Update 是指微软云中的服务吗?或者是 Windows 中的缓存。

无论如何,我的问题的标题现在应该是关于“CSI Payload Corupt”

结束澄清 2015 年 11 月 15 日 6:45 MST

附加信息 2015 年 11 月 15 日下午 5:45 MST
chkdsk /r /f在另一个支持线程中,我注意到在运行 chkdsk 后 运行的建议是再运行一次sfc /scannow

来自 cbs.log;

0000561e [SR] Could not reproject corrupted file [ml:64{32},l:62{31}]"\??\C:\WINDOWS\SysWOW64\drivers"\[l:24{12}]"gmreadme.txt"; source file in store is also corrupted

来自 dism.log;

(p) CSI Payload Corrupt         wow64_multimedia-generalmididata_31bf3856ad364e35_10.0.10240.16384_none_9b1267cc25712003\gmreadme.txt

我查看了文件。它只有 1kb,显然只包含“null”。我可以删除它吗?在我的另一台机器上也发现了它。在获得权限后,在坏机器上替换了它。源文件仍然损坏。

我如何知道这个“payload”文件有哪些依赖项。如果没有,我可以删除它吗?或者最好卸载它?

chkdsk /r /f在记录了许多Overlap: Duplicate ownership for directory信息之后截取了较长的 cbs.log 片段is not owned

2015-11-15 13:47:27, Info                  CSI    00004688 [DIRSD OWNER WARNING] Directory [ml:142{71},l:140{70}]"\??\C:\WINDOWS\SysWOW64\WindowsPowerShell\v1.0\Modules\Hyper-V\2.0.0.0" is not owned but specifies SDDL in component Microsoft.HyperV.PowerShell.Cmdlets.Misc, pA Host= amd64 Guest= x86, nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}

2015-11-15 13:47:27, Info                  CSI    00004689@2015/11/15:20:47:27.647 Primitive installers committed for repair
2015-11-15 13:47:27, Info                  CSI    0000468a@2015/11/15:20:47:27.650 Primitive installers committed for repair
2015-11-15 13:47:27, Info                  CSI    0000468b Hashes for file member \SystemRoot\WinSxS\wow64_multimedia-generalmididata_31bf3856ad364e35_10.0.10240.16384_none_9b1267cc25712003\gmreadme.txt do not match actual file [l:24{12}]"gmreadme.txt" :
  Found: {l:32 b:TOu/P+8/JAcp+tWxG7JDl9tWiYdagd/TUHpCOPeWZO0=} Expected: {l:32 b:EL9uFcCMjH9dlrZYureK7YbR3iDwjnhx7vugk5rxGgI=}
2015-11-15 13:47:27, Info                  CSI    0000468c [SR] Cannot repair member file [l:24{12}]"gmreadme.txt" of Multimedia-GeneralMidiData, Version = 10.0.10240.16384, pA Host= amd64 Guest= x86, nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35} in the store, hash mismatch
2015-11-15 13:47:27, Info                  CSI    0000468d [SR] This component was referenced by [l:312{156}]"Microsoft-Windows-SKU-Foundation-Package-avcore-noindeo-Group-WOW64-avcore-Package~31bf3856ad364e35~amd64~~10.0.10240.16384.ba5b975ab9b4f73b13c1fb12d02ef8f3"
2015-11-15 13:47:27, Info                  CSI    0000468e Hashes for file member \??\C:\WINDOWS\SysWOW64\drivers\gmreadme.txt do not match actual file [l:24{12}]"gmreadme.txt" :
  Found: {l:32 b:TOu/P+8/JAcp+tWxG7JDl9tWiYdagd/TUHpCOPeWZO0=} Expected: {l:32 b:EL9uFcCMjH9dlrZYureK7YbR3iDwjnhx7vugk5rxGgI=}
2015-11-15 13:47:27, Info                  CSI    0000468f Hashes for file member \SystemRoot\WinSxS\wow64_multimedia-generalmididata_31bf3856ad364e35_10.0.10240.16384_none_9b1267cc25712003\gmreadme.txt do not match actual file [l:24{12}]"gmreadme.txt" :
  Found: {l:32 b:TOu/P+8/JAcp+tWxG7JDl9tWiYdagd/TUHpCOPeWZO0=} Expected: {l:32 b:EL9uFcCMjH9dlrZYureK7YbR3iDwjnhx7vugk5rxGgI=}
2015-11-15 13:47:27, Info                  CSI    00004690 [SR] Could not reproject corrupted file [ml:64{32},l:62{31}]"\??\C:\WINDOWS\SysWOW64\drivers"\[l:24{12}]"gmreadme.txt"; source file in store is also corrupted
2015-11-15 13:47:27, Info                  CSI    00004691@2015/11/15:20:47:27.703 Primitive installers committed for repair
2015-11-15 13:47:27, Info                  CSI    00004692@2015/11/15:20:47:27.715 Primitive installers committed for repair
2015-11-15 13:47:27, Info                  CSI    00004693@2015/11/15:20:47:27.727 Primitive installers committed for repair
2015-11-15 13:47:27, Info                  CSI    00004694@2015/11/15:20:47:27.742 Primitive installers committed for repair
2015-11-15 13:47:27, Info                  CSI    00004695 [DIRSD OWNER WARNING] Directory [ml:164{82},l:162{81}]"\??\C:\Program Files (x86)\WindowsPowerShell\Modules\PackageManagement\1.0.0.0\en" is not owned but specifies SDDL in component Microsoft.PackageManagement.resources, pA Host= amd64 Guest= x86, Culture = [l:10{5}]"en-US", nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}

2015-11-15 13:47:27, Info                  CSI    00004696 Warning - Overlap: Duplicate ownership for directory [l:162{81}]"\??\C:\Program Files (x86)\WindowsPowerShell\Modules\PackageManagement\1.0.0.0\en" in component Microsoft.PackageManagement.resources, Version = 10.0.10240.16384, pA Host= amd64 Guest= x86, Culture = [l:10{5}]"en-US", nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}

2015-11-15 13:47:27, Info                  CSI    00004697@2015/11/15:20:47:27.758 Primitive installers committed for repair
2015-11-15 13:47:27, Info                  CSI    00004698 [DIRSD OWNER WARNING] Directory [ml:246{123},l:244{122}]"\??\C:\WINDOWS\SysWOW64\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\DSCResources\MSFT_PackageResource\en-US" is not owned but specifies SDDL in component Microsoft.PowerShell.DSCResources.Resources, pA Host= amd64 Guest= x86, Culture = [l:10{5}]"en-US", nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}

2015-11-15 13:47:27, Info                  CSI    00004699 [DIRSD OWNER WARNING] Directory [ml:246{123},l:244{122}]"\??\C:\WINDOWS\SysWOW64\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\DSCResources\MSFT_ProcessResource\en-US" is not owned but specifies SDDL in component Microsoft.PowerShell.DSCResources.Resources, pA Host= amd64 Guest= x86, Culture = [l:10{5}]"en-US", nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}

结束 附加信息 2015 年 11 月 15 日下午 5:45 MST

附加信息 2015 年 11 月 14 日晚上 10:20 MST

在浏览更多论坛时,我发现了chkdsk /r/f启动后运行的建议,然后sfc /scannow我尝试制作 cbs.log 的 pastebin,猜测它太大了。以下是显示 gmreadme.txt 文件的代码片段,以及 chkdsk 发现的有关重复所有权和无所有权的众多错误中的一小部分。我还重新运行了,dism /OnLine /Cleanup-image /Scanhealth结果出现了同样的0x800f081f错误。

2015-11-14 21:38:16, Info                  CSI    00004706@2015/11/15:04:38:16.846 Primitive installers committed for repair
2015-11-14 21:38:16, Info                  CSI    00004707@2015/11/15:04:38:16.858 Primitive installers committed for repair
2015-11-14 21:38:16, Info                  CSI    00004708@2015/11/15:04:38:16.870 Primitive installers committed for repair
2015-11-14 21:38:16, Info                  CSI    00004709 [SR] Verify complete
2015-11-14 21:38:16, Info                  CSI    0000470a [SR] Verifying 100 (0x0000000000000064) components
2015-11-14 21:38:16, Info                  CSI    0000470b [SR] Beginning Verify and Repair transaction
2015-11-14 21:38:21, Info                  CSI    0000470c Hashes for file member \SystemRoot\WinSxS\wow64_multimedia-generalmididata_31bf3856ad364e35_10.0.10240.16384_none_9b1267cc25712003\gmreadme.txt do not match actual file [l:24{12}]"gmreadme.txt" :
  Found: {l:32 b:TOu/P+8/JAcp+tWxG7JDl9tWiYdagd/TUHpCOPeWZO0=} Expected: {l:32 b:EL9uFcCMjH9dlrZYureK7YbR3iDwjnhx7vugk5rxGgI=}
2015-11-14 21:38:21, Info                  CSI    0000470d [SR] Cannot repair member file [l:24{12}]"gmreadme.txt" of Multimedia-GeneralMidiData, Version = 10.0.10240.16384, pA Host= amd64 Guest= x86, nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35} in the store, hash mismatch
2015-11-14 21:38:23, Info                  CSI    0000470e [DIRSD OWNER WARNING] Directory [ml:174{87},l:172{86}]"\??\C:\WINDOWS\SysWOW64\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.ODataUtils" is not owned but specifies SDDL in component Microsoft.PowerShell.ODataUtils, pA Host= amd64 Guest= x86, nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}

2015-11-14 21:38:23, Info                  CSI    0000470f [DIRSD OWNER WARNING] Directory [ml:110{55},l:108{54}]"\??\C:\WINDOWS\SysWOW64\WindowsPowerShell\v1.0\Modules" is not owned but specifies SDDL in component Microsoft.PowerShell.ODataUtils, pA Host= amd64 Guest= x86, nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}

2015-11-14 21:38:23, Info                  CSI    00004710 [DIRSD OWNER WARNING] Directory [ml:94{47},l:92{46}]"\??\C:\WINDOWS\SysWOW64\WindowsPowerShell\v1.0" is not owned but specifies SDDL in component Microsoft.PowerShell.ODataUtils, pA Host= amd64 Guest= x86, nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}

2015-11-14 21:38:23, Info                  CSI    00004711@2015/11/15:04:38:23.366 Primitive installers committed for repair
2015-11-14 21:38:23, Info                  CSI    00004712@2015/11/15:04:38:23.412 Primitive installers committed for repair
2015-11-14 21:38:23, Info                  CSI    00004713@2015/11/15:04:38:23.423 Primitive installers committed for repair
2015-11-14 21:38:23, Info                  CSI    00004714 [DIRSD OWNER WARNING] Directory [ml:178{89},l:176{88}]"\??\C:\WINDOWS\SysWOW64\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\en-US" is not owned but specifies SDDL in component Microsoft.PowerShell.DSC.Resources, pA Host= amd64 Guest= x86, Culture = [l:10{5}]"en-US", nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}

2015-11-14 21:38:23, Info                  CSI    00004715 Warning - Overlap: Duplicate ownership for directory [l:176{88}]"\??\C:\WINDOWS\SysWOW64\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\en-US" in component Microsoft.PowerShell.DSC.Resources, Version = 10.0.10240.16384, pA Host= amd64 Guest= x86, Culture = [l:10{5}]"en-US", nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}

2015-11-14 21:38:23, Info                  CSI    00004716@2015/11/15:04:38:23.542 Primitive installers committed for repair
2015-11-14 21:38:23, Info                  CSI    00004717 [DIRSD OWNER WARNING] Directory [ml:132{66},l:130{65}]"\??\C:\Program Files (x86)\WindowsPowerShell\Modules\Pester\3.3.5" is not owned but specifies SDDL in component Microsoft.PowerShell.Pester, pA Host= amd64 Guest= x86, nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}

2015-11-14 21:38:23, Info                  CSI    00004718 [DIRSD OWNER WARNING] Directory [ml:174{87},l:172{86}]"\??\C:\Program Files (x86)\WindowsPowerShell\Modules\Pester\3.3.5\Functions\Assertions" is not owned but specifies SDDL in component Microsoft.PowerShell.Pester, pA Host= amd64 Guest= x86, nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}

结束附加信息 2015 年 11 月 14 日晚上 10:20 MST

附加信息 2015 年 11 月 13 日上午 7:15 MST

我有另一台配置相同的计算机。当我运行 dism 时,两台机器都报告 Image Version: 10.0.10240.16384。也许该文件在好的如果是的话,我怎样才能从好的机器破碎的机器?

似乎我已经应用了多个 Windows 更新,但这个问题仍然存在。想知道为什么它们没有失败?

也许自述文本文件并不那么重要。也许我应该删除它?如果是的话,该怎么做?

我使用媒体创建工具创建了一个 .iso。然后我运行,dism /Online /Cleanup-image /Restorehealth /Source:esd:e:\sources\install.esd:1 /limitaccess得到了相同的结果。这次我能够更深入地理解日志,注意到有问题的文件似乎是gmreadme.txt

(p) CSI Payload Corrupt         wow64_multimedia-generalmididata_31bf3856ad364e35_10.0.10240.16384_none_9b1267cc25712003\gmreadme.txt
Repair failed: Missing replacement payload.

似乎该文件无法在线获取,也无法在 .iso install.esd 上找到,因此无法修复此错误。对于下一步该尝试什么,您有什么建议吗?

这里是 dism.log 的 pastebin 和 这里是 cbs.log 的 pastebin

2015 年 11 月 13 日上午 7:15 MST 的附加信息结束

C:\WINDOWS\system32>dism /Online /Cleanup-image /Scanhealth

Deployment Image Servicing and Management tool
Version: 10.0.10240.16384

Image Version: 10.0.10240.16384

[==========================100.0%==========================]
The component store is repairable.
The operation completed successfully.

C:\WINDOWS\system32>dism /Online /Cleanup-image /Restorehealth

Deployment Image Servicing and Management tool
Version: 10.0.10240.16384

Image Version: 10.0.10240.16384

[==========================100.0%==========================]

Error: 0x800f081f

The source files could not be found.
Use the "Source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source l
ocation, see http://go.microsoft.com/fwlink/?LinkId=243077.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

C:\WINDOWS\system32>

我不确定如何判断它试图恢复哪个文件?

我的局域网上确实有另一台机器,它有相同的图像和报告。No component store corruption detected我可以从这台机器上取下文件吗?或者将其作为 /Source 安装到 Dsim?

C:\WINDOWS\system32>dism /online /cleanup-image /scanhealth

Deployment Image Servicing and Management tool
Version: 10.0.10240.16384

Image Version: 10.0.10240.16384

[==========================100.0%==========================]
No component store corruption detected.
The operation completed successfully.

C:\WINDOWS\system32>

附加信息 2015 年 11 月 12 日

dsim.log 中的这六行被标记为错误。我不清楚如何解释它们。

2015-11-12 02:55:56, Info                  DISM   DISM Provider Store: PID=175148 TID=175124 Getting Provider DISM Package Manager - CDISMProviderStore::GetProvider
2015-11-12 02:55:56, Info                  DISM   DISM Provider Store: PID=175148 TID=175124 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2015-11-12 02:55:56, Info                  DISM   DISM Package Manager: PID=175148 TID=175124 Processing the top level command token(cleanup-image). - CPackageManagerCLIHandler::Private_ValidateCmdLine
2015-11-12 02:55:56, Info                  DISM   DISM Package Manager: PID=175148 TID=175124 Attempting to route to appropriate command handler. - CPackageManagerCLIHandler::ExecuteCmdLine
2015-11-12 02:55:56, Info                  DISM   DISM Package Manager: PID=175148 TID=175124 Routing the command... - CPackageManagerCLIHandler::ExecuteCmdLine
2015-11-12 02:55:56, Info                  DISM   DISM Package Manager: PID=175148 TID=175124 CBS session options=0x48100! - CDISMPackageManager::Internal_Finalize
2015-11-12 03:07:14, Info                  DISM   DISM Package Manager: PID=175148 TID=175128  Error in operation: source for package or file not found, ResolveSource() unsuccessful. (CBS HRESULT=0x800f081f) - CCbsConUIHandler::Error
2015-11-12 03:07:14, Error                 DISM   DISM Package Manager: PID=175148 TID=175124 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f081f)
2015-11-12 03:07:14, Error                 DISM   DISM Package Manager: PID=175148 TID=175124 The source files could not be found; their location must be specified using the /source option to restore the feature. - GetCbsErrorMsg
2015-11-12 03:07:14, Error                 DISM   DISM Package Manager: PID=175148 TID=175124 Failed processing package changes with session option CbsSessionOptionRepairStoreCorruption - CDISMPackageManager::RestoreHealth(hr:0x800f081f)
2015-11-12 03:07:14, Error                 DISM   DISM Package Manager: PID=175148 TID=175124 The source files could not be found; their location must be specified using the /source option to restore the feature. - GetCbsErrorMsg
2015-11-12 03:07:14, Error                 DISM   DISM Package Manager: PID=175148 TID=175124 Failed to restore the image health. - CPackageManagerCLIHandler::ProcessCmdLine_CleanupImage(hr:0x800f081f)
2015-11-12 03:07:14, Error                 DISM   DISM Package Manager: PID=175148 TID=175124 Failed while processing command cleanup-image. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f081f)
2015-11-12 03:07:14, Info                  DISM   DISM Package Manager: PID=175148 TID=175124 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine
2015-11-12 03:07:14, Info                  DISM   DISM Provider Store: PID=175148 TID=175124 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2015-11-12 03:07:14, Info                  DISM   DISM Provider Store: PID=175148 TID=175124 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2015-11-12 03:07:14, Info                  DISM   DISM Provider Store: PID=175148 TID=175124 Found the PE Provider.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2015-11-12 03:07:14, Info                  DISM   DISM Provider Store: PID=175148 TID=175124 Finalizing the servicing provider(DISM Package Manager) - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 03:07:14, Info                  DISM   DISM Package Manager: PID=175148 TID=175124 Finalizing CBS core. - CDISMPackageManager::Finalize

附加信息 2015 年 11 月 12 日 B

Checking System Update Readiness.

(p) CSI Payload Corrupt         wow64_multimedia-generalmididata_31bf3856ad364e35_10.0.10240.16384_none_9b1267cc25712003\gmreadme.txt

Summary:
Operation: Detect only 
Operation result: 0x0
Last Successful Step: CSI store detection completes.
Total Detected Corruption:  1
    CBS Manifest Corruption:    0
    CBS Metadata Corruption:    0
    CSI Manifest Corruption:    0
    CSI Metadata Corruption:    0
    CSI Payload Corruption: 1
Total Repaired Corruption:  0
    CBS Manifest Repaired:  0
    CSI Manifest Repaired:  0
    CSI Payload Repaired:   0
    CSI Store Metadata refreshed:   True

Total Operation Time: 702 seconds.
 - CDISMPackageManager::Internal_Finalize
2015-11-12 02:54:14, Info                  DISM   DISM Package Manager: PID=141616 TID=41384  - CDISMPackageManager::Internal_Finalize
2015-11-12 02:54:14, Info                  DISM   DISM Package Manager: PID=141616 TID=41384 <----- Ending corruption detect/repair info -----> - CDISMPackageManager::Internal_Finalize
2015-11-12 02:54:14, Info                  DISM   DISM Package Manager: PID=141616 TID=41384  - CDISMPackageManager::Internal_Finalize
2015-11-12 02:54:14, Info                  DISM   DISM Package Manager: PID=141616 TID=41384 DISM has detected a DISM component change. Requesting a shutdown. - CDISMPackageManager::Internal_Finalize
2015-11-12 02:54:14, Info                  DISM   DISM Image Session: PID=141616 TID=41384 The image session needs to be closed and re-opened before any servicing operations can be performed. - CDISMImageSession::put_ImageState
2015-11-12 02:54:14, Info                  DISM   DISM Package Manager: PID=141616 TID=41384 Loaded servicing stack for online use only. - CDISMPackageManager::RefreshInstanceAndLock
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Found the PE Provider.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Finalizing the servicing provider(DISM Package Manager) - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Package Manager: PID=141616 TID=41384 Finalizing CBS core. - CDISMPackageManager::Finalize
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Disconnecting Provider: DISM Package Manager - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Finalizing the servicing provider(MsiManager) - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Disconnecting Provider: MsiManager - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Finalizing the servicing provider(IntlManager) - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Disconnecting Provider: IntlManager - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Finalizing the servicing provider(IBSManager) - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Disconnecting Provider: IBSManager - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Finalizing the servicing provider(DriverManager) - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Disconnecting Provider: DriverManager - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Finalizing the servicing provider(DISM Unattend Manager) - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Disconnecting Provider: DISM Unattend Manager - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Finalizing the servicing provider(SmiManager) - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Disconnecting Provider: SmiManager - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Finalizing the servicing provider(AppxManager) - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Disconnecting Provider: AppxManager - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Finalizing the servicing provider(ProvManager) - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Disconnecting Provider: ProvManager - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Finalizing the servicing provider(AssocManager) - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Disconnecting Provider: AssocManager - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Finalizing the servicing provider(GenericManager) - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Disconnecting Provider: GenericManager - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Finalizing the servicing provider(OfflineSetupManager) - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Disconnecting Provider: OfflineSetupManager - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Finalizing the servicing provider(Edition Manager) - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Disconnecting Provider: Edition Manager - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Releasing the local reference to OSServices. - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Disconnecting Provider: OSServices - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Provider Store: PID=141616 TID=41384 Releasing the local reference to DISMLogger.  Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
2015-11-12 02:54:14, Info                  DISM   DISM Manager: PID=165808 TID=184312 Closing session event handle 0x1a0 - CDISMManager::CloseImageSession
2015-11-12 02:54:14, Info                  DISM   DISM.EXE: Image session has been closed. Reboot required=no.
2015-11-12 02:54:14, Info                  DISM   DISM.EXE: 
2015-11-12 02:54:14, Info                  DISM   DISM.EXE: <----- Ending Dism.exe session ----->

答案1

我遇到了这个邮政其中包含在我的 LAN 上安装与我相同的版本的 Windows 10 的语法。

我临时从好机器共享了 c:\ 驱动器,并将其作为 y: 安装到坏机器上。

我运行了 dism,然后运行了 sfc。这有效!不幸的是,它并没有解决我使用 msi 安装程序时遇到的所有 2502 和 2503 错误问题。由于这个问题是关于 dism 的源选项,而且我已经回答过了,所以我将 2502/3 问题放到一个新问题中。

  • 然而,为了学习,我想知道如果我没有安装相同版本的 Windows 10 可用作 dism 源,该如何解决这个问题。

  • 在解决这个问题时,我注意到 cbs.log 中有很多Duplicate ownership消息is not owned。我检查了一台 Windows 8.1 机器,它有大约 90% 的错误。我猜这没什么好担心的,但是想知道其他人的经历在他们的安装中。

(运行 bash shell,因为我更喜欢使用 grep 而不是 findstr。)

bash-3.1$ grep 2015-11-16 cbs.log | grep  "Overlap: Duplicate ownership for directory" | wc
    927   27111  299889
bash-3.1$ grep 2015-11-16 cbs.log | grep  "is not owned but specifies SDDL in component" | wc
    910   26119  297824
bash-3.1$

以下是 dism 和 sfc 的成功结果。

C:\Windows\System32>Dism /Online /Cleanup-Image /RestoreHealth /Source:y:\windows /LimitAccess

Deployment Image Servicing and Management tool
Version: 10.0.10240.16384

Image Version: 10.0.10240.16384

[==========================100.0%==========================]
The restore operation completed successfully.
The operation completed successfully.

C:\Windows\System32>sfc /scannow

Beginning system scan.  This process will take some time.

Beginning verification phase of system scan.
Verification 100% complete.

Windows Resource Protection did not find any integrity violations.

C:\Windows\System32>

相关内容