Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

如何在 Windows 中執行系統檔案檢查程式 sfc/scannow

Summary: 如何使用系統檔案檢查器命令「sfc /scannow」掃描和修復 Windows 中的系統檔案。SFC 可協助修復導致開機相關問題的損毀檔案。

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Instructions

Windows 系統檔案檢查程式 (SFC) 是內建於所有 Windows 現代版本的工具。這個工具可讓您修復 Windows 中損毀的系統檔案。系統檔案檢查程式 (SFC) 可在 Windows 內及透過 Windows 復原媒體以系統管理員權限執行。

注意:如果系統檔案檢查程式 (SFC) 無法修復損毀的 Windows 系統檔案,則可能需進行全新 Windows 安裝。

進一步瞭解如何 使用系統檔案檢查工具修復遺失或損毀的系統檔案 此超連結會帶您前往 Dell Technologies 以外的網站。


如何以系統管理員身分從 Windows 內執行系統檔案檢查程式 (SFC):

在 Windows 11、Windows 10、Windows 8 或 8.1 中

  1. 在桌面上,按下 Windows + X 快速鍵組合。
  2. 在功能表中選取命令提示字元 (系統管理員)
    注意:系統檔案檢查程式可從 Windows PowerShell (系統管理員) 執行。
  3. 在「使用者帳戶控制」(UAC) 提示畫面上按一下
  4. 在「命令提示字元」視窗中,輸入 SFC /scannow 然後按下 Enter 鍵。
  5. 系統檔案檢查公用程式會檢查 Windows 系統檔案的完整性,並視需要加以修復。
  6. 處理程序完成後,請將電腦重新開機。

回到頁首


如何使用 Windows 復原媒體執行系統檔案檢查程式 (SFC)

在 Windows 11、Windows 10、Windows 8 或 8.1 中

  1. 使用 Dell OS Recovery Tool 建立 Windows 安裝磁碟
  2. 將 USB 安裝磁碟連接至電腦。
  3. 開啟電腦,然後輕觸 F12 鍵數次,直到您進入一次性開機功能表
  4. 從清單中選取該 USB 磁碟機,然後按下 Enter
  5. 電腦會使用 USB 安裝磁碟開機。
  6. 選取您的語言,然後按一下下一步
  7. 選取修復您的電腦選項。
  8. 依序按一下故障診斷進階選項
  9. 從清單中選取命令提示字元
  10. 類型 sfc /scannow /offbootdir=c:\ /offwindir=c:\windows 然後按下 Enter 鍵。
  11. 系統檔案檢查公用程式會檢查 Windows 系統檔案的完整性,並視需要加以修復。
  12. 處理程序完成後,請將電腦重新開機。
注意:這個處理程序最多可能需要一個小時才能完成,視電腦的組態而定。

回到頁首


修改程式

使用 /scannow 修改程式執行「基本系統檔案檢查程式」(SFC) 掃描,可解決大部分問題。不過,您還可以使用其他修改程式。

修改程式功能

  • /scannow - 掃描所有系統檔案並取代已損毀或不正確的檔案。
  • /scanonce - 一次掃描所有系統檔案。
  • /scanboot - 每次重新啟動系統時,在開機階段掃描所有系統檔案。
  • /cancel - 取消任何擱置中的掃描作業 (例如 /scanboot 修改程式)。
  • /enable - 啟用 Windows 檔案保護 (WFP),防止程式修改系統檔案。

可能的結果

您會收到四種可能的完成訊息:

  • Windows 資源保護找不到任何完整性違規。
  • Windows 資源保護發現受損檔案,且已順利修復這些檔案。詳細資料請見 CBS.log: %inDir%\logs\cbs\cbs.log
  • Windows 資源保護發現受損檔案,但無法修復其中某些檔案。詳細資料請見 CBS.log: %Windir%\logs\cbs\cbs.log
  • Windows 資源保護無法完成所要求的操作。

回到頁首

Additional Information

Article Properties


Affected Product

Chromebox, Alienware, Inspiron, Legacy Desktop Models, OptiPlex, Vostro, XPS, G Series, Chromebook, G Series, Alienware, Inspiron, Latitude, Vostro, XPS, Legacy Laptop Models, Fixed Workstations, Mobile Workstations

Last Published Date

13 May 2024

Version

10

Article Type

How To