Share via

How to: Repair Corrupted .dll files with SFC /scannow

Anonymous
2011-10-14T17:14:01+00:00

After a Windows 7 update failed to install  some  update files last wednesday, 10/12/2011,  my copy of Windows started to crash/reboot itself.  sfc /scannow reports that there are several .dll files that are corrupted and cannot be repaired.  Also the notepad.exe program is listed as corrupted and cannot be repaired.  I tried to fall back to the restore point but that failed.  How do I repair/replace the corrupted .dll files?  I have a list of them from the sfc /scannow proceedure.

Windows for home | Previous Windows versions | Windows update

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

9 answers

Sort by: Most helpful
  1. Anonymous
    2017-11-11T07:36:24+00:00

    As many times as sfc /scannow is suggested in this community I have never see a Microsoft engaged alleged "expert" ever actually resolve any errors reported by the process.

    They tell you to run it and report the results but if there are problems that are not fixed, I can't recall them ever actually figuring out what the problem is and fixing anything.  I'm sure if there is an example of that actually happening (without a Repair Install or complete reinstall) somebody will provide some links to examples.

    Depending on what has happened to your system the fix could be very easy or you might need some help so I would downloading SFCFix.exe to your desktop from this link:

    http://www.sysnative.com/niemiro/apps/SFCFix.exe

    For testing, learning and practice purposes it is easy to create corruption issues that cannot be fixed by sfc  /scannow.

    First I manually created a problem that sfc /scannow reported but could not fix (SFC is not as smart as some folks think) then ran SFCFix.exe to see what it had to say.

    Sometimes the SFCFix.exe process will fix the problem all by itself as you can see in this simple example where I created a corruption that sfc /scannow could not fix but SFCFix.exe was able to fix an "unimportant" corruption in one pass:

    SFCFix.exe fixed one corruption all by itself:

    When I ran sfc /scannow again the problem I created was fixed andrunning sfc /scannow again reported no issues.

    That was pretty easy.

    If SFCFix.exe can't fix the problem you may be promoted to insert your genuine Windows 7 SP1 installation CD/DVD and SFCFix will try to get the missing file(s) from there but if you don't have that or SFCFix can't find what it needs a results and log file called SFCFix.txt will be created on your desktop:

    If SFCFix.exe can't fix the problem you then register a new account at Sysnative, follow the directions and they will send you back a ZIP file with the fixes for you to apply.  Often you get the fix in one message cycle because they know what they are doing.  It might take a little more depending on what is wrong.

    Be sure to read, understand and follow their directions exactly:

    https://www.sysnative.com/forums/windows-update/4736-windows-update-forum-posting-instructions.html

    Following the directions will get you the fastest and best reply in the fewest message cycles.

    For simple cases what usually happens is they will analyze the report (may ask for more details) and eventually send you some instructions and a ZIP file that has in it the files you need to correct the problem and you are done.

    Sometimes the problems are more complicated but eventually they should help get things squared away.

    Be a mench and come back and tell us how it goes!

    Was this answer helpful?

    5 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2011-10-15T09:22:56+00:00

    Hi,

    1.      Which update failed to install?

    2.      Have you received any error message?

    I would suggest you to follow the method and check.

    Method 1:

    Open the Windows Update troubleshooter

    http://windows.microsoft.com/en-US/windows7/Open-the-Windows-Update-troubleshooter

    See which Windows updates are installed

    http://windows.microsoft.com/en-US/windows-vista/See-which-Windows-updates-are-installed

    Method 2:

    I would suggest you to follow the steps listed to repair the corrupted files found.

    How to use the System File Checker tool to troubleshoot missing or corrupted system files on Windows Vista or on Windows 7

    http://support.microsoft.com/kb/929833

    Was this answer helpful?

    5 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2017-11-11T16:04:25+00:00

    I had to use my own instructions once...  and they worked!

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2017-11-11T15:33:13+00:00

    Thank you ElderN.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  5. Anonymous
    2011-10-22T20:54:13+00:00

    the Updates that failed to install at that time were

    KB2310138

    KB2586448

    KB2572077

    I then ran the sfc /scannow command as an Administrator.  This was on Oct 15th..  It reported that several files were corrupted and could not be repaired.  Those files were.

    bitsprx2.dll

    d3d10warp.dll

    fdSSDP.dll

    Microsoft.Build.Tasks.v3.5.dll

    mscorsec.dll

    notepad.exe.mui

    PhotoViewer.dll

    wmplayer.exe.mui

    No hint was given as to how to repair those files.  I could not locate any info on repairing these or any sfc reported corrupt files.

    When I looked in the profiles of those files I noticed that information such as the File Version, Product name, Product version, Copyright, and Language were missing, more specifically they were blank. Why?? I guess that is why they were corrupt. On other .dll files this information was present and looked reasonable, eg Copyright Microsoft Corporation. All rights reserved. or Product name Microsoft DRM, and so on.

    Since I still could not locate any information on how to repair or replace those files listed as corupt I search on the internet and found a program named  7-Zip File Manager that claimed to extract files from my Windows Install DVD. I took a big chance and extracted the

    bitsprx2.dll

    d3d10warp.dll

    fdSSDP.dll

    and

    mscorsec.dll

     files from my Windows install dvd.  I tried to copy thos files to the C:\Windows\System32 folder but I failed.   However since my computer is a dual boot with Ubuntu Linux I was able to copy the files via Ubuntu.  I saved the old files just in case of problems.  When I rebooted Windows 7 everything ran OK.  I had no errors reported, and no difficulties.  Also the notepad.exe.mui and wmplayer.exe.mui would now run correctly. I also tried to install the failed updates and they installed with no reported problems. This is after several attempts with the orginal .dlls.

    However everything is not going perfectly as could be expected. If I examin the properties of the new .dll files there is one property that is not set.   In the Security tab under the Group or user names there is one missing group called "TrustedInstaller."  I am not allowed to add that group to

    Security  tab.  consequently when I now run sfc /scannow I get a message that is

    "Windows Resource Protection could not perform the requested operation."

    Looking in the CBS.log file gives many entried like this

    2011-10-17 14:56:20, Error                 CSI    000000d2 (F) STATUS_SXS_IDENTITY_PARSE_ERROR #61807078# from Windows::Identity::Rtl::Implementation::CRtlIdentityAuthority::IRtlIdentityAuthority_Parse(flags = 0, string = [l:308{154}]"Microsoft-Windows-WMI-Feature-UI, Culture=neutral,[gle=0xd0150019]

    2011-10-17 14:56:20, Info                  CBS    Failed to get CSI store. [HRESULT = 0x8007370d - ERROR_SXS_IDENTITY_PARSE_ERROR]

    2011-10-17 14:56:20, Error                 CBS    Failed to initialize store parameters with boot drive:  and windows directory:  [HRESULT = 0x8007370d - ERROR_SXS_IDENTITY_PARSE_ERROR]

    2011-10-17 14:56:22, Info                  CSI    000000d3@2011/10/17:18:56:22.063 PopulateComponentFamiliesKey - Begin

    2011-10-17 14:56:26, Error                 CSI    000000d4@2011/10/17:18:56:26.727 (F) d:\win7sp1_gdr\base\wcp\identity\id_authority_helpers.cpp(783): Error STATUS_SXS_IDENTITY_PARSE_ERROR originated in function Windows::Identity::Rtl::Implementation::CRtlIdentityAuthority::ParseAttributeList expression: PreviousLexeme.m_LexemeType == IdentityParser::CLexeme::String

    [gle=0x80004005]

    2011-10-17 14:56:26, Error                 CSI    000000d5 (F) STATUS_SXS_IDENTITY_PARSE_ERROR #62702833# from Windows::Identity::Rtl::Implementation::CRtlIdentityAuthority::IRtlIdentityAuthority_Parse(flags = 0, string = [l:308{154}]"Microsoft-Windows-WMI-Feature-UI, Culture=neutral,[gle=0xd0150019]

    2011-10-17 14:56:26, Info                  CBS    Failed to get CSI store. [HRESULT = 0x8007370d - ERROR_SXS_IDENTITY_PARSE_ERROR]

    2011-10-17 14:56:26, Error                 CBS    Failed to initialize store parameters with boot drive:  and windows directory:  [HRESULT = 0x8007370d - ERROR_SXS_IDENTITY_PARSE_ERROR]

    2011-10-17 14:56:27, Info                  CSI    000000d6@2011/10/17:18:56:27.991 PopulateComponentFamiliesKey - Begin

    If I add the old .dll files back into C:\Windows\System32  that I saved from the Ubuntu copy operation the sfc /scannow error remains. Windows 7 still seems to run OK, I can still install updates and other programs BUT now Visual Studio 2010 has sever problems and cannot create a new project, or even open an existing project.

    Was this answer helpful?

    0 comments No comments