what is a corrupted file?
The corrupted files are computer files that suddenly become inoperable or unusable.
In fact, every file on your system has certain structure and content. Thus, if the right information is in the right part of the files, it will work well. But if the wrong information is written to a file, or the right information is written in the wrong place, the data will be garbled and scrambled, leaving you with a corrupted file.
In general, a corrupted file will not open at all or show an error message when you try to open it. But it does not affect the original program. That's to say, even if you have a corrupted word file, you still can open other word files and use Word as normal.
Why it happens
No matter what wrong, there is a reason for it. See below and get the reasons for a corrupted file.
1. Your files corrupted during saving. For example, your computer loses power or crash as you save files, the files may be corrupted.
2. Bad sectors on hard drive or other storage devices.
3. Virus and malware on a hard drive or other storage devices.
4. Unexpected shutdown or Bad update on your computer
How to fix corrupted system files in Windows 7/8/10?
Fix bad sectors using Windows built-in tool
For Windows 7 users:
Step 1. Go to the hard drive Properties window. You can open Computer, right-click the hard drive you want to check bad sectors and select Properties.
Step 2. Click Tools in Properties window.
Step 3. Click Check now in the Error-checking section.
Step 4. Tick Scan for and attempt recovery of bad sectors and hit Start.
Step 5. Review the check disk report
For Windows 8/10 users:
Step 1. Navigate to the hard drive Properties window. You can open This PC, right-click the system drive and select Properties.
Step 2. Click the Tools tab in this window
Step 3. Click the Check option under the Error-checking.
Step 4. Review the scan result and click Scan and repair drive.
Step 5. Choose When to repair the file system.
Step 6. Wait for the final result.
Fix corrupted system files using CMD
Some users are attached to use the command prompt. Today, I will show you how to fix corrupted dll files in Windows 7/8/10 using SFC and DISM.
Run sfc scannow in windows 7/
Step 1. Type cmd in the search box, right-click it and select Run as administrator.
Step 2. In the command prompt, type the following command.
Step 3. Wait for the final result.
Note: After you scan, you will receive one of the following messages.
1. Windows Resource Protection did not find any integrity violations. This message indicates that there are no missing or corrupted system files.
2. Windows Resource Protection could not perform the requested operation. This message means that you need to run SFC command in the safe mode and make sure that the PendingDeletes and PendingRenames folders exist under %WinDir%\WinSxS\Temp.
3. Windows Resource Protection found corrupt files and successfully repaired them.
4. Windows Resource Protection found corrupt files but was unable to fix some of them. This message means that you need to find the corrupted files and manually replace it with the right one.
If you want to view the details, you can go to CBS.Log %WinDir%\Logs\CBS\CBS.log.
Run dism command in Windows 8/10
The SFC command is included in Windows 8/10. You can run the SFC command first. If it does not work properly, you can run DISM command to repair corrupted files and SFC.
Step 1. Run SFC command in Windows 8/10. If there is no problem, you can close cmd. But If you receive an error message like Windows Resource Protection found corrupt files but was unable to fix some of them, you should run DISM command.
Step 2. Run DISM command. You can type the following command in the command prompt and hit Enter.
DISM /Online /Cleanup-Image /RestoreHealth
Step 3. Wait and restart your computer to make the change available.
Extra tip to protect again corrupted system files
Above methods can sometimes help you repair corrupted files. But you cannot fix some of the corrupted files.
Just to be sure, you still need to create a file backup in advance. As long as you save it to a safe place, you can restore files from backup at any time.
To create a backup, you need a reliable file backup software. I recommend you free AOMEI Backupper. With it, you can backup all kinds of files without effort. Daily, Weekly, and Monthly backup modes are provided. File sync to external drives, USB drives, NAS, network share is also available. In addition, you can backup files with a certain file extension, filter specific folders, backup large files, etc. with its Professional edition.
And during the process, you can compress your files to a specified level. You can set up schedule backup at a certain point. Also, you can only backup the changed files via incremental backup or differential backup. To save disk space more efficiently, you can delete file backup regularly via backup scheme that offered by its advanced editions.
Start with detailed steps.
Step 1. Download AOMEI Backupper Standard, install and launch it.
Step 2. Click Backup and File Backup.
Step 3. Select files or folders to backup. You can click Add File or Add Folder, then select a path for your files or folders.
Step 4. Set up a destination path for your backup and click Start Backup.
Up to now, how to fix corrupted files in Windows 7/8/10 is still an outstanding issue. No one dares to say that there is a way to fix all the corrupted files.
To keep your files safe and intact, you need to create a file backup. It's an exact copy of your files, which can protect against corrupted files after something goes wrong.