Remember to maintain security and privacy. Do not share sensitive information. Procedimento.com.br may make mistakes. Verify important information. Termo de Responsabilidade

How to Run sfc /scannow via CMD to Repair System Files in Windows

The "sfc /scannow" command is a powerful tool in the Windows operating system that allows users to scan and repair corrupted system files. This command utilizes the System File Checker (SFC) utility, which is built into Windows, to ensure the integrity of system files and replace any that are damaged or missing. Running this command can help resolve various system issues, such as crashes, slow performance, and unexpected errors, making it an essential tool for maintaining a healthy Windows environment.

The importance of "sfc /scannow" lies in its ability to automatically detect and fix issues that could otherwise lead to significant problems, such as system instability or data loss. This command is particularly useful for IT professionals, system administrators, and advanced users who need to troubleshoot and repair Windows systems efficiently.

Examples:

  1. Running sfc /scannow via Command Prompt: To run the "sfc /scannow" command, follow these steps:

    • Open the Command Prompt with administrative privileges. You can do this by typing "cmd" in the Windows search bar, right-clicking on "Command Prompt," and selecting "Run as administrator."
    • In the Command Prompt window, type the following command and press Enter:
      sfc /scannow

    The System File Checker will start scanning all protected system files and replace any corrupted files with a cached copy located in a compressed folder at %WinDir%\System32\dllcache.

  2. Interpreting the Results: After the scan is complete, you will see one of the following messages:

    • Windows Resource Protection did not find any integrity violations. This means that no system files are missing or corrupted.

    • Windows Resource Protection found corrupt files and successfully repaired them. This indicates that the tool found and fixed the corrupted files.

    • Windows Resource Protection found corrupt files but was unable to fix some of them. In this case, you may need to repair the corrupted files manually. You can view the details of the scan in the CBS.log file located at:

      C:\Windows\Logs\CBS\CBS.log
  3. Running sfc /scannow in Safe Mode: If the "sfc /scannow" command does not resolve the issue in normal mode, you can try running it in Safe Mode. Safe Mode loads only the essential drivers and services, which can sometimes help in repairing system files.

    • Restart your computer and press F8 (or Shift + F8) before the Windows logo appears to enter the Advanced Boot Options menu.
    • Select "Safe Mode with Command Prompt."
    • Once in Safe Mode, open the Command Prompt with administrative privileges and run the "sfc /scannow" command as described above.
  4. Using DISM Tool for Additional Repairs: If the System File Checker is unable to fix the corrupted files, you can use the Deployment Imaging Service and Management Tool (DISM) to repair the Windows image. Run the following commands in the Command Prompt with administrative privileges:

    DISM /Online /Cleanup-Image /CheckHealth
    DISM /Online /Cleanup-Image /ScanHealth
    DISM /Online /Cleanup-Image /RestoreHealth

    After running these commands, try running "sfc /scannow" again to see if it resolves the issue.

To share Download PDF

Gostou do artigo? Deixe sua avaliação!
Sua opinião é muito importante para nós. Clique em um dos botões abaixo para nos dizer o que achou deste conteúdo.