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.
Step 2. Now in PowerShell, enter the below command to scan all the corrupted files in your OS.
sfc /scannow
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:sourcesinstall.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.
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.
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.
Also Read: Top 15 Most Dangerous Computer Viruses Of All Time
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.
Reset:
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.
Also Read: How To Unlock Windows Computer from Android or iPhone
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.