[SOLVED] sfc /scannow can't fix corrupt files.

Status
Not open for further replies.

dream3

Member
Joined
Dec 10, 2014
Posts
21
Hey guys!

Trying to run sfc /scannow repeatedly but it won't fix the following error:

2014-12-10 23:21:33, Info CSI 00000876 [SR] Repairing 1 components
2014-12-10 23:21:33, Info CSI 00000877 [SR] Beginning Verify and Repair transaction
2014-12-10 23:21:33, Info CSI 0000087a [SR] Cannot repair member file [l:18{9}]"MSDTC.LOG" of Microsoft-Windows-COM-DTC-Runtime, Version = 6.3.9600.16384, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, file cannot be decompressed
2014-12-10 23:21:33, Info CSI 0000087d [SR] Cannot repair member file [l:18{9}]"MSDTC.LOG" of Microsoft-Windows-COM-DTC-Runtime, Version = 6.3.9600.16384, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, file cannot be decompressed
2014-12-10 23:21:33, Info CSI 0000087e [SR] This component was referenced by [l:326{163}]"Microsoft-Windows-Client-Features-Package-AutoMerged-com~31bf3856ad364e35~amd64~~6.3.9600.16384.Microsoft-Windows-Client-Features-Package-AutoMerged-com-Deployment"
2014-12-10 23:21:33, Info CSI 00000880 [SR] Repair complete
2014-12-10 23:21:33, Info CSI 00000881 [SR] Committing transaction
2014-12-10 23:21:33, Info CSI 00000886 [SR] Verify and Repair Transaction completed. All files and registry keys listed in this transaction have been successfully repaired
That's extracted from the sfcdetails.txt

Already tried sfc then restart a couple of times and DISM as well.

I'm on windows 8.1.

Thanks!
 
sfc /scannow cannot repair corrupted files

Me too!

2014-12-10 23:21:33, Info CSI 00000876 [SR] Repairing 1 components
2014-12-10 23:21:33, Info CSI 00000877 [SR] Beginning Verify and Repair transaction
2014-12-10 23:21:33, Info CSI 0000087a [SR] Cannot repair member file [l:18{9}]"MSDTC.LOG" of Microsoft-Windows-COM-DTC-Runtime, Version = 6.3.9600.16384, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, file cannot be decompressed
2014-12-10 23:21:33, Info CSI 0000087d [SR] Cannot repair member file [l:18{9}]"MSDTC.LOG" of Microsoft-Windows-COM-DTC-Runtime, Version = 6.3.9600.16384, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, file cannot be decompressed
2014-12-10 23:21:33, Info CSI 0000087e [SR] This component was referenced by [l:326{163}]"Microsoft-Windows-Client-Features-Package-AutoMerged-com~31bf3856ad364e35~amd64~~6.3.9600.16384.Microsoft-Windows-Client-Features-Package-AutoMerged-com-Deployment"
2014-12-10 23:21:33, Info CSI 00000880 [SR] Repair complete
2014-12-10 23:21:33, Info CSI 00000881 [SR] Committing transaction
2014-12-10 23:21:33, Info CSI 00000886 [SR] Verify and Repair Transaction completed. All files and registry keys listed in this transaction have been successfully repaired
 
Hello and welcome to the forum

This is a rather common error we have seen lately.

SFCFix script

Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.

  1. Download SFCFix.exe (by niemiro) and save this to your Desktop.
  2. Go to your desktop and right click on the background -> Select New -> Text Document -> Name this file SFCFixScript.txt.
  3. Open up SFCFixScript.txt and copy all of the following text inside the code box below and paste it into SFCFixScript.txt.
    Code:
    FileScan::
    MSDTC.LOG
  4. Click on File -> Save. Close out of SFCFixScript.txt.
  5. Save any open documents and close all open windows.
  6. On your Desktop, you should see two files: SFCFix.exe and SFCFixScript.txt.
  7. Drag the file SFCFixScript.txt onto the file SFCFix.exe and release it.
  8. SFCFix will now process the script.
  9. Upon completion, a file should be created on your Desktop: SFCFix.txt.
  10. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this file into your next post for me to analyse please - put [CODE][/CODE] tags around the log to break up the text.
 
Hi there sir!

Here it is:

Code:
SFCFix version 2.4.1.0 by niemiro.
Start time: 2014-12-13 09:01:25.897
Using .txt script file at C:\Users\Allan Martin\Desktop\SFCFixScript.txt [0]








