How to Repair Corrupt Windows Files With Windows' Built-In Tools
There is nothing more frustrating than being unable to open a corrupt personal file or folder containing crucial data. Likewise, corrupt operating system files can lead to serious performance issues or even a complete system failure.
There are countless reasons why files and folders become corrupt, such as malware attacks, improper file relocation, bad sectors on your hard drive, and unending computer crashes.

Hold your patience if your system or app files have become corrupted; it’s not impossible to fix them. In this article, we will show you how to use the built-in tools on Windows to get your files working again.
1. Run the SFC Scan to Repair Corrupt System Files
SFC, or System File Checker, is a godsend command-line utility that comes to our rescue when encountering corrupted system files. You need to run a simple command in the Command Prompt app, and it will automatically find and replace corrupt files with the cached copy.
To run an SFC scan, follow the below steps:

That’s it. The command-line utility will begin processing the system files, and depending on the data, the process may take longer. So, minimize the Command Prompt app and continue working on your projects.
How to Analyze the Result of SFC Scan
As the SFC scan completes its process, you will be presented with one of four possible outcomes, as explained on theMicrosoft blog:
How to Run the SFC Scan for Other Drives
An SFC scan isn’t limited to repairing system files. It can also be run on other drives and external storage devices. To accomplish this, you need to run the following command in the Windows Command Prompt:
2. Use the DISM Tool to Diagnose Issues With Local System Images
As a general rule, an SFC scan should help you fix corrupt system files. There are times when an SFC scan may not identify the problem, or you may not be able to run it at all. If you encounter these scenarios, you should use DISM to repair the system image.
To repair the system image using DISM, follow these steps:

Give the DISM tool enough time to scan the system image, and once it is finished, it should automatically replace any damaged or corrupt files. Hence, it may fix the issue at hand, but if it doesn’t, then you may now run the SFC scan to repair corrupt data if you couldn’t before.
3. Use a CHKDSK Scan to Repair Corrupt Drive Sectors
Another utility, Check Disk, scans and tests every sector of your disk drive hardware and fixes errors if it finds any. Following the SFC scan, CHKDSK holds the greatest potential to repair corrupt files on your preferred drives.
To run a CHKDSK scan in the simplest way, follow these steps:

The error-checking popup will let you know whether you need to run a scan or not. You will have the option to scan the drive in both cases. Hence, run the scan to repair errors it finds.
Even though thismethod of running the CHKDSK scancan help fix corrupt files in specific drives, if you want the system to run a particular type of scan at a defined location, you can have better control by running the scan from the Command Prompt.

Learn more about the syntax of the command you need to run and the parameters you may use to control the CHKDSK activity on theMicrosoft website.
4. How to Use System Restore to Fix Corrupt Windows Files
Microsoft’s Windows operating system includes a tool known as System Restore that keeps track of critical system files that can be restored in case of a calamity. Although it’s a convenient tool, it can only repair corrupt system files, not personal files.
Follow the below steps to restore your operating system to a previous restore point:
At the end of this process, your computer will reboot once, and you should now no longer have the corrupt files and folders issue.
On the other hand, if your personal file is corrupted, you might be able to restore it using the previous version that Windows might have stored. To do this, follow these steps:
This turnaround won’t work if there is no previous version stored. You may need to use third-party tools to fix the corrupt files as a last resort.
Four Built-In Fixes in Windows
Hopefully, the scans and tools mentioned above will help you repair your corrupt files and system. If none of the fixes work, you can try third-party tools to repair the damaged or corrupt files in Windows. Tools like Repair Toolbox, Steller Microsoft Office Repair Toolkit, and Hetman File Repair are all recommended.
The file is corrupted and cannot be opened. Does this error message sound familiar? Try these tools to recover or repair your damaged file.
Sometimes the smallest cleaning habit makes the biggest mess.
Your iPhone forgets what you copy, but this shortcut makes it remember everything.
Revolutionize your driving experience with these game-changing CarPlay additions.
When your rival has to bail out your assistant.
Lose your laptop without this feature, and you’ll wish you had turned it on.