未名Q

此生若能得幸福安稳,谁又愿颠沛流离。

  :: 首页 :: 博问 :: 闪存 :: 新随笔 :: :: 订阅 订阅 :: 管理 ::

在线检查与修复

C:\Windows\system32>sfc /scannow

开始系统扫描。此过程将需要一些时间。

开始系统扫描的验证阶段。
验证 100% 已完成。
Windows 资源保护找到了损坏文件但无法修复其中某些文件。
CBS.Log windir\Logs\CBS\CBS.log 中有详细信息。例如
C:\Windows\Logs\CBS\CBS.log

C:\Windows\system32>findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt"

C:\Windows\system32>"%userprofile%\Desktop\sfcdetails.txt"

 在线手工修复

1、先准备 Windows 7 光盘中 INSTALL.WIM 文件,并安装好 7-zip 软件;
2、使用 7-zip 打开 INSTALL.WIM 文件,提取 1.xml 文件;
3、查看 1.xml 文件中系统版本(<NAME>Windows 7 HOMEBASIC</NAME>)对应的WIM索引号(<IMAGE INDEX="1">)
4、提取对应版本的相关文件;
5、以管理员身份打开 Command prompt 进行源文件替换,以jscript.dll为例。
takeown /f %windir%\system32\jscript.dll /a
icacls %windir%\system32\jscript.dll /e /g administrators:F
copy /y jscript.dll %windir%\system32\jscript.dll

离线检查与修复

1、使用 Windows 7 光盘引导计算机,并进入 修复计算机 模式中的 命令窗口。
2、a).对所有系统文件进行检查并修复:
      sfc /scannow /offbootdir=d:\ /offwindir=d:\windows
   b).对特定系统文件修复:
      sfc /scanfile=d:\windows\system32\jscript.dll /offbootdir=d:\ /offwindir=d:\windows
PS:D:\Windows 为离线系统在修复模式下路径。

 

posted on 2013-07-29 22:17  未名Q  阅读(7522)  评论(0编辑  收藏  举报