FileScan::
[0: 1] C:\Windows\WinSxS\amd64_microsoft-windows-com-dtc-runtime_31bf3856ad364e35_6.3.9600.16384_none_0a1162f033fa01f6\MSDTC.LOG
File is untraceable.
 Found: Q4htnI+yK+Jo0DJugTfqjq40IHkXFkIWyyAaDjFGEvo=
 Version number not available.
Trace not available.






[1: 1] C:\Windows\SoftwareDistribution\Download\0f4baa14acbc19075e5415072eedbc1f\amd64_microsoft-windows-com-dtc-runtime_31bf3856ad364e35_6.3.9600.16384_none_0a1162f033fa01f6\MSDTC.LOG
File is untraceable.
 Found: Q4htnI+yK+Jo0DJugTfqjq40IHkXFkIWyyAaDjFGEvo=
 Version number not available.
Trace not available.






[2: 1] C:\Windows\System32\MsDtc\MSDTC.LOG
File is untraceable.
 Found: jTaX9Eq/v5imXPJQ8wqpZCeQgZAGlVWOQuBq3oM4WXU=
 Version number not available.
Trace not available.






[3: 1] C:\Windows\WinSxS\amd64_microsoft-windows-com-dtc-runtime_31bf3856ad364e35_6.3.9600.17415_none_0a5dfdcc33c06e7e\MSDTC.LOG
File is untraceable.
 Found: Q4htnI+yK+Jo0DJugTfqjq40IHkXFkIWyyAaDjFGEvo=
 Version number not available.
Trace not available.
FileScan:: directive completed successfully.








Successfully processed all directives.
SFCFix version 2.4.1.0 by niemiro has completed.
Currently storing 0 datablocks.
Finish time: 2014-12-13 09:01:26.500
Script hash: yqmxX1j/+8ZyX3y6rPOmoWChAp9FEXuZ4bDqiXrV6rc=
----------------------EOF-----------------------
 
Thank you.

Can you please run SFCFix again? But this time just double click on it. Once this is done a notepad file should pop up, please post the contents back into this thread. The should hopefully tell me which one of the above files is causing this corruption.

Alex
 
Thank you.

Can you please run SFCFix again? But this time just double click on it. Once this is done a notepad file should pop up, please post the contents back into this thread. The should hopefully tell me which one of the above files is causing this corruption.

Alex

Sure!

Code:
SFCFix version 2.4.1.0 by niemiro.
Start time: 2014-12-15 09:14:37.331
Not using a script file.








AutoAnalysis::
SUMMARY: No corruptions were detected.
AutoAnalysis:: directive completed successfully.








Successfully processed all directives.
SFCFix version 2.4.1.0 by niemiro has completed.
Currently storing 0 datablocks.
Finish time: 2014-12-15 09:14:40.015
----------------------EOF-----------------------

and


Code:
SFCFix version 2.4.1.0 by niemiro.
Start time: 2014-12-15 09:15:22.594
Using .txt script file at C:\Users\Allan Martin\Desktop\SFCFixScript.txt [3]








FileScan::
[0: 1] C:\Windows\WinSxS\amd64_microsoft-windows-com-dtc-runtime_31bf3856ad364e35_6.3.9600.16384_none_0a1162f033fa01f6\MSDTC.LOG
File is untraceable.
 Found: Q4htnI+yK+Jo0DJugTfqjq40IHkXFkIWyyAaDjFGEvo=
 Version number not available.
Trace not available.






[1: 1] C:\Windows\SoftwareDistribution\Download\0f4baa14acbc19075e5415072eedbc1f\amd64_microsoft-windows-com-dtc-runtime_31bf3856ad364e35_6.3.9600.16384_none_0a1162f033fa01f6\MSDTC.LOG
File is untraceable.
 Found: Q4htnI+yK+Jo0DJugTfqjq40IHkXFkIWyyAaDjFGEvo=
 Version number not available.
Trace not available.






[2: 1] C:\Windows\System32\MsDtc\MSDTC.LOG
File is untraceable.
 Found: jTaX9Eq/v5imXPJQ8wqpZCeQgZAGlVWOQuBq3oM4WXU=
 Version number not available.
Trace not available.






[3: 1] C:\Windows\WinSxS\amd64_microsoft-windows-com-dtc-runtime_31bf3856ad364e35_6.3.9600.17415_none_0a5dfdcc33c06e7e\MSDTC.LOG
File is untraceable.
 Found: Q4htnI+yK+Jo0DJugTfqjq40IHkXFkIWyyAaDjFGEvo=
 Version number not available.
Trace not available.
FileScan:: directive completed successfully.








