A simply Windows 10 Technology Blog.

Repair Corrupt System Files using sfc utility

0 734

When you were working or playing a video game on your new Windows 10 operating system and suddenly windows Crashed With a blue Screen Error. Your PC ran into a problem and needs to restart” error message? This Error happen due to Corrupt or Damaged Windows 10 System Files. windows files can get corrupt or damage due to thirdparty software install / Uninstallation, Virus or malware infection etc. But you can fix and Restore these corrupt system files using system file checker windows 10. Lets discuss what are the fire corruption and how to restore them using SFC utiity.




Cause Of System File Corruption

Windows files corruption may have several causes, for instance, incorrectly installed Windows updates, New installed driver software. Whenever something goes wrong with a PC, there seems to be a number of tools and troubleshooting tricks you can perform to try and repair the issue and move on. In Windows 10, there are several built-in commands you can use to repair corrupt system files that tend to cause issues over time as you change Windows system files. You can easily fix them by running the system file checker windows 10.

system file checker windows 10

Windows Having A Inbuilt SFC Utility Which Scan Windows for Corruption and Replace them If found any thing. you can Run this command when troubleshooting a buggy Windows system. If Windows is blue-screening, applications are crashing, or some Windows features just aren’t working the way they should, the SFC command may be able to fix this correct errors causing your PC to perform slowly. It’s worth running as even if the SFC command doesn’t find any issues. It will confirm that no system files are corrupted and you can continue to troubleshoot your system with other methods.

DISM commands are less common. However, if the SFC command fails to run properly or can’t replace a corrupted file with the correct one, the DISM command can fix the underlying Windows system to assist the SFC to run correctly.

How to run system file checker windows 10

The System File Checker or sfc.exe is a utility in Microsoft Windows located in C:WindowsSystem32 folder. This utility allows users to scan for and restore corrupt Windows system files. In other words The System File Checker tool scans your computer for any corruption. Or changes to system files that would otherwise interfere with the normal operation of your PC. From there, it replaces the file with the correct version to ensure smooth functioning.

If you notice an increase in the Blue Screen of Death, applications constantly crashing, Windows operations stalling, you may need to run the System File Checker to help correct errors causing your PC to perform slowly.




Run SFC utility on windows 10 / 8.1

First Save all your work and close any other programs you’re running. SFC Utility isn’t a light or casual utility. It does major repair. Don’t blow it by losing information in an open program window.

Now Right click on start menu and select Command Prompt (Admin) As shown bellow picture.

open-command-prompt-as-administrator

Now On command prompt window , Type Command sfc /scannow and hit Enter.

You see text: Beginning system scan. This process takes some time.
Beginning verification phase of system scan.

Repair-corrupted-system-files-using-sfc-scannow

Wait. SFC fixes what it can. Mostly, it plods through and displays the results, like this:

Verification 100% complete. After that Restart windows. This will fix Windows For corruption.

Repairing Corrupt System Files in Windows 10 with DISM 

Some times after perform sfc / scannow this will get a message like : Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log windirLogsCBSCBS.log.

sfc scannow

If the above doesn’t work there’s one last way to check for corruption in system files and repair them. You can use the Deployment Image and Servicing Management (DISM) tool.

Right click on start menu Search and type CMD on search Results, Right click on Command Prompt and Run as administrator As shown bellow picture.

open command prompt as administrator

Now On command prompt window , Type Command DISM /Online /Cleanup-Image /RestoreHealth and hit Enter.

dism-restore-health-command

DISM will check your Windows component store for corruption and automatically fix any problems it finds. During this DISM will go to Windows update online and get any missing or corrupt files.

Run DISM command using Bootable Media

However if Windows Update is corrupt or your networking is damaged then you will need to use local source for the system files. In this case type the command Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:C:tempinstall.wim:1

Run-DISM-command-from-system-drive

Note : The install.wim is a standard Windows image file that contains the distribution of Windows 10. It is normally found on your Windows DVD. if you dont have your windows setup DVD

You can download the ISO for Windows 10 using these instructions:




Visit the Microsoft Windows 10 download page.

Click the Download tool now button. Double-click the file to run the Media Creation Tool. Follow the on-screen directions to create an ISO file with the same version and edition of your current version of Windows 10.
Once the process completes, unzip the file using Winrar or Winzip.

Now  Copy the “install.wim” file to your desktop.

You can find this file in the “sources” folder.  Create a new folder on your desktop and name it mount. Now  Open “Command Prompt (Admin)”. You can find this when you right-click on the start menu button.

Run DISM using Windows Bootable Media

Now On command prompt Type bellow command

Dism /mount-wim /wimFile:%USERPROFILE%Desktopinstall.wim /index:1 /MountDir:%USERPROFILE%Desktopmount

mount-wim

Press Enter Key to execute the command. Wait until the command is completed. Now againg Copy and paste the following line into the command prompt:

Dism /Online /Cleanup-Image /CheckHealth 

press enter key Wait until the command is completed…

Again Copy and paste the following line into the command prompt:

Dism /Online /Cleanup-Image /RestoreHealth /Source:%USERPROFILE%Desktopmountwindows /LimitAccess

And press enter key
This may take a little bit longer and at 20% it will look like it’s stuck (hangs), but that’s okay. It’s normal. Don’t worry. It will work. Just be patient and wait until the command is completed.

Copy and paste the following line into the command prompt:

Dism /unmount-wim /Mountdir:%USERPROFILE%Desktopmount /discard

Wait until the command is completed.

Re-run the system file checker windows 10

The instructions you’ve learned thus far are to repair the Windows image. Now you can use the Windows image to fix the problems in your Windows 10 installation using the System File Checker (SFC) utility.

Use the Windows key + X keyboard shortcut to open the Power User menu and select Command Prompt (Admin).
In the Command Prompt type the following command and press Enter:

sfc /scannow

This SFC command will scan and repair system files on Windows 10, but now with access to replace missing or corrupted files using known good files from the Windows image.

Try System Restore or a System Reset

If you’re still experiencing issues. Running the System Restore tool will restore your Windows operating system files to an earlier state, and this may fix system corruption problems if the operating system wasn’t damaged at that earlier point.

Reset-this-pc

Alternatively, there’s always just performing a system reset or reinstalling Windows, too. On Windows 10 you can perform a “Reset this PC” operation to reset Windows to its default state. You’ll have to reinstall your programs after, but you won’t lose any personal files.

These are some best way to fix corrupt system files using system file checker windows 10. Have any query, suggestion feel free to comment bellow.

Subscribe to our newsletter
Subscribe to our newsletter
To get the latest Windows 10 tips, Tricks, Fix errors and Feature Post updates directly to your inbox.
You can unsubscribe at any time
You might also like