在Windows 7 中,运行后chkdsk C: /F /R发现我的硬盘有 24 KB 的坏扇区(日志在下面发布),我决定运行 Windows 7 的系统文件检查器实用程序 ( sfc /scannow)。
证监会显示了ff。运行后出现消息:“ Windows 资源保护发现损坏的文件,但无法修复其中一些。详细信息包含在 CBS.Log windir\Logs\CBS\CBS.log 中。 ”
由于 CBS.log 文件太大,我运行findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt"(根据 Microsoft 的KB 928228文章)只获取与损坏文件有关的日志文本。(日志也贴在下面)
如何解决和修复 提到的损坏文件sfc /scannow?
我的操作系统是Windows 7 64 位。
(通过findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt")
注:该完整的日志是在http://pastebin.com/raw.php?i=gTEGZmWj。我只引用了下面完整日志的部分内容(大部分来自最后一部分),因为完整日志不符合问题的字符数限制。我已添加它作为预览。
...
2013-12-28 19:37:50, Info CSI00000542 [SR] Beginning Verify and Repair transaction
2013-12-28 19:37:55, Info CSI00000544 …Run Code Online (Sandbox Code Playgroud) 我使用的是 Windows 8.1 x64,构建 6.3.9600.16384,使用具有管理员权限的命令提示符。
sfc /scannow
返回:
...found corrupt files but was unable to fix some of them.
Run Code Online (Sandbox Code Playgroud)
和
dism /online /cleanup-image /restorehealth
返回:
Error: 0x800f0906
The source files could not be downloaded.
Run Code Online (Sandbox Code Playgroud)
(并且 Windows 更新服务无法启动,因为这些文件丢失。)
也试过
dism /online /cleanup-image /restorehealth /source:wim:F:\sources\install.wim:1 /limitaccess
并返回:
Version: 6.3.9600.16384
Image Version: 6.3.9600.16384
Error: 0x800f081f
The source files could not be found.
Run Code Online (Sandbox Code Playgroud)
我安装了图像,并从那里开始尝试。
dism /mount-image /imagefile:F:\sources\install.wim /index:1 /mountdir:C:\offline
dism /online /cleanup-image /restoreHealth /source:c:\offline /limitaccess
也返回:
Error: 0x800f081f
Run Code Online (Sandbox Code Playgroud)
如何修复损坏的系统文件?
我可以告诉 DISM 使用 Windows 安装光盘作为源吗?