How to Solve "SFC Unable to Fix Corrupt Files" Problem in Windows 10

SFC Unable to Fix Corrupt Files in Windows 10

Did you ran the System File Checker (sfc /scannow) on your Windows 10 PC and received the following error:

Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log... ?

Then you've come to the right place, because here I will show you step by step how to fix this problem in Windows 10.

But first:

System File Checker

is a built-in Windows tool that you can use to scan and repair missing or corrupted system files in Windows.

If there are system files missing or corrupted, then Windows may not behave as expected and some Windows functions may not work, or Windows may crash.

You can let this tool run with the sfc /scannow command in Windows Command Prompt (Admin).

DISM

The tool in Windows 8, 8.1 and 10 can fix component store corruption that prevents the System File Checker from working properly.

We will use this tool to fix our System File Checker problem.

The "SFC Unable to Fix Corrupt Files" Problem

I had exactly the same problem.

I did a clean install of Windows 10.

And:

Like always I did a scan with the System File Checker after installing all of my software and before .

When I ran the sfc /scannow command, I received the following error:

Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. Note that logging is currently not supported in offline servicing scenarios.

Luckily I found the solution and on this page I will share it with you.

And now:

How to Fix "sfc found corrupt files but was unable to fix" in Windows 10

Method 1: Windows 10 Safe Mode

The first thing you should try is to reboot Windows 10 in "Safe Mode" and then run the sfc /scannow command.

1 Reboot Windows in "Safe Mode".

How to reboot Windows 10 in "Safe Mode":

  1. Hold the "Shift" key (keyboard) while clicking on "Restart" (Hold the "Shift" key, click on the start menu, click on the power button and then click on "Restart").
  2. Choose "Troubleshoot".
  3. Choose "Advanced options".
  4. Choose "Startup Settings".
  5. Click on the "Restart" button.
  6. Choose the option with "Enable Safe Mode" (number 4 keyboard key).
  7. Sign into Windows.

2 Open Command Prompt (Admin).

open command prompt admin windows 10

You can find this option when you right-click on the start menu button.

3 Run the sfc /scannow command.

sfc /scannow command

Method 2: DISM

1 Open Command Prompt (Admin).

open command prompt admin windows 10

You can find this option when you right-click on the start menu button.

2 Enter the following command:

DISM /Online /Cleanup-Image /RestoreHealth

fix sfc scannow error in windows 10 with dism tool

3 Press Enter on your keyboard.

This may take 5 to 10 minutes and at 20% it will look like it's stuck (freezes), but that's okay. It's normal. Don't worry. It will work. Just be patient and wait until the command is 100% completed.

4 If the DISM command changed something, then restart your computer and follow step 5 and 6.

5 Open Command Prompt (Admin).

6 Run the sfc /scannow command.

sfc /scannow command

Method 3: DISM & Windows 10 ISO

1 Go to .

Alternative download: .

Note! Before you could download the ISO file from https://www.microsoft.com/en-us/software-download/techbench), but this page doesn't exists anymore.

2 Download the correct version of Windows 10 (32-bit or 64-bit).

Note! This version must be the same as your current version.

To select a language (other than english) you will need to scroll down and click on the x86 (32-bit) or x64 (64-bit) button located next to your language in the "Download" column.

The download may take a while. The time it takes depends on your internet connection (speed) and also Microsoft's servers.

3 After downloading you need to unzip (extract) the ISO file.

I use 7-Zip (free). You can also use another file archiver like Winrar or Winzip.

4 Copy the "install.wim" file to your desktop.

You can find this file in the "sources" folder of your unzipped (extracted) ISO file.

5 Create a new folder on your desktop and name it mount.

create mount folder on Windows 10 desktop

6 Open "Command Prompt (Admin)".

open command prompt admin windows 10

You can find this option when you right-click on the start menu button.

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

Dism /mount-wim /wimFile:%USERPROFILE%\Desktop\install.wim /index:1 /MountDir:%USERPROFILE%\Desktop\mount

Fix SFC Unable to Fix Corrupt Files in Windows 10

8 Hit "Enter" on your keyboard.

Wait until the command is completed...

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

Dism /Online /Cleanup-Image /CheckHealth

10 Hit "Enter" on your keyboard.

Wait until the command is completed...

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

Dism /Online /Cleanup-Image /RestoreHealth /Source:%USERPROFILE%\Desktop\mount\windows /LimitAccess

12 Hit "Enter" on your keyboard.

This may take 5 to 10 minutes and at 20% it will look like it's stuck (freezes), but that's okay. It's normal. Don't worry. It will work. Just be patient and wait until the command is 100% completed.

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

Dism /unmount-wim /Mountdir:%USERPROFILE%\Desktop\mount /discard

14 Hit "Enter" on your keyboard.

Wait until the command is completed...

Note! when you're trying to unmount your wim image and you get an error like 0xc1420127, then try the following command:

Dism /cleanup-wim

15 Now it's time to re-run the sfc /scannow command. Enter sfc /scannow and hit "Enter" on your keyboard.

sfc /scannow command

Method 3 fixed my problem.

tag

Source(s):