Share via


sfc /scannow unable to fix; fixed by dism then recurrent sfc /scannow unable to fix.

Question

Tuesday, November 7, 2017 1:46 AM

Approximately 1 year ago there were reports of sfc /scannow finding corruption and then unable to fix.  Then this was fixed by dism /online /cleanup-image /restorehealth.  Then are rerun of sfc /scannow displayed the same problem.

So dism will fix the problem and sfc will be unable to fix repetitively.

This was all after an in place upgrade repair of windows 1703 to 1709.

Running sfc /scannow 3 times in a row made no changes.

Viewing the CBS logs displayed:  DUPLICATE OWNERSHIP of approximately 20 directories.

2017-11-07 10:31:42, Info                  CSI    00004e76 Error: Overlap: Duplicate ownership for directory \??\C:\WINDOWS\Inf\Windows Workflow Foundation 4.0.0.0 in component NETFX4CLIENTCoreComp, version 10.0.15522.0, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}

2017-11-07 10:31:42, Info                  CSI    00004e77 Error: Overlap: Duplicate ownership for directory \??\C:\WINDOWS\Inf\Windows Workflow Foundation 4.0.0.0\0000 in component NETFX4CLIENTCoreComp, version 10.0.15522.0, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}

2017-11-07 10:31:42, Info                  CSI    00004e78 Error: Overlap: Duplicate ownership for directory \??\C:\WINDOWS\Inf\SMSvcHost 4.0.0.0 in component NETFX4CLIENTCoreComp, version 10.0.15522.0, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}

2017-11-07 10:31:42, Info                  CSI    00004e79 Error: Overlap: Duplicate ownership for directory \??\C:\WINDOWS\Inf\SMSvcHost 4.0.0.0\0000 in component NETFX4CLIENTCoreComp, version 10.0.15522.0, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}

2017-11-07 10:31:42, Info                  CSI    00004e7a Error: Overlap: Duplicate ownership for directory \??\C:\WINDOWS\Inf\MSDTC Bridge 4.0.0.0 in component NETFX4CLIENTCoreComp, version 10.0.15522.0, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}

2017-11-07 10:31:42, Info                  CSI    00004e7b Error: Overlap: Duplicate ownership for directory \??\C:\WINDOWS\Inf\MSDTC Bridge 4.0.0.0\0000 in component NETFX4CLIENTCoreComp, version 10.0.15522.0, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}

2017-11-07 10:31:42, Info                  CSI    00004e7c Error: Overlap: Duplicate ownership for directory \??\C:\WINDOWS\Inf\.NETFramework in component NETFX4CLIENTCoreComp, version 10.0.15522.0, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}

2017-11-07 10:31:42, Info                  CSI    00004e7d Error: Overlap: Duplicate ownership for directory \??\C:\WINDOWS\Inf\.NETFramework\0000 in component NETFX4CLIENTCoreComp, version 10.0.15522.0, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}

2017-11-07 10:31:42, Info                  CSI    00004e7e Error: Overlap: Duplicate ownership for directory \??\C:\WINDOWS\Inf\.NET Memory Cache 4.0 in component NETFX4CLIENTCoreComp, version 10.0.15522.0, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}

2017-11-07 10:31:42, Info                  CSI    00004e7f Error: Overlap: Duplicate ownership for directory \??\C:\WINDOWS\Inf\.NET Memory Cache 4.0\0000 in component NETFX4CLIENTCoreComp, version 10.0.15522.0, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}

2017-11-07 10:31:42, Info                  CSI    00004e80 Error: Overlap: Duplicate ownership for directory \??\C:\WINDOWS\Inf\.NET Data Provider for SqlServer in component NETFX4CLIENTCoreComp, version 10.0.15522.0, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}

2017-11-07 10:31:42, Info                  CSI    00004e81 Error: Overlap: Duplicate ownership for directory \??\C:\WINDOWS\Inf\.NET Data Provider for SqlServer\0000 in component NETFX4CLIENTCoreComp, version 10.0.15522.0, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}

2017-11-07 10:31:42, Info                  CSI    00004e82 Error: Overlap: Duplicate ownership for directory \??\C:\WINDOWS\Inf\.NET Data Provider for Oracle in component NETFX4CLIENTCoreComp, version 10.0.15522.0, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}

2017-11-07 10:31:42, Info                  CSI    00004e83 Error: Overlap: Duplicate ownership for directory \??\C:\WINDOWS\Inf\.NET Data Provider for Oracle\0000 in component NETFX4CLIENTCoreComp, version 10.0.15522.0, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}

2017-11-07 10:31:42, Info                  CSI    00004e84 Error: Overlap: Duplicate ownership for directory \??\C:\WINDOWS\Inf\.NET CLR Networking 4.0.0.0 in component NETFX4CLIENTCoreComp, version 10.0.15522.0, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}

