How to use the Dism command to repair the Win10 system?

  

If the Win10 system has file corruption or file loss, you can use the SFC tool to repair the system files. In addition to SFC, the Win10 system has a command to repair the system online, that is the Dism command. Here's how to use the Dism command.

Working principle:

DISM can network to compare your current system files with the official original image, and then restore different files.

Command Usage:

1. Press WIN+X and select Command Prompt Administrator;

2. After opening, execute the following two commands:

DISM.exe /Online /Cleanup-image /Scanhealth

DISM.exe /Online /Cleanup-image /Restorehealth

The first command is to scan all your system files and Comparison of official system files.

The second command is to restore those different system files to the official source files of the system, similar to reloading.

To use some of your own sources and not use Windows Update to fix an online image, type:

Dism /Online /Cleanup-Image /RestoreHealth /Source:c:testmountwindows /LimitAccess

In the command, /online needs to be operated under the network. The Win10 system will automatically recover the damaged files from the official image.

The above is the way Win10 uses the Dism command to automatically check the exception file repair system. If your system has an unknown failure, you can try to check the file repair system with the Dism command.

Copyright © Windows knowledge All Rights Reserved