How To Scan and Fix Corrupted Windows Files
How To Scan and Fix Corrupted Windows Files

Manually scan out all the corrupted files in your Windows OS and easily fix them with some simple commands and Windows ISO file to recover them back directly from the powershell with the below given guide.



Today most of the PC users are working on Windows Operating System, one of the best and user-friendly OS that provides numerous features to its users. Till now you might have read our lots of guides regarding Windows OS, and here we come with another great one. 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 and at a time you keep on finding solutions. 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 Enable Enhanced Anti-Spoofing in Windows 10

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.

Also Read: 8 Best Powerful Tools To Customize your Windows 10

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. 

Scan and Fix Corrupted Windows Files
Scan and Fix Corrupted Windows Files

Step 2. Now in PowerShell, enter the below command to scan all the corrupted files in your OS.
sfc /scannow

Scan and Fix Corrupted Windows Files
Scan and Fix Corrupted Windows Files

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

Scan and Fix Corrupted Windows Files
Scan and Fix Corrupted Windows Files

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.

Scan and Fix Corrupted Windows Files
Scan and Fix Corrupted Windows Files

Step 8. Now simply execute the below command in PowerShell sfc /scannow

Scan and Fix Corrupted Windows Files
Scan and Fix Corrupted Windows Files

That’s it! you are done, now you will see the message there that the windows file has been recovered successfully.

Also Read: How to Lock Specific Apps in Windows 10

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.

Scan and Fix Corrupted Windows Files
Scan and Fix Corrupted Windows Files

Step 3. Now on the next page, you need to click on “Repair Your Computer”

Scan and Fix Corrupted Windows Files
Scan and Fix Corrupted Windows Files

Step 4. Now you will be asked how you want to continue to repair your computer. Here you need to select the option ‘Troubleshoot’

Scan and Fix Corrupted Windows Files
Scan and Fix Corrupted Windows Files

Step 5. Now in the next step, you will be given two options, you need to select “Advanced Option”

Scan and Fix Corrupted Windows Files
Scan and Fix Corrupted Windows Files

Step 6. Now under “Advanced Options” you need to select “Command Prompt”

Scan and Fix Corrupted Windows Files
Scan and Fix Corrupted Windows Files

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.

Scan and Fix Corrupted Windows Files
Scan and Fix Corrupted Windows Files

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

Scan and Fix Corrupted Windows Files
Scan and Fix Corrupted Windows Files

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.

Also Read: Top 15 Most Dangerous Computer Viruses Of All Time

So above guide is all about Scan and Fix Corrupted Windows Files. Use this method and easily fix any of the damaged files in your Windows OS, just by using the power shell to scan and ISO file to fix that particular files manually. 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.


COMMENTS

AUTHOR

Karanpreet Singh
Karanpreet Singh is the Co-Founder of Techviral. He writes about how to, tutorials especially on Android, iPhone, Computer, Internet, Social Networks, etc. Apart from this, he is an Ec-Council CEH (Certified Ethical Hacker) and a Digital Marketing Expert. He loves to share his knowledge with others through blogging.