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 ScanHealth via CMD on Windows

In the Windows operating system, maintaining the integrity and health of system files is crucial for ensuring optimal performance and stability. One of the tools provided by Microsoft for this purpose is the Deployment Imaging Service and Management Tool (DISM). The "ScanHealth" option within DISM is particularly useful for detecting corruption within the Windows image. This article will guide you on how to run the ScanHealth command via CMD on Windows, explaining its importance and providing practical examples.

Examples:

  1. Opening Command Prompt with Administrative Privileges:

    Before running any DISM commands, you need to open the Command Prompt with administrative privileges. This ensures that you have the necessary permissions to perform system-level tasks.

    • Press Windows Key + X and select Command Prompt (Admin) or Windows PowerShell (Admin) from the menu.
    • Alternatively, you can search for cmd in the Start menu, right-click on Command Prompt, and select Run as administrator.
  2. Running the ScanHealth Command:

    Once you have the Command Prompt open with administrative privileges, you can run the ScanHealth command to check for any corruption in the Windows image.

    DISM /Online /Cleanup-Image /ScanHealth
    • /Online specifies that the command should target the running operating system.
    • /Cleanup-Image is used to manage the system image.
    • /ScanHealth checks for any corruption within the image.

    This process may take some time, depending on the size of the image and the performance of your system. The command will scan the Windows image for any corruption but will not attempt to fix any issues it finds.

  3. Interpreting the Results:

    After the ScanHealth command completes, it will provide a summary of its findings. If no corruption is detected, you will see a message indicating that the component store is repairable. If corruption is found, you will receive a message indicating the presence of issues.

  4. Next Steps if Corruption is Found:

    If the ScanHealth command finds corruption, you can proceed with the /RestoreHealth option to attempt to repair the image.

    DISM /Online /Cleanup-Image /RestoreHealth

    This command will scan the image for corruption and attempt to repair it using Windows Update. Ensure that your system is connected to the internet so that it can download any necessary files.

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.