SFC /SCANNOW发现损坏文件应对方法参考 | 您所在的位置:网站首页 › windows发现文件有损坏现在此文件已经修复 › SFC /SCANNOW发现损坏文件应对方法参考 |
C:\WINDOWS\system32>sfc /scannow
开始系统扫描。此过程将需要一些时间。
开始系统扫描的验证阶段。
验证 100% 。
Windows 资源保护找到了损坏文件,但其中有一些文件无法修复。
对于联机修复,位于 windir\Logs\CBS\CBS.log 的 CBS 日志文件中
有详细信息。例如 C:\Windows\Logs\CBS\CBS.log。对于脱机修复,
/OFFLOGFILE 标记提供的日志文件中有详细信息。
首先定位错误的文件 C:\WINDOWS\system32>findstr /C:"[SR] Cannot repair member file" %windir%\logs\cbs\cbs.log >"%userprofile%\Desktop\sfcdetails.txt"我的错误文件样例(节选) 2019-08-29 22:28:13, Info CSI 00003ac4 [SR] Cannot repair member file [l:27]'MSFT_MpComputerStatus.cdxml' of Windows-Defender-Management-Powershell, version 10.0.17763.1, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} in the store, hash mismatch 2019-08-29 22:28:13, Info CSI 00003ac6 [SR] Cannot repair member file [l:19]'MSFT_MpThreat.cdxml' of Windows-Defender-Management-Powershell, version 10.0.17763.1, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} in the store, hash mismatch 2019-08-29 22:28:13, Info CSI 00003ac8 [SR] Cannot repair member file [l:26]'MSFT_MpThreatCatalog.cdxml' of Windows-Defender-Management-Powershell, version 10.0.17763.1, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} in the store, hash mismatch 2019-08-29 22:28:13, Info CSI 00003aca [SR] Cannot repair member file [l:28]'MSFT_MpThreatDetection.cdxml' of Windows-Defender-Management-Powershell, version 10.0.17763.1, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} in the store, hash mismatch 2019-08-29 22:28:13, Info CSI 00003acc [SR] Cannot repair member file [l:23]'MSFT_MpPreference.cdxml' of Windows-Defender-Management-Powershell, version 10.0.17763.1, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} in the store, hash mismatch 2019-08-29 22:28:13, Info CSI 00003ace [SR] Cannot repair member file [l:17]'MSFT_MpScan.cdxml' of Windows-Defender-Management-Powershell, version 10.0.17763.1, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} in the store, hash mismatch 2019-08-29 22:28:13, Info CSI 00003ad0 [SR] Cannot repair member file [l:20]'MSFT_MpWDOScan.cdxml' of Windows-Defender-Management-Powershell, version 10.0.17763.1, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} in the store, hash mismatch 2019-08-29 22:28:13, Info CSI 00003ad2 [SR] Cannot repair member file [l:22]'MSFT_MpSignature.cdxml' of Windows-Defender-Management-Powershell, version 10.0.17763.1, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} in the store, hash mismatch这个可以运用DISM的修复命令修复 比较本地系统文件和微软服务器系统文件是否一致的情况: 管理员权限打开命令行窗口,输入: Dism /Online /Cleanup-Image /ScanHealth 若第一步出现文件不一致情况则接着输入: Dism /Online /Cleanup-Image /CheckHealth 若第二步系统检查出现问题,想恢复系统文件为微软官方源文件,则输入: DISM /Online /Cleanup-image /RestoreHealth我出现的特殊问题 C:\WINDOWS\system32>DISM /Online /Cleanup-image /RestoreHealth 部署映像服务和管理工具 版本: 10.0.17763.1 映像版本: 10.0.17763.678 [===========================84.5%================ ] 错误: 1058 无法启动服务,原因可能是已被禁用或与其相关联的设备没有启动。 可以在 C:\WINDOWS\Logs\DISM\dism.log 上找到 DISM 日志文件这个问题是由于关闭的Windows更新服务导致,打开更新服务后再次运行则正常 |
CopyRight 2018-2019 实验室设备网 版权所有 |