跳转至主要内容
  • 快速、轻松地下订单
  • 查看订单并跟踪您的发货状态
  • 创建并访问您的产品列表
  • 使用“Company Administration”(公司管理),管理Dell EMC站点、产品和产品级联系人。

How to Run System File Checker sfc /scannow in Windows

摘要: How to use the System File Checker command "sfc /scannow" to scan and repair system files in windows. SFC helps repair corrupt files that cause boot-related issues.

本文可能已自动翻译。如果您对其质量有任何反馈,请使用此页面底部的表单告知我们。

文章内容


说明

The Windows System File Checker (SFC) is a tool that is built into all modern versions of Windows. This tool allows you to repair corrupt system files in Windows. System File Checker (SFC) can be run with administrator privileges both from within Windows and using the Windows recovery media.

NOTE: If the System File Checker (SFC) cannot repair corrupt Windows system files, a clean installation of Windows may be the next option.

Learn more about how to Use the System File Checker Tool to Repair Missing or Corrupted System Files This hyperlink is taking you to a website outside of Dell Technologies.


How to run System File Checker (SFC) from within Windows as an Administrator:

Windows 11, Windows 10, and Windows 8 or 8.1

  1. From the desktop, press the Windows + X shortcut key combination.
  2. In the menu, select Command Prompt (Admin).
    NOTE: System File Checker can be run from Windows PowerShell (Admin).
  3. On the User Account Control (UAC) prompt, click Yes.
  4. In the command prompt window, type SFC /scannow and press Enter.
  5. The system file checker utility checks the integrity of Windows system files and repairs them if required.
  6. After the process is complete, reboot the computer.

Back to top


How to run System File Checker (SFC) using the Windows Recovery Media

Windows 11, Windows 10, and Windows 8 or 8.1

  1. Create a Windows installation disk using the Dell OS Recovery tool.
  2. Connect the USB installation disk to the computer.
  3. Turn on the computer and tap the F12 key until you enter the One Time Boot Menu.
  4. Select the USB drive from the list and press Enter.
  5. The computer boots using the USB installation disk.
  6. Select your Language, and then click Next.
  7. Select the Repair your Computer option.
  8. Click Troubleshoot, and then Advanced Options.
  9. Select Command Prompt from the list.
  10. Type sfc /scannow /offbootdir=c:\ /offwindir=c:\windows and press Enter.
  11. The system file checker utility checks the integrity of Windows system files and repairs them if required.
  12. After the process is complete, reboot the computer.
NOTE: This process can take up to one hour to complete depending on the configuration of the computer.

Back to top


Modifiers

A basic System File Checker (SFC) scan using the /scannow modifier resolves most issues. However, there are other modifiers that can be used.

Modifier function

  • /scannow - Scans all system files and replaces corrupted or incorrect files.
  • /scanonce - Scans all system files at once.
  • /scanboot - Scans all system files at boot each time the system is restarted.
  • /cancel - Cancels any pending scans (such as the /scanboot modifier).
  • /enable - Enables Windows File Protection (WFP), which prevents programs from modifying Windows system files.

Possible results

There are four possible completion messages that you can receive:

  • Windows Resource Protection did not find any integrity violations.
  • Windows Resource Protection found corrupt files and successfully repaired them. Details are in the CBS.log: %inDir%\logs\cbs\cbs.log
  • Windows Resource Protection found corrupt files but was unable to fix some of them. Details are in the CBS.log: %Windir%\logs\cbs\cbs.log
  • Windows Resource Protection could not perform the requested operation.

Back to top

其他信息

文章属性


受影响的产品

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

上次发布日期

13 5月 2024

版本

10

文章类型

How To