# How to use DISM commands to repair Windows system files?
Author: datarecoveeofficial

If you want to use [DISM commands](https://datarecovee.com/dism-commands/) to fix Windows system files, the first thing you need to do is to launch Command Prompt as Administrator. Now, the first command you will run is DISM /Online /Cleanup-Image /CheckHealth. This command will do a quick check and show if there is any corruption. If you want to do more thorough checking, then you should use this command DISM /Online /Cleanup-Image /ScanHealth. The last command is DISM /Online /Cleanup-Image /RestoreHealth. This last command will automatically fix the corrupted system files by using Windows Update. Now, when the process is finished, you need to restart your computer. The best way to get the maximum benefit is to run sfc /scannow after the reboot to check and fix any leftover problems. DISM works on restoring the Windows image and helping to fix any system reliability issues.
