Win10 official version how to use the dism command to repair the system

  
How to use the dism command to repair the system in Win10 official version? If you have a Windows 10 official version of the computer, if there are inexplicable problems such as system file loss, we can suspect that important system files may have been replaced or damaged. In addition to using the SFC tool to repair damaged systems, we can also use the DISM command to repair system files online. Xiaobian will share specific methods for everyone.
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, 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.
The above is the official version of Windows 10 shared by the Xiaobian using the dism command to repair the system, I hope to help everyone.

Copyright © Windows knowledge All Rights Reserved