{{tag>english windows windows_10}}
====== Execute repair of Windows 10 ======
Learn how to repair Windows 10 in several ways.
===== Repair in the command prompt =====
Open the command prompt and run the following commands in sequence:
Dism /Online /Cleanup-Image /CheckHealth
Dism /Online /Cleanup-Image /ScanHealth
Dism /Online /Cleanup-Image /RestoreHealth
===== Repair using PowerShell =====
Open the Powershell and execute the following commands:
Repair-WindowsImage -Online -CheckHealth
Repair-WindowsImage -Online -ScanHealth
Repair-WindowsImage -Online -RestoreHealth
===== Repair using the installation DVD =====
Windows can be repaired relatively easily using this method. This method does not delete any personal data or installed programmes, but only repairs system files. However, this method is quite time-consuming.
* Insert Windows 10 DVD
* Switch to the Sources folder
* Search for the file setupprep.exe
* Execute the file
* Follow the instructions and run the setup