Posted on

Repairing Corrupt System Files in Windows 10

Windows includes a number of tools to get you out of a fix if your computer starts misbehaving. In this post, I’ll run through the repair process.

If you suspect your Windows 10 system may be damaged, the first step is to run the built-in system file checker, known as sfc. Here’s how to use it:

  1. Right click on the Windows button in the lower left corner of the screen.
  2. Select Windows PowerShell (Admin). This will open a command-line console with administrator rights.
  3. To start the system file check, just enter the following: sfc /scannow NB: There’s a space between sfc and /
  4. This will start a detailed scan of all the systems files and will take a while, so just let it run.
  5. If all is well, it will report that it didn’t find any corrupt files and you can rest easy and close the console.
  6. Alternatively, sfc may report that it found corrupt files and fixed them. This is equally good news, so just reboot and all should be fine.
  7. Often, you will find that sfc says it found corrupt files but couldn’t repair them. In that case, you need some additional help.

The tool to fix this situation is the Windows DISM(Deployment Image Servicing and Management) that’s pre-installed on Windows 10. Before you dive in with this command, it’s worth creating a restore point, here’s how:

  1. In the Windows search box (lower-left) enter ‘create a restore point‘ and click the control panel result.
  2. Select the drive you want to protect (normally C:) and click create. That’s it!
  3. This gives you a recent restore point that you can use if things go pear-shaped!

Once the restore point creation has finished, return to the PowerShell and use DISM to repair the files as follows:

  1. Open the PowerShell with administrator rights.
  2. Enter: DISM /Online /Cleanup-Image /RestoreHealth  NB: There is a space before each of the /
  3. In 90% of cases, this will complete successfully and restore any damaged files.
  4. To confirm all is well, you can run sfc /scannow again.

NB: You may have to complete this process a couple of times before you get a clean sfc /scannow run.

If all the above fails, the next step is to use Windows Upgrade to reinstall the system files (see link below). This option will preserve your documents and installed applications but replace the system files.

How to repair Windows 10 with an upgrade install:

However, if you’ve installed and removed lots of software since you first installed Windows 10, it may be worth wiping the C: drive and doing a clean install of Windows 10.

Leave a comment to let me know if you spot any errors or just find this helpful.

 

Mike – G4WNC

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.