How to Fix Corrupted Files Windows 10

Corrupted System Files in Windows 10

If you are a computer geek then you must be aware of the fact that most of the computer problems occur due to the system files corruption or corrupted system files.

If your Windows functions are not working properly, Windows crashes or your Windows 10 installation gets corrupted then this means you are most probably dealing with the corrupted system files in Windows 10.

Sometimes various PC problems and instability issues start occurring due to the system files corruption.

Well, this is very irritating and luckily there are solutions that work for you to fix corrupted system files Windows 10.

Just go through the article and follow the given solutions one by one to repair Windows 10.

What Do You Mean By Corrupted Files?

Corrupted system files are the computer files that are biased or stop responding while trying to access it directly from the PC or another application. And there are several reasons responsible for the corrupt files Windows 10 which we decide later.

But, first, you need to learn what data corruption is and how it occurs?

Data corruption is the errors in the computer data that appear during reading, writing, storage, transmission or processing and introduces an unexpected modification to the original data.

There are various reasons responsible for data corruption and the virus/ malware infection is the most common one.

And when the data files corruption appears you may experience unexpected issues like system crashing, minor data loss. And to determine if the file is corrupted or not try opening it, if an error message appears showing ‘The file you are trying to access is corrupted’, then it is clear the file is corrupted.

It might happen the file may not open or may open with some of the corrupted data or in some cases the file is completely corrupted and leave the document useless.

How the Files Get Corrupted?

Some of the most common causes of the file system corruption are:

  • Improper shutdown or startup issues.
  • Hardware failure
  • NFS write errors
  • Bad disk controller
  • Accidental unplugging system
  • Software errors

So, these are some of the common reasons responsible for the corrupt system file Windows 10.

How to Fix Corrupted Files Windows 10?

Solution 1 – Run SFC Tool

This is the best solution that I often recommend to repair Windows system files. Try running the (System File Checker) SFC inbuilt tool to fix corrupted files Windows 10.

Follow the steps to run the SFC command:

  • Hit Windows Key + X > select Command Prompt (Admin)

Command Prompt (Admin)

  • Now in the Command Prompt type sfc /scannow > hit Enter.

Fix Corrupted Files Windows 10

  • And wait for the whole scanning and repairing process to complete (Approx. 15 minutes)

And as the repair process is finished the check if the Windows Resource Protection did not find any integrity violations message appears. This means the system files are not corrupted.

Well, in many cases it is found the inbuilt SFC tools won’t always fix the corrupted or missing files, so it is worth to try other solutions.

Sometimes the Windows Resource Protection could not perform the requested operation message also appears.

In this case, try performing the System File Checker scan in safe mode and assure the PendingDeletes and PendingRenames folders are under %WinDir%\WinSxS\Temp.

If you want to view SFC log, follow the steps to do so:

  • First, open Command Prompt as admin.

Command Prompt (Admin)

  • Then enter findstr /c:”[SR]” %windir%LogsCBSCBS.log > “%userprofile%Desktopsfclogs.txt” command > hit Enter

Corrupted System Files

  • And with this, you will build a sfclogs.txt file > on the Desktop.
  • Now open the sfclogs.txt > check SFC scan results.

Note: The log file contains the information only related to the SFC scan performed in the Windows.

Solution 2 – Run the DISM Tool

If running the SFC scan won’t work for you then here it is suggested to try running the DISM tool. DISM (Deployment Image & Servicing Management tool) and is used to fix the corruption issues that the SFC scan won’t.

Alike SFC tool, the DISM is a command-line tool used for repairing system files. Follow the steps to run it:

  • Open Command Prompt as admin
  • And type DISM /Online /Cleanup-Image /RestoreHealth > hit Enter

dism /online /cleanup-image /restorehealth

  • Now the repair process starts, this may take 10 minutes or more.
  • Wait for the whole repairing process to finish

Once the DISM tool scanning process is finished restart your PC and check it is repair Windows 10 corrupted files or not.

But if the issue still continues then try running the SFC scan again.

Solution 3 – Run SFC in Safe Mode

If both the above-given solutions won’t work for you then here try running the SFC tool from Safe Mode.

Running the tool from safe mode is relay worth as the booting Windows 10 in Safe Mode only uses default drivers, apps and avoid the possible interference of the third-party apps.

Follow the steps to enter Safe Mode in Windows 10:

  • Open the Start Menu > click Power button.

system files corruption

  • Press the Shift key > to select the Restart option.
  • A window opens with three options > choose Troubleshoot

system files corruption

  • Move to Advanced options > Startup Settings > click the Restart button.

system files corruption

  • As the PC restarts > a list of options appear > choose any version of Safe Mode by pressing the F8 key.

And as the Safe Mode starts, follow the steps given in Solution 1 to run the SFC scan and check if this repair Windows 10 corrupt files.

Solution 4 – Replace the Files Manually

If still struggling with the corrupted system files Windows 10, then here you need to try replacing them manually. Well, this is a highly advanced process so make sure to follow the steps carefully.

Very first, open the SFC log file and check which corrupted files can’t be fixed. I already discussed how to view the SFC log file in Solution 1, so follow the instruction given above.

Since after finding the corrupted file, transfer a healthy version file from another computer to your computer.

Make sure both the computers use the same Windows 10 version.

Follow the steps to replace the corrupted file manually.

  • First, open Command Prompt as admin

command-prompt-with-admin-rights

  • And type takeown /f C:corrupted-file-location-and-file-name > hit Enter. Note: Make sure to replace C:corrupted-file-location-and-file-name with actual corrupted file location. Make sure to include both the filename and extension like given above in the command. And by running the takeown command you will have ownership over the corrupted file.

system files corruption

  • Next type icacls C:corrupted-file-location-and-file-name /Grant Administrators:F command for gaining the full administrator privilege over the file. Again replace the C:corrupted-file-location-and-file-name with actual file location.

system files corruption

  • And now replace the problematic file with a healthy file copied from a different computer. Enter copy C:location-of-healthy-file C:corrupted-file-location-and-file-name > hit Enter.
  • Type Yes if asked you want to overwrite the file.
  • And repeat the steps for entire corrupted files.

And as all the corrupted files are replaced > run SFC/verifyonly command to verify if the problem with corrupted files is fixed.

fix corrupted system files Windows 10.

Well, this is the highly advanced solution but is also quite complicated, so make sure to read it a couple of times and follow the steps carefully.

I hope this works for you to fix Windows 10 corrupted files and repair Windows 10, but if not then follow the best solution.

Solution 5 – Perform System Restore

If still, you are unable to fix corrupt files Windows 10 then try performing System Restore to restore your system to an earlier state.

Follow the steps to do so:

  • Press Windows Key + S > type System Restore > select Create a restore point option

System Restore Points

  • Then click System Restore button > check Show more restore points.

fix corrupted system files Windows 10.

  • And choose the available restore point > click Next.

  • Now follow the given instructions to perform the restore point.

And as the PC is restored, the system files are also restored to earlier healthy version and repair Windows system files.

Solution 6 – Reset Windows 10

Hope after following the above-given solutions the system file corruption issue is resolved in Windows 10. But still, I found it worth mentioning to describe resetting Windows 10.

This is a complementary solution and if any user is still struggling with the corrupted system files, then try to reset Windows 10.

Please Note – Doing this removes the installed apps and files so make sure to back up the crucial files.

Well to perform this, you need a Windows 10 installation media, so make sure to create one by using a bootable USB flash drive.

Follow the steps to reset Windows 10:

  • Open the Start Menu > click Power button > hold Shift key > select the Restart option.

fix corrupted system files

  • Now choose Troubleshoot > Reset this PC.

corrupted system files

  • Two options are available – Keep my files and Remove everything. First, one will reinstall Windows 10 but will keep the personal files and settings. And the second will remove both personal files and settings. Also, the third-party applications and downloaded files were removed by performing the reset.

corrupted system files

  • If window popup showing whether you want to clean the drive > select Just remove my files option.

corrupted system files

  • Now choose your username and enter a password. If asked to insert Windows 10 installation media, make sure to do so.
  • Choose your Windows versions > click Reset button to start.

fix corrupted system files

  • And follow the on-screen instruction to complete the process.

However if reset option won’t fix the corrupted system files issue, then repeat it again but here select Remove everything > Only in the drive where Windows is installed > Just remove my files option.

corrupted system files.

I hope this works for you to repair Windows 10 corrupted system files.

Check your Windows PC/Laptop Health

Well, if the above-given solutions won’t work for you or you are not an advanced user to follow the given manual solutions than it is worth to go for the Windows Repair Tool. This is an advanced repair utility that just by scanning once detect and fix various computer issues.

It is also capable to fix other computer-related errors like DLL error, application error, BSOD error, stubborn computer errors, protect you from file loss, malware and virus infection, etc.  This not only fixes errors but also improves the Windows PC performance.

Get the Windows Repair Tool, to fix various computer issues & errors

Conclusion:

So this is all about the Windows 10 file corruption, I tried my best to list down the complete information about system file corruption and how to fix corrupted files Windows 10.

Hope after following the solutions given you are able to fix corrupted files Windows 10.

Well, the given solutions are quite advanced so make sure to follow them carefully. Or if you are not a very technical person then avoid following the manual solution and go for the automatic repair tool.

I hope the article is useful to you and help you to repair Windows 10 problems and start using it without any error.

Despite this, if you are having any query, comment or suggestion then feel free to share with us in the below comment section or gives us a big thumbs up on our FB page @Fix-PC-Error

Good Luck…!!