Are you getting system errors while using Windows 10? Has Windows 10 become too slow? Are you getting files corrupted error or file is missing error after booting into Windows 10? In this guide, we will see how to repair Windows 10 system files.

A file may have been corrupted due to numerous reasons. Virus and malicious third-party software are often the reason behind a corrupted operating system file. Files also get corrupted when you attempt to modify them. The best way to fix a file is by repairing it.

Windows 10 offers tools to check and repair corrupted system files. The best part is that you don’t need to install a third-party software or need to download Windows 10 ISO. You can use the command prompt to run these tools and automatically repair corrupt files.

Executing these commands will no way make any changes your personal files such as documents and pictures saved on your PC. Also, these commands will not make any changes to your Windows 10 settings.

The file repair tool is not only helpful when you are getting file corrupted or file missing error but it can also help you resolve common Windows 10 issues and errors.

Complete the given below directions to repair Windows 10 system files.

Repair system files in Windows 10

IMPORTANT: It’s important to execute both commands mentioned below. Please don’t stop at Step 2.

Step 1: Open an elevated Command Prompt. To do that, type CMD in the Start/Taskbar search box, right-click on the Command Prompt entry in the search results and then click Run as administrator option to open Command Prompt as administrator.

Click Yes button when you see the User Account Control dialog.

Step 2: In the elevated Command Prompt, type the following command and then press Enter key.

DISM.exe /Online /Cleanup-image /Restorehealth

Windows 10 might take several minutes to complete the operation. You will get “Restore operation completed successfully” message when done.

Step 3: Next, type the following command and then press Enter key.

sfc /scannow

Again, this command will also take several minutes to complete the operation. If corrupt files are found, the command will automatically repair them.

Tip: If repairing system files could not fix the issue, you can try restoring Windows 10 to a previous date.