How to Fix Corrupted Files in Windows 7, 8, 10, 11

You can easily fix corrupted files in Windows 7/8/10/11 if you cannot open it or receive error message. And don't forget to protect data if you don't want this happening again.

Ivy

by Ivy Updated on October 20, 2022

Share this: instagram reddit

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 a 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.

And the 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.

File Corrupted

Why is the file corrupted?

No matter what is wrong, there is a reason for it. Here we summarize the most common reasons in the following. 

1. Your files corrupted during saving due to loss of power or computer crash. 

2. Bad sectors, virus, or malware on hard drive or other storage devices.

3. Bad update on your computer.

Fix corrupted system files in all Windows systems (4 Ways)

After getting the reasons for corrupted files, you can try the given methods below to fix it. To prevent data loss due to file corruption, it's suggested to backup files automatically. And I'll introduce this method in the next part.

#1: Repair corrupted files using Windows Properties 

If your computer has bad sectors, you can use disk check utility to repair corrupted system files.  And the steps will be a little different in different operating systems. 

For Windows 7 users: 

Open Computer, right-click the hard drive you want to check bad sectors and select Properties. Then, in the Properties window, click Tools > Check now under the Error-checking. Afterward, click Scan for and attempt recovery of bad sectors and hit Start.  

Win7 Properties

For Windows 8/10/11 users:

Go to the Properties of your computer, click Tools and then Check option under the Error-checking. Then, review the scan result and click Scan and repair drive. And choose when to repair the file system. 

Win10 Properties

Step 4. Review the scan result and click Scan and repair drive.

Step 5. Choose when to repair the file system and wait for the final result.

#2: Fix corrupted system files in Windows 7 using SFC

The SFC is a command line utility in Windows 7/8/10/11, which is used to scans for missing or corrupted system files and repairs them. If your problem is related to system boot files, you can try the following steps to fix it.

Step 1. Type cmd in the search box, right-click it and select Run as administrator.

Step 2. In the command prompt window, type sfc/scannow and hit Enter to excute this repair process.

SFC

After scanning, you will receive one of the following messages, which will tell you if the corrupted boot files are repaired.

  • Windows Resource Protection did not find any integrity violations. This message indicates that there are no missing or corrupted system files.
  • 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.
  • Windows Resource Protection found corrupt files and successfully repaired them.

SFC Scannow Fix Corrupted Files

  • 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 (check this article for detailed steps). To view the details, you can go to CBS.Log %WinDir%\Logs\CBS\CBS.log.

#3: Repair corrupted boot files in Windows with DISM 

If you receive the Windows Resource Protection found corrupt files but was unable to fix some of them message in the previous, try DISM command line. It’s a replacement tool for SFC command line, especially when SFC scannow not working

Step 1. Run cmd as administrator and type the following command in the command prompt window.

DISM /Online /Cleanup-Image /RestoreHealth

DISM

Step 2. Wait and restart your computer to make the change available.

#4: Change the file format to fix corrupted files

If the corrupted files is a Word or Excel file, you can try this method to fix it. Please follow the steps below. 

Step 1. Open corrupted Word or Excel file, click Save As and select Web Page from the Save as type. 

Web Page

Step 2. Right-click on the previously saved files, select Open with > Microsoft Office Excel. If it's opened normally, go to Save As option again and then select an Excel format .xls or .xlsx as instead. After saving, the corrupted Excel file will be recovered.

Helpful hints: Prevent data loss due to file corruption 

You may feel upset when you want to open certain files, but cannot. In this case, you can choose fix corrupted files in Windows 7/8/10/11 or turn to data recovery software, but there is a risk of data loss. To avoid this situation, the best way is to backup files to external hard drive, USB drives, NAS, network share, etc. You need a reliable backup and restore software.

I strongly recommend you use AOMEI Backupper Standard for continuous data protection, not just after repairing the corrupted files. And you can choose different backup methods according to file types. 

For the common files, like music files, video files, word, excel, you could consider creating a file backup with its File Backup. If it is stored in a specific partition, select Partition Backup.
For the system or boot files, like dll file, cbs.log files, you’d better perform system image backup. Both System Backup and Disk Backup help and will select system files automatically.

And either way, you can backup files automatically with its schedule backups, you can choose among daily, weekly, monthly. But this may result in backup disk full sooner or later, it's suggested to use all the disk space savior features, such as, incremental backup, normal compression, automatic splitting, etc. 

Please download this software to have a try!

Download Freeware Win 11/10/8.1/8/7/XP
Secure Download

(PS: The free version only supports Windows 7/8/10/11. For server users, try AOMEI Backupper Server.)

Step 1. Launch AOMEI Backupper Standard, click Backup and File Backup.

Select the corresponding method in the following picture if you want to backup specific partition or system files. 

File Backup

Step 2. Click Add File or Add Folder to select files or folders you want to backup.

You can backup files with certain file extension as long as you enable the File Filter feature (supported by professional version). It's shown as a funnel-shaped button next to the selected files or folders.

Add Folders

Step 3. Set up a destination path for your backup and set advanced features. Then, click Start Backup to backup files automatically.

✿ Options: You can comment on a task, compress backup image with normal or high compression level, split backup image to a smaller one, etc.
✿ Schedule Backup: You can create a daily/weekly/monthly backup or enjoy Event triggers and USB plug in feature in the Professional version.
✿ Backup Scheme: You can set incremental or differential backup to backup only changed files if you modify your files frequently. Also, you can delete old backups to free up disk space with one of the cleanup methods - By quantity, By time, By daily/weekly/monthly. Note most features in the Backup Scheme are not free.

Start Backup

★ How to backup files to AOMEI Cloud

There is a growing trend to backup files to cloud storage. If you create an AOMEI account, you can backup files to AOMEI Cloud. You'll get 1TB free storage for 15 days after you sign up for an AOMEI account.

AOMEI Cloud

Summary

You can easily fix corrupted files in Windows 7/8/10/11 with given solutions. But there is still a risk of data loss. If you cannot afford it, the best way is to backup files automatically.

AOMEI Backupper Standard is a good option, since it still helps you minimize disk space with multiple features. The most complete way is to enable automatic backup cleanup methods and delete backup files automatically. To protect files on unlimited computers, try AOMEI Backupper Technician

Ivy
Ivy · Editor
Ivy is an editor of AOMEI Technology, she covers backup & restore,hard disk & partitions management and cloud files transfer and so on for AOMEI. She is an outgoing girl and enjoys helping people find solutions to their problems. She loves traveling, eating, reading and so on. She usually hangs out with friends at her leisure time.