2017-11-07 10:31:42, Info                  CSI    00004e85 Error: Overlap: Duplicate ownership for directory \??\C:\WINDOWS\Inf\.NET CLR Networking 4.0.0.0\0000 in component NETFX4CLIENTCoreComp, version 10.0.15522.0, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}

2017-11-07 10:31:42, Info                  CSI    00004e86 Error: Overlap: Duplicate ownership for directory \??\C:\WINDOWS\Inf\.NET CLR Networking in component NETFX4CLIENTCoreComp, version 10.0.15522.0, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}

2017-11-07 10:31:42, Info                  CSI    00004e87 Error: Overlap: Duplicate ownership for directory \??\C:\WINDOWS\Inf\.NET CLR Networking\0000 in component NETFX4CLIENTCoreComp, version 10.0.15522.0, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}

2017-11-07 10:31:42, Info                  CSI    00004e88 Error: Overlap: Duplicate ownership for directory \??\C:\WINDOWS\Inf\.NET CLR Data in component NETFX4CLIENTCoreComp, version 10.0.15522.0, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}

2017-11-07 10:31:42, Info                  CSI    00004e89 Error: Overlap: Duplicate ownership for directory \??\C:\WINDOWS\Inf\.NET CLR Data\0000 in component NETFX4CLIENTCoreComp, version 10.0.15522.0, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}

2017-11-07 10:31:42, Info                  CSI    00004e8a@2017/11/6:23:31:42.351 CSIPERF - FileMapsCreated 333ms
2017-11-07 10:31:42, Info                  CSI    00004e8b Warning: Overlap: 20 directory duplicate ownerships detected.
2017-11-07 10:31:42, Info                  CSI    00004e8c CSIPERF - FilePI Commit 345ms

How come there are duplicate ownership problems after an in place upgrade repair?

How come sfc /scannow cannot fix the problem?

How come Dism /online /cleanup-image /restorehealth can fix the problem.

How come sfc /scannow find the problem again after the dism fix?

It is desirable to have a working sfc /scannow command to fix OS problems.

How can the sfc /scannow problem be fixed?

All replies (7)

Thursday, November 9, 2017 2:15 AM

On my clean install 1709 Enterprise machine, both of SFC and DISM are ok, this is my thread:

Run sfc /scannow

This will attempt to fix any corruption from the resident component store

If the above is unsuccessful:

Run Dism /Online /Cleanup-Image /RestoreHealth

This will attempt to fix any corruption from an online Windows Update source

(Note: internet access is required and may take a considerable amount of time on slow connections)

Run sfc /scannow (again)

This will verify that DISM was successful in repairing the errors

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


Thursday, November 9, 2017 4:37 AM

3 in place upgrade repairs have now been performed.

The same problem persists.

sfc /scannow finds corruption that it cannot fix.

dism /online /cleanup-image /scanhealth finds no corruption

dism /online /cleanup-image /restorehealth completes succesfully

sfc /scannow when run again finds corruption.

So the problems is sfc /scannow displays corruption that it cannot fix and dism commands do not fix the problem detected by sfc that it considers corruption.  The cbs log above displays duplicate ownership.

1) what is duplicate ownership?

2) how come sfc /scannow considers it corruption?

3) how come multiple in place upgrade repairs do not fix the sfc /scannow so that it can complete without finding corruption?


Monday, September 2, 2019 2:14 AM

I am having the same issue. SFC /SCANNOW ( in both Safe Mode & Windows Mode) finds errors an posts them in the CBS log file and DISM says everything is okay only to run SFC /SCANNOW to find the same errors.....AND....the errors CBS logs (and this is the unnerving part) is a language core that the error shows to be Chinese & Korean....ain't that a kick in the head....what with all that's going on these days...jeez.


Monday, September 2, 2019 9:29 AM

Probably a HDD/SSD failure?

Try running chkdsk /r in Command Prompt admin mode on the drive. Or if you know the drive manufacturer you could go to their site and see if they have a utility for testing it.


Monday, September 2, 2019 3:50 PM

My SSD checks out okay (Samsung EVO) only have the OS on it with plenty of extra space for longevity. Samsungs utility says all is well, the CBS log reports errors with Language issues (Chinese & Korean) which is weird. Say's I have 'duplicate' copies....which to me is even weirder...as I never use those languages ....ever.


Monday, September 2, 2019 10:00 PM | 1 vote

In that case if you have performed a repair or an in-place upgrade, your last resort is to backup your files and perform a clean install via https://www.microsoft.com/en-us/software-download/windows10startfresh


Monday, September 2, 2019 10:51 PM

Did that today (Refresh In-Place) and it fixed the issue. Thanks.