sfc can't repair some of the files

After I ran sfc /scannow, I got this message "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." I wrote the sfc related entries in cbs.log  to sfcdetails.txt using "findstr /c:"[SR]" %windir%\logs\cbs\cbs.log  >sfcdetails.txt", I found problematic entry in sfcdetails.txt
"2015-02-04 22:01:22, Info                  CSI    0000092c [SR]    Cannot repair member file [l:40{20}]"System.resources.dll" of    System.resources, Version = 4.0.9600.16384, pA =    PROCESSOR_ARCHITECTURE_MSIL (8), Culture = [l:10{5}]"zh-cn",    VersionScope neutral, PublicKeyToken = {l:8 b:b77a5c561934e089}, Type    neutral, TypeName neutral, PublicKey neutral in the store, file is  missing ", 
I suspect it is related to .NET Framework . I tracked down 6 directories which I believe were system.resources.dll related under c:\windows\winsxs

there's  a system.resources.dll under every of these 6 directories.I open the first directory ,and found that size of the system.resources.dll is suspicious, I suspect it was corrupt. So I deleted the file ,and also I deleted the 4th directory which I believe might be relevant because the number in the name of the directory is somewhat consistent with the system.resources.dll  version number provided by  sfcdetails.txt . After that I ran DISM /Online /Cleanup-Image /RestoreHealth  , the file and directory I deleted was recovered successfully, then I ran sfc /scannow ,now there're two problematic entries in sfcdetails.txt :

2015-02-08 20:29:05, Info                  CSI    0000123f [SR] Cannot repair member file [l:40{20}]"System.resources.dll" of System.resources, Version = 4.0.9600.16384, pA = PROCESSOR_ARCHITECTURE_MSIL (8), Culture = [l:10{5}]"zh-cn", VersionScope neutral, PublicKeyToken = {l:8 b:b77a5c561934e089}, Type neutral, TypeName neutral, PublicKey neutral in the store, file is missing
2015-02-08 20:29:05, Info                  CSI    00001242 [SR] Cannot repair member file [l:40{20}]"System.resources.dll" of System.resources, Version = 4.0.9600.16404, pA = PROCESSOR_ARCHITECTURE_MSIL (8), Culture = [l:10{5}]"zh-cn", VersionScope neutral, PublicKeyToken = {l:8 b:b77a5c561934e089}, Type neutral, TypeName neutral, PublicKey neutral in the store, file cannot be decompressed

The first problem persists ,and now there's this second problematic entry ,what does it tell?


February 6th, 2015 4:11pm

Try this then, but you have to use the installation media

Dism /Online /Cleanup-Image /RestoreHealth /source:wim:D:\sources\install.wim:1 /limitaccess

Replace the drive letter according to your computer

This command will use the local source, and not use the Windows Update

Yes , I've tried that , nothing changed . but the odd ting is that even if  the flash disk is not connected to my computer, I can still run the command with no error, and finally I got "the restore operation completed successfully.the component store corruption was repaired", it seems like I don't  need the image to do the repair. in another word  it make no difference what drive letter i use
  • Edited by lonelyfishcn Saturday, February 07, 2015 3:19 AM
Free Windows Admin Tool Kit Click here and download it now
February 7th, 2015 5:50am

There's a new problem now. According to the information provided by sfcdetails.txt , I suspect it is related to .NET Framework . I tracked down 6 directories which I believe were system.resources.dll related under c:\windows\winsxs

there's  a system.resources.dll under every of these 6 directories.I open the first directory ,and found that size of the system.resources.dll is suspicious, I suspect it was corrupt. So I deleted the file ,and also I deleted the 4th directory which I believe might be relevant because the number in the name of the directory is somewhat consistent with the system.resources.dll  version number provided by  sfcdetails.txt . After that I ran DISM /Online /Cleanup-Image /RestoreHealth again , the file and directory I deleted was recovered successfully, then I ran sfc /scannow ,now there're two problematic entries in sfcdetails.txt :

2015-02-08 20:29:05, Info                  CSI    0000123f [SR] Cannot repair member file [l:40{20}]"System.resources.dll" of System.resources, Version = 4.0.9600.16384, pA = PROCESSOR_ARCHITECTURE_MSIL (8), Culture = [l:10{5}]"zh-cn", VersionScope neutral, PublicKeyToken = {l:8 b:b77a5c561934e089}, Type neutral, TypeName neutral, PublicKey neutral in the store, file is missing
2015-02-08 20:29:05, Info                  CSI    00001242 [SR] Cannot repair member file [l:40{20}]"System.resources.dll" of System.resources, Version = 4.0.9600.16404, pA = PROCESSOR_ARCHITECTURE_MSIL (8), Culture = [l:10{5}]"zh-cn", VersionScope neutral, PublicKeyToken = {l:8 b:b77a5c561934e089}, Type neutral, TypeName neutral, PublicKey neutral in the store, file cannot be decompressed

The first problem persists ,and now there's this second problematic entry ,what does it tell?




February 8th, 2015 5:13pm

tried PowerShell pipeline ,nothing happen except that it copied one more  system.resources.dll to c:\windows\system32

The pipeline I gave does nothing but find and list modules.  I don't know if you should have an instance of that module in System32.  FWIW all of mine are being shown under Microsoft Silverl
Free Windows Admin Tool Kit Click here and download it now
February 9th, 2015 9:20am

run the PowerShell pipeline from root directory instead of c:\windows\system32, I forgot to change the directory .I've run powershell pipeline again ,here's the result:

As I indicated I have nothing that looks like that.  I wonder how you got yours?  E.g. Visual Studio or something like that?  I wish someone would explain how we can do the reverse lookup to know how we are supposed to have received stuff like this. 

To try to understand what you have let's add an extra level of grouping to the sort stage of the pipeline.   Also, instead of capturing the output as an image please capture it as text, e.g. right-click Mark, etc.  Note also that although I am specifying -AutoSize there can still be truncation if the window size is not big enough, so please make your window as wide as necessary to avoid truncation of the FullName.

Here is the modified pipeline.  Again, it should be started from the SystemDrive root:  e.g.  PS C:\> "$env:SystemDrive\"

 ls -Re -Fi System.Resources.dll | sort Length, DirectoryName, LastWriteTime | ft Length, FullName -AutoSize

Hopefully this will give a clearer picture of what you have but I think we still would also need to know why you have it before trying to start changing anything.

 

HTH

February 9th, 2015 4:28pm

I've run the modified pipeline ,here the output

75240 C:\Users\fisher\Desktop\msil_system.resources_b77a5c561934e089_6.3.9600.16384_zh-cn_67fcb7c5132f5c6b\System.resources.dll
184320 C:\Users\fisher\Desktop\system.Resources.dll
184320 C:\Windows\assembly\GAC_MSIL\System.resources\2.0.0.0_zh-CHS_b77a5c561934e089\system.Resources.dll
184320 C:\Windows\Microsoft.NET\Framework\v2.0.50727\zh-CHS\system.Resources.dll
184320 C:\Windows\Microsoft.NET\Framework64\v2.0.50727\zh-CHS\system.Resources.dll
184320 C:\Windows\SoftwareDistribution\Download\97b4e482cf922ba4d540202faf8bb480\msil_system.resources_b77a5c561934e089_6.3.9600.16384_zh-cn_67fcb7c5132f5c6b\system.Resources.dll
184320 C:\Windows\System32\system.Resources.dll
184320 C:\Windows\WinSxS\amd64_microsoft-windows-n..xcorecomp.resources_31bf3856ad364e35_6.3.9600.16384_zh-cn_53c780c84d695002\system.Resources.dll
184320 C:\Windows\WinSxS\amd64_microsoft-windows-n..xcorecomp.resources_31bf3856ad364e35_6.3.9600.17226_zh-cn_540a48364d36f784\system.Resources.dll
184320 C:\Windows\WinSxS\amd64_microsoft-windows-n..xcorecomp.resources_31bf3856ad364e35_6.3.9600.20708_zh-cn_54aba3cd66426d15\system.Resources.dll
184320 C:\Windows\WinSxS\msil_system.resources_b77a5c561934e089_6.3.9600.16384_zh-cn_67fcb7c5132f5c6b\system.Resources.dll
184320 C:\Windows\WinSxS\msil_system.resources_b77a5c561934e089_6.3.9600.17237_zh-cn_67f7740513342771\system.Resources.dll
184320 C:\Windows\WinSxS\msil_system.resources_b77a5c561934e089_6.3.9600.20719_zh-cn_51279cab2cdd8c28\system.Resources.dll
184320 C:\Windows\WinSxS\x86_microsoft-windows-n..xcorecomp.resources_31bf3856ad364e35_6.3.9600.16384_zh-cn_f7a8e544950bdecc\system.Resources.dll
184320 C:\Windows\WinSxS\x86_microsoft-windows-n..xcorecomp.resources_31bf3856ad364e35_6.3.9600.17226_zh-cn_f7ebacb294d9864e\system.Resources.dll
184320 C:\Windows\WinSxS\x86_microsoft-windows-n..xcorecomp.resources_31bf3856ad364e35_6.3.9600.20708_zh-cn_f88d0849ade4fbdf\system.Resources.dll
223856 C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.resources\v4.0_4.0.0.0_zh-HANS_b77a5c561934e089\System.resources.dll
223856 C:\Windows\Microsoft.NET\Framework\v4.0.30319\zh-Hans\System.resources.dll
223856 C:\Windows\SoftwareDistribution\Download\32446d9f1312acde67926ef67861ad57\msil_system.resources_b77a5c561934e089_4.0.9600.16404_zh-cn_12920e0ef53bd53d\System.resources.dll
223856 C:\Windows\WinSxS\amd64_netfx4-system.resources_b03f5f7f11d50a3a_4.0.9600.16404_zh-cn_523bb989d1fa54f0\System.resources.dll
223856 C:\Windows\WinSxS\msil_system.resources_b77a5c561934e089_4.0.9600.16404_zh-cn_12920e0ef53bd53d\System.resources.dll
223936 C:\Windows\Microsoft.NET\Framework64\v4.0.30319\zh-Hans\System.resources.dll
223936 C:\Windows\WinSxS\amd64_netfx4-system.resources_b03f5f7f11d50a3a_4.0.9600.17253_zh-cn_5240d3f1d1f5b687\System.resources.dll
223936 C:\Windows\WinSxS\amd64_netfx4-system.resources_b03f5f7f11d50a3a_4.0.9600.20728_zh-cn_3b6fb7f5eba04eca\System.resources.dll
223936 C:\Windows\WinSxS\msil_system.resources_b77a5c561934e089_4.0.9600.17253_zh-cn_12972876f53736d4\System.resources.dll
223936 C:\Windows\WinSxS\msil_system.resources_b77a5c561934e089_4.0.9600.20728_zh-cn_fbc60c7b0ee1cf17\System.resources.dll


  • Edited by lonelyfishcn Tuesday, February 10, 2015 12:18 PM
Free Windows Admin Tool Kit Click here and download it now
February 10th, 2015 3:14pm

I've run the modified pipeline ,here the output

You seem to have multiple versions of it strewn throughout your system.  As I indicated I don't know how you would have got them and you don't seem to know either.  Is there a problem--other than the fact that whatever install and copy events that have occurred seem to have confused SFC?  E.g. are there any other symptoms regarding use of .NET?

Since most of them are for Zh-cn and Zh-Hans I imagine you might get more informed support from a forum which at least is presented in those languages.

 

Good luck

February 10th, 2015 5:24pm

Previously I had some problems using win 8.1 apps, I could not open win store and other win apps ,I ran sfc/scannow and got the error message I posted on the thread above. After I recovered the system from a backup image, now my system worked perfectly fine ,but the sfc error persisted.
I believe that the multiple versions of "System.resources.dll"  are all .NET related. Module number 75240 is the one which I suspected was corrupt, and was orignally located on the folder "c:\Windows\WinSxS\msil_system.resources_b77a5c561934e089_4.0.9600.16404_zh-cn_12920e0ef53bd53d\",  and I removed it to the desktop.Module number 184320 is for the .NET version 2.0 32bit and 64bit. Module number 223856 is for the .NET version 4.0 32bit ,Module number 223936 is for the .NET version 4.0 64bit. that's why I have multiple versions of "System.resources.dll" on my system. They exist on win 7 system  of my notebook ,and I believe they should exist on any system with .NET installed.

I've tried deleting the 1st and 4th folders in the picture, and then ran sfc /scannow again ," file is missing" error persisted , but "file cannot be decompressed" disappeared, I' don' t know if this information can help figure out the problem.

The reaosn why I came here for help is because the forums that speak my language are either unwilling or unable to help me with my problems,I've tried many times before, so I try my luck here.

I've open another thread on http://www.sysnative.com/ to see if they can help. 

Anyway , thank you so much for your insight and help.


  • Edited by lonelyfishcn Wednesday, February 11, 2015 1:48 AM
Free Windows Admin Tool Kit Click here and download it now
February 11th, 2015 4:26am

After I recovered the system from a backup image, now my system worked perfectly fine ,but the sfc error persisted.

So it's not really a problem, just a blemish.  I would ignore it.  It may eventually go away.   ; )

February 11th, 2015 1:51pm

FYI, on a Win 8.1 x64 MCE system that passes an SFC check I see system.Resources.dll files ONLY in subfolders of the following directories:

C:\Program Files (x86)\Microsoft Silverlight\5.1.30514.0

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v3.0

C:\Program Files\Microsoft Silverlight\5.1.30514.0

-Noel

Free Windows Admin Tool Kit Click here and download it now
February 11th, 2015 7:20pm

I'm a bit of a perfectionist, since sfc has detected an error , whether it is a problem or blemish ,I will get to it , and I believe there should be and will be a solution to it eventually. :)
February 11th, 2015 8:02pm

Mabe you don't have .NET installed?
Free Windows Admin Tool Kit Click here and download it now
February 11th, 2015 8:04pm

-Noel

February 11th, 2015 8:56pm

[TCP Port Sharing]


Did you install Fiddler4 too?   <eg>
Free Windows Admin Tool Kit Click here and download it now
February 12th, 2015 12:21am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics