Win10 uses dism command to repair system tutorial

  
How it works:
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, open the following two commands in order:
DISM.exe /Online /Cleanup-image /Scanhealth
DISM.exe /Online /Cleanup-image /Restorehealth

The first command is to scan all your system files and compare them with the 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 There is /online need to operate under the network, Win10 system will automatically recover the damaged files from the official image.

Copyright © Windows knowledge All Rights Reserved