Successfully processed all directives.
SFCFix version 2.4.1.0 by niemiro has completed.
Currently storing 0 datablocks.
Finish time: 2014-12-15 09:15:24.760
Script hash: yqmxX1j/+8ZyX3y6rPOmoWChAp9FEXuZ4bDqiXrV6rc=
----------------------EOF-----------------------
 
I was hoping for a different result from SFCFix.

Nevermind, the issue is with either one of these files:

Code:
[3: 1] C:\Windows\WinSxS\amd64_microsoft-windows-com-dtc-runtime_31bf3856ad364e35_6.3.9600.17415_none_0a5dfdcc33c06e7e\MSDTC.LOG
File is untraceable.
 Found: Q4htnI+yK+Jo0DJugTfqjq40IHkXFkIWyyAaDjFGEvo=
 Version number not available.
Trace not available.
FileScan:: directive completed successfully.


[0: 1] C:\Windows\WinSxS\amd64_microsoft-windows-com-dtc-runtime_31bf3856ad364e35_6.3.9600.16384_none_0a1162f033fa01f6\MSDTC.LOG
File is untraceable.
 Found: Q4htnI+yK+Jo0DJugTfqjq40IHkXFkIWyyAaDjFGEvo=
 Version number not available.
Trace not available.

  1. Right click on the
    aa922834-ed43-40f1-8830-d5507badb56c_39.jpg
    button
  2. Click on Command prompt (Admin) => Press Yes on the prompt
  3. Inside the Command Prompt windows copy and paste the following commands
    Code:
    [b][COLOR="#0000FF"]reg load HKLM\COMPONENTS %windir%\System32\config\COMPONENTS
    REG QUERY HKLM\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-com-dtc-runtime_31bf3856ad364e35_6.3.9600.16384_none_0a1162f033fa01f6 >1&&notepad 1
    REG QUERY HKLM\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-com-dtc-runtime_31bf3856ad364e35_6.3.9600.17415_none_0a5dfdcc33c06e7e >2&&notepad 2[/COLOR][/B]
  4. Please post the contents of 1 and 2 back into this thread
 
Hope everything is alright :noidea:



Code:
HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-com-dtc-runtime_31bf3856ad364e35_6.3.9600.16384_none_0a1162f033fa01f6
    S256H    REG_BINARY    65D50E554CFF9AF7C8423758BFB4BD55813227B6743A3352612D0B5DAF9445EC
    identity    REG_BINARY    4D6963726F736F66742D57696E646F77732D434F4D2D4454432D52756E74696D652C2043756C747572653D6E65757472616C2C2056657273696F6E3D362E332E393630302E31363338342C205075626C69634B6579546F6B656E3D333162663338353661643336346533352C2050726F636573736F724172636869746563747572653D616D6436342C2076657273696F6E53636F70653D4E6F6E537853
    c!microsoft-w..-deployment_31bf3856ad364e35_6.3.9600.16384_19f730b5f5963bc8    REG_BINARY    
    f!msdtc.log    REG_DWORD    0x21
    f!msdtc.exe    REG_DWORD    0x1
    f!msdtckrm.dll    REG_DWORD    0x1
    CF    REG_DWORD    0x280

And number 2 returns: ERROR: The system was unable to find the specified registry key or value.
 
You did that correctly. Sorry for the delay in responding to you.

  1. Right click on the
    aa922834-ed43-40f1-8830-d5507badb56c_39.jpg
    button
  2. Click on Command prompt (Admin) => Press Yes on the prompt
  3. Inside the Command Prompt windows copy and paste the following command
    Code:
    [COLOR="#0000FF"]reg load HKLM\COMPONENTS %windir%\System32\config\COMPONENTS
    reg add "HKLM\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-com-dtc-runtime_31bf3856ad364e35_6.3.9600.16384_none_0a1162f033fa01f6" /v f!msdtc.log /t REG_DWORD /d 00000001 /f
    [/COLOR]
    [/B]
    [*]Please wait for this to Finish before continuing with rest of the steps.
 
haha No problem. Thanks!

Code:
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.


C:\Windows\system32>reg load HKLM\COMPONENTS %windir%\System32\config\COMPONENTS


The operation completed successfully.


C:\Windows\system32>reg add "HKLM\COMPONENTS\DerivedData\Components\amd64_micros
oft-windows-com-dtc-runtime_31bf3856ad364e35_6.3.9600.16384_none_0a1162f033fa01f
6" /v f!msdtc.log /t REG_DWORD /d 00000001 /f
The operation completed successfully.


C:\Windows\system32>reg load HKLM\COMPONENTS %windir%\System32\config\COMPONENTS


The operation completed successfully.


C:\Windows\system32>reg add "HKLM\COMPONENTS\DerivedData\Components\amd64_micros
oft-windows-com-dtc-runtime_31bf3856ad364e35_6.3.9600.16384_none_0a1162f033fa01f
6" /v f!msdtc.log /t REG_DWORD /d 00000001 /f
The operation completed successfully.


C:\Windows\system32>

Should I do scannow again?
 
It worked man, scannow didn't find anything wrong.

What was all that about, corrupt registry? I regularly use ccleaner, could that be the reason?

Anyway, THANK YOU SO MUCH.

Hope it doesn't happen anymore and I hope that was the cause off the sudden freezing/hanging I was experiencing.


edit: Actually, wait, when I drag and drop the SFCFixscsript over at SFCFix.exe, it still gives me this:

Code:
SFCFix version 2.4.1.0 by niemiro.
Start time: 2014-12-19 11:02:08.201
Using .txt script file at C:\Users\Allan Martin\Desktop\SFCFixScript.txt [6]








FileScan::
[0: 1] C:\Windows\WinSxS\amd64_microsoft-windows-com-dtc-runtime_31bf3856ad364e35_6.3.9600.16384_none_0a1162f033fa01f6\MSDTC.LOG
File is untraceable.
 Found: Q4htnI+yK+Jo0DJugTfqjq40IHkXFkIWyyAaDjFGEvo=
 Version number not available.
Trace not available.






[1: 1] C:\Windows\SoftwareDistribution\Download\0f4baa14acbc19075e5415072eedbc1f\amd64_microsoft-windows-com-dtc-runtime_31bf3856ad364e35_6.3.9600.16384_none_0a1162f033fa01f6\MSDTC.LOG
File is untraceable.
 Found: Q4htnI+yK+Jo0DJugTfqjq40IHkXFkIWyyAaDjFGEvo=
 Version number not available.
Trace not available.






[2: 1] C:\Windows\System32\MsDtc\MSDTC.LOG
File is untraceable.
 Found: jTaX9Eq/v5imXPJQ8wqpZCeQgZAGlVWOQuBq3oM4WXU=
 Version number not available.
Trace not available.






[3: 1] C:\Windows\WinSxS\amd64_microsoft-windows-com-dtc-runtime_31bf3856ad364e35_6.3.9600.17415_none_0a5dfdcc33c06e7e\MSDTC.LOG
File is untraceable.
 Found: Q4htnI+yK+Jo0DJugTfqjq40IHkXFkIWyyAaDjFGEvo=
 Version number not available.
Trace not available.
FileScan:: directive completed successfully.








Successfully processed all directives.
SFCFix version 2.4.1.0 by niemiro has completed.
Currently storing 0 datablocks.
Finish time: 2014-12-19 11:02:08.705
Script hash: yqmxX1j/+8ZyX3y6rPOmoWChAp9FEXuZ4bDqiXrV6rc=
----------------------EOF-----------------------


Is that supposed to happen?
 
It worked man, scannow didn't find anything wrong.

What was all that about, corrupt registry?

Anyway, THANK YOU SO MUCH.

Your welcome :)

The registry was not corrupt, the value for this file was incorrect (incorrect is not the right word here, but it is the best word I can think of at this time).

Compression of System files is very common Windows 8. Microsoft spent a great deal of time finding ways to compress the WinSxS folder due to a lot of complaints from end users/company's and OEM's, a lot of people were complaining about the size of the WinSxS folder on there machine as it could grow about ~12G. Having a larger WinSxS folder wasn't a big issue when everyone had 1Tb or 2TB HDD, as these HDD were (and still are) so cheap to buy. But one of the issues was when SSD come along. These were expensive and a lot of people bought ones that were about 50GB in size, if you had a WinSxS folder that was ~12G that would be almost a 1/4 of your SSD space, as you can imagine there were a large amount of complaints about this.

Now the query I asked you to run earlier that returned the following result:
Code:
HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\[COLOR="#FF0000"][B]amd64_microsoft-windows-com-dtc-runtime_31bf3856ad364e35_6.3.9600.16384_none_0a1162f033fa01f6[/B][/COLOR]
    S256H    REG_BINARY    65D50E554CFF9AF7C8423758BFB4BD55813227B6743A3352612D0B5DAF9445EC
    identity    REG_BINARY    4D6963726F736F66742D57696E646F77732D434F4D2D4454432D52756E74696D652C2043756C747572653D6E65757472616C2C2056657273696F6E3D362E332E393630302E31363338342C205075626C69634B6579546F6B656E3D333162663338353661643336346533352C2050726F636573736F724172636869746563747572653D616D6436342C2076657273696F6E53636F70653D4E6F6E537853
    c!microsoft-w..-deployment_31bf3856ad364e35_6.3.9600.16384_19f730b5f5963bc8    REG_BINARY    
[B][COLOR="#FF0000"]    f!msdtc.log    REG_DWORD    0x21[/COLOR][/B]
    f!msdtc.exe    REG_DWORD    0x1
    f!msdtckrm.dll    REG_DWORD    0x1
    CF    REG_DWORD    0x280

Shows that f!msdtc.log has the value 0x21. When the value is set to 0x21 it indicates that SFC /SCANNOW will be looking for a compressed version of msdtc.log, if the value is set to 0x1 it means the SFC will look for a file that is not compressed. What we did here is change the value to tell SFC not to look for a compressed version of this file.

I regularly use ccleaner, could that be the reason?

No not in this case. But I would recommend that you do not use the registry cleaner, I have seen this cause far to many damaged computers from people using registry cleaners.

edit: Actually, wait, when I drag and drop the SFCFixscsript over at SFCFix.exe, it still gives me this:

That is perfectly normally :) Inside SFCFixScript.txt you will see:
Code:
FileScan::
msdtc.log

What this does is scan your computer for any file called msdtc.log.

Hope this helps.

Alex
 
Absolutely, Alex. That was outstanding :)

Now besides stop using ccleaner (even though registry was fine at first), what else should I do to prevent this from happening again?
 
Your welcome.

With this sort of thing, prevention is not always something that can be done. There can be hundreds of different reasons as to why a file corruption.
 
Hi All

I have the same issue with MSDTC.LOG file not being compressed and well I tried to follow steps described above and setting 1's for scf to not to consider MSDTC.LOG file as compressed but it did not work. I am attaching the log file generated after I ran SFCFix.exe. I would be really thankful if you could help me. I am also posting here the content of the file.

Thank you a lot!
George


HTML:
SFCFix version 2.4.3.0 by niemiro.
Start time: 2015-03-21 20:53:44.417
Microsoft Windows 8.1 Update 3 - amd64
Not using a script file.




AutoAnalysis::
CORRUPT: C:\WINDOWS\winsxs\amd64_microsoft-windows-com-dtc-runtime_31bf3856ad364e35_6.3.9600.16384_none_0a1162f033fa01f6\MSDTC.LOG


SUMMARY: Some corruptions could not be fixed automatically. Seek advice from helper or sysnative.com.
   CBS & SFC total detected corruption count:     1
   CBS & SFC total unimportant corruption count:  0
   CBS & SFC total fixed corruption count:        0
   SURT total detected corruption count:          0
   SURT total unimportant corruption count:       0
   SURT total fixed corruption count:             0
AutoAnalysis:: directive completed successfully.




Successfully processed all directives.
SFCFix version 2.4.3.0 by niemiro has completed.
 

Attachments

Hi All

I have the same issue with MSDTC.LOG file not being compressed and well I tried to follow steps described above and setting 1's for scf to not to consider MSDTC.LOG file as compressed but it did not work. I am attaching the log file generated after I ran SFCFix.exe. I would be really thankful if you could help me. I am also posting here the content of the file.

Thank you a lot!
George


HTML:
SFCFix version 2.4.3.0 by niemiro.
Start time: 2015-03-21 20:53:44.417
Microsoft Windows 8.1 Update 3 - amd64
Not using a script file.




AutoAnalysis::
CORRUPT: C:\WINDOWS\winsxs\amd64_microsoft-windows-com-dtc-runtime_31bf3856ad364e35_6.3.9600.16384_none_0a1162f033fa01f6\MSDTC.LOG


SUMMARY: Some corruptions could not be fixed automatically. Seek advice from helper or sysnative.com.
   CBS & SFC total detected corruption count:     1
   CBS & SFC total unimportant corruption count:  0
   CBS & SFC total fixed corruption count:        0
   SURT total detected corruption count:          0
   SURT total unimportant corruption count:       0
   SURT total fixed corruption count:             0
AutoAnalysis:: directive completed successfully.




Successfully processed all directives.
SFCFix version 2.4.3.0 by niemiro has completed.

New thread created - https://www.sysnative.com/forums/wi...problem-w-msdtc-log-not-being-compressed.html
 
Status
Not open for further replies.

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top