技術 > windowsxp係統修復命令
目錄
No. 1
  windows could not start because the following file is missing or corrupt:
  windowssystem32configsystem
  you can attempt to repair this file by starting windows setup
  using the original setup cd-rom.
  _select_ 'r' at the first screen to start repair.
  windows nt could not start because the below file is missing or corrupt:
  _________________
  x:winntsystem32
  toskrnl.exe
  _________________
  windows nt could not start because the below file is missing or corrupt:
  x:winntsystem32hal.dll
  _________________
  ntldr is missing
  press any key to restart
  _________________
  invalid boot.ini
  press any key to restart
  _________________
  以上情況都可以用下面方法解决。xp 光盤啓動,進入 windows recovery console(windows恢復控製臺),運行
  cd c:
  attrib ╟h c:oot.ini
  attrib ╟s c:oot.ini
  atrib ╟r c:oot.ini
  del boot.ini
  bootcfg /rebuild
  chkdsk /r /f
  fixboot
  該命令修復如下項目:
  * windows hardware abstraction layer (hal)
  * corrupt registry hives (windowssystem32configxxxxxx)
  * invalid boot.ini files
  * a corrupt ntoskrnl.exe
  * a missing nt loader (ntldr)
  -----------------------------------------------------我不是分割綫---------------------------------------
  xp係統自動修復命令(sfc)詳解
  係統中毒了,清了九個病毒,係統也被破壞的不成樣子了,用了這個命令,覺的不錯,獻給大傢
  cmd>sfc.exe 係統文件修復檢查命令 windows係統用久了,難免出現係統文件損壞丟失的情況,其實通過係統文件檢查sfc.exe
  (一個windows用來驗證係統文件完整性並修復係統文件的使用小工具)就可以了. xp中,
  點擊"開始-運行",輸入"cmd",打開"命令提示符"窗口,在光標提示後輸入sfc,回車後,變可
  打開係統文件檢查器.例如"sfc/scannow"是檢查當前的係統文件是否有損壞,版本是否正
  確,如果發生錯誤,程序會要求你插入xp安裝光盤來修復或者替換不正確的文件.如果
  dllcache文件夾被破壞後者不可用, 還可以使用"sfc/scanonce"或者"sfc/scanboot"命令修復
  該文件夾的內容以保證係統的安全性和穩定性.
  /scannow 立即掃描所有受保護的係統文件 /scannonce 下次啓動時掃描所有受保護的係統文件。 /scanboot 每次啓動時掃描所有受保護的係統文件。 /revert 將掃描返回到默認設置 /purgecache 清楚文件緩存 /cachesize=x 設置文件緩存大小
No. 2
  Windows could not start because the following file is missing or corrupt:
  WINDOWSSYSTEM32CONFIGSYSTEM
  You can attempt to repair this file by starting Windows Setup
  using the original Setup CD-ROM.
  Select 'R' at the first screen to start repair.
  Windows NT could not start because the below file is missing or corrupt:
  _________________
  X:WINNTSystem32Ntoskrnl.exe
  _________________
  Windows NT could not start because the below file is missing or corrupt:
  X:WINNTSystem32HAL.dll
  _________________
  NTLDR is Missing
  Press any key to restart
  _________________
  Invalid boot.ini
  Press any key to restart
  _________________
  以上情況都可以用下面方法解决。xp 光盤啓動,進入 Windows Recovery Console(windows恢復控製臺),運行
  CD C:
  ATTRIB –H C:boot.ini
  ATTRIB –S C:boot.ini
  ATRIB –R C:boot.ini
  del boot.ini
  BOOTCFG /Rebuild
  CHKDSK /R /F
  FIXBOOT
  該命令修復如下項目:
  * Windows Hardware Abstraction Layer (HAL)
  * Corrupt registry hives (WINDOWSSYSTEM32CONFIGxxxxxx)
  * Invalid BOOT.INI files
  * A corrupt NTOSKRNL.EXE
  * A missing NT Loader (NTLDR)
  -----------------------------------------------------我不是分割綫---------------------------------------
  XP係統自動修復命令(sfc)詳解
  係統中毒了,清了九個病毒,係統也被破壞的不成樣子了,用了這個命令,覺的不錯,獻給大傢
  cmd>Sfc.exe 係統文件修復檢查命令 Windows係統用久了,難免出現係統文件損壞丟失的情況,其實通過係統文件檢查Sfc.exe
  (一個Windows用來驗證係統文件完整性並修復係統文件的使用小工具)就可以了. XP中,
  點擊"開始-運行",輸入"cmd",打開"命令提示符"窗口,在光標提示後輸入SFC,回車後,變可
  打開係統文件檢查器.例如"sfc/scannow"是檢查當前的係統文件是否有損壞,版本是否正
  確,如果發生錯誤,程序會要求你插入XP安裝光盤來修復或者替換不正確的文件.如果
  Dllcache文件夾被破壞後者不可用, 還可以使用"sfc/scanonce"或者"sfc/scanboot"命令修復
  該文件夾的內容以保證係統的安全性和穩定性.
  /SCANNOW 立即掃描所有受保護的係統文件 /SCANNONCE 下次啓動時掃描所有受保護的係統文件。 /SCANBOOT 每次啓動時掃描所有受保護的係統文件。 /REVERT 將掃描返回到默認設置 /PURGECACHE 清楚文件緩存 /CACHESIZE=x 設置文件緩存大小