Manually scan out all the corrupted files in your Windows OS and easily fix them with some simple commands. Follow the guide below to learn How To Scan and Fix Corrupted Windows Files.
Today most of the PC users are working on Windows Operating System, one of the best and user-friendly OS that provides numerous features. In this article, we will be guiding you on how to scan and fix the corrupted files in your Windows OS. Yes, it’s possible and can be easily done. Due to certain viruses or any other reasons, Windows system files can get corrupted, and your PC starts lagging and shows unknown behavior. Rather then using antiviruses or reinstalling OS what if you can directly scan and fix the corrupted file. So have a look at complete discussed below to proceed with this.
Also Read: How To Verify Your Profile On Instagram
How to Scan and Fix Corrupted Windows Files
The method is quite straightforward and easy, and you just need to enter some system commands to get the files scanned and then fix all the corrupted files and for that follow some simple steps below.
Steps To Scan and Fix Corrupted Windows Files:
Step 1. First of all, press windows button and then type Powershell, and now it will display the Windows Powershell option, right-click on it and select Run as Administrator.
Step 2. Now in PowerShell, enter the below command to scan all the corrupted files in your OS.
Step 3. Now you need to fix the files and for that, you need to enter the below command in Powershell.
Dism /Online /Cleanup-Image /RestoreHealth
Step 4. Now windows will start fixing the files, and you should be patient in this process as it will take quite a time to complete.
Step 5. Now you need the actual ISO file to get the file recovered, and for that you need to download the Windows ISO file of your particular version.
Step 6. Now when the file is downloaded simply right-click on it and choose the option mount.
Step 7. Now came back to power shell and enter the below command.
Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:X:\sources\install.wim:1
Note: Replace the letter “X” with the actual drive letter of your Windows installation media.
Step 8. Now simply execute the below command in PowerShell sfc /scannow
That’s it! you are done, now you will see the message there that the windows file has been recovered successfully.
Fix Windows Corrupted files if SFC command failed to fix
Sometimes, SFC command fails to fix out the corrupt Windows files. It will show you a message like “Windows Resource Protection found corrupt files but was unable to fix some of them”. So, if the SFC command fails to run or can’t replace the corrupted files, then DISM command sometimes fix the underlying Windows system.
However, you shouldn’t normally have to run the DSIM command. Use it only if the SFC command fails to fix the underlying problems.
Step 1. First of all, open Command Prompt with administrative rights. Now you need to enter the following commands.
DISM /Online /Cleanup-Image /RestoreHealth
Step 2. The process can take between 10-15 minutes to complete. The process stucks at several percents, but there’s nothing to worry.
After the scan process completes, it will show you the results of the DISM command. Simply, restart your Windows Computer and then run the SFC command again. This time, your SFC command will run properly and will fix corrupted files.
Method 2: Repairing system files when windows failed to boot
Step 1. You need to have the Windows installation DVD, you can borrow one from a friend or use a Recovery drive created on any computer. Insert the Windows Installation DVD and boot it on your computer.
Step 2. Once booted, you will see the windows installation option. One the first step, you will be asked to select the language and time format. Click on ‘Next’ to continue.
Step 3. Now on the next page, you need to click on “Repair Your Computer”
Step 4. Now you will be asked how you want to continue to repair your computer. Here you need to select the option ‘Troubleshoot’
Step 5. Now in the next step, you will be given two options, you need to select “Advanced Option”
Step 6. Now under “Advanced Options” you need to select “Command Prompt”
Step 7. Now in the command prompt, you need to use the ‘dir’ command. The command will help you to find the drive letter of your Windows partition. Like in the screenshot below. D:\ has the actual windows partition.
Step 8. You need to run the ‘SFC’ command to repair the windows installation. It will fix all the corrupted files. Simply, enter the command
sfc /scannow /offbootdir=D:\ /offwindir=D:\windows
Note: you can replace D:\ with your actual drive letter in the above command
Now, wait until the scan completes. Once completed, reboot the system and enjoy. This will fix the Windows corrupted files issue.
Method 3: System Restore and Reset
If the above two methods failed to work then you need to run the system restore tool that will fix the issue. The system restore tool was included in Windows 10 and 8.1.
The tool basically, restores your operating system files to a previous state, a time where the files were not corrupt. However, make sure to remember the name of the important apps or backup your files onto the external hard drive or Pendrive because system restore will delete some of the apps installed on your computer.
Step 1. First of all, in the Windows search bar enter “System Restore” and then open the “Create a Restore Point”
Step 2. Now you need to click on the configure button as shown in the image below.
Step 3. Then you need to enable the “Turn on system protection” and then make the Max Usage level to 5-10% and then press on Apply.
You can also fix the corrupted Windows file by doing the complete reset. For that, open the search box and then type “System Reset” and under Reset this PC click on “Get Started”
Now you will get to see two options “Keep My Files” and “Remove Everything”. Choose the option according to your wish.
So above guide is all about How To Scan and Fix Corrupted Windows Files. Use any of the above methods to easily fix any of the damaged files in your Windows OS. So try this out today. Hope you like the guide, keep on sharing with others too. Leave a comment below if you have any related queries with this.