Windows Server 2008 Terminal Server does not install any more Windows updates after installation of .NET 4.5 - how to solve this?

Unanswered Windows Server 2008 Terminal Server does not install any more Windows updates after installation of .NET 4.5 - how to solve this?

  • Tuesday, November 27, 2012 11:14 AM
     
     

    Hello everyone,

    I am facing a huge problem: since I installed .NET 4.5 none of my Windows 2008 Terminal Servers installs Windows Updates any more.

    Either a Windows Update fails directly during installation or installs at first and changes its state to "pending". After a (required) restart its state switches to "failed" and the update is offered again for installation. Any further update attempts lead to the same situation.

    Here are some examples of the failed updates (in German):

    Sicherheitsupdate für Windows Server 2008 x64 Edition (KB2761226)

    Installationsdatum: ‎26.‎11.‎2012 12:33

    Installationsstatus: Fehlgeschlagen

    Fehlerdetails: Code 8007041D

    Updatetyp: Wichtig

    Es wurde eine Sicherheitslücke entdeckt, durch die ein nicht authentifizierter Remoteangreifer möglicherweise in ein Windows-System eindringen und die Steuerung übernehmen kann. Durch die Installation dieses Updates von Microsoft können Sie zum Schutz Ihres Systems beitragen. Nach der Installation dieses Updates müssen Sie das System gegebenenfalls neu starten.

    Weitere Informationen:
    http://go.microsoft.com/fwlink/?LinkId=270856

    Hilfe und Support:
    http://support.microsoft.com
    --------------------------------------------
    Sicherheitsupdate für Microsoft .NET Framework 2.0 SP2 unter Windows Vista SP2 und Windows Server 2008 SP2 für x64-basierte Systeme (KB2729453)

    Installationsdatum: ‎26.‎11.‎2012 12:32

    Installationsstatus: Fehlgeschlagen

    Fehlerdetails: Code 8007041D

    Updatetyp: Wichtig

    Es wurde eine Sicherheitslücke entdeckt, durch die ein nicht authentifizierter Remoteangreifer möglicherweise in ein Windows-System eindringen und die Steuerung übernehmen kann. Durch die Installation dieses Updates von Microsoft können Sie zum Schutz Ihres Systems beitragen. Nach der Installation dieses Updates müssen Sie das System gegebenenfalls neu starten.

    Weitere Informationen:
    http://go.microsoft.com/fwlink/?LinkID=248035

    Hilfe und Support:
    http://support.microsoft.com
    ---------------------------------------
    Kumulatives Sicherheitsupdate für Internet Explorer 9 unter Windows Server 2008 x64 Edition (KB2761451)

    Installationsdatum: ‎26.‎11.‎2012 12:32

    Installationsstatus: Fehlgeschlagen

    Fehlerdetails: Code 8007041D

    Updatetyp: Wichtig

    Es wurden Sicherheitslücken entdeckt, durch die ein Angreifer möglicherweise in ein System mit Microsoft Internet Explorer eindringen und die Steuerung übernehmen kann. Durch die Installation dieses Updates von Microsoft können Sie zum Schutz Ihres Systems beitragen. Nach der Installation dieser Komponente müssen Sie den Computer gegebenenfalls neu starten.

    Weitere Informationen:
    http://go.microsoft.com/fwlink/?LinkId=268299

    Hilfe und Support:
    http://support.microsoft.com


    Of course I already tried without success all solutions provided by the failure messages. I also deleted the update cache (SoftwareDistribution) and executed the System Update Readiness Tool (once before clearing the cache and once after).
    I also tried installing the updates manually - which failed, as well.

    The only working solution so far is removing .NET 4.5,installing the updates and re-installing .NET 4.5.

    This strategy works 100% reproducably. (So it must have something to do with .NET 4.5.) However I do not regard this as an acceptable solution. It is a whole lot of work, to remove .NET 4.5 prior to each and every update and to re-install it afterwards.



    Maybe anyone here has got the same problem and already knows a solution to it!?
    I would appreciate any hint, suggestion or advice.

    Thanks in advance!


    Cheers

    Tobias

All Replies

  • Thursday, November 29, 2012 6:02 AM
    Moderator
     
     

    .Net Framework Verification Tool
    http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Components-PostAttachments/00-08-99-90-04/netfx_5F00_setupverifier_5F00_new.zip


    Above is the newest .Net Framework Verification Tool. Run it to verify the installation of .Net Framework 4.5 and other versions of .Net installed on the server. Refer to: .NET Framework Setup Verification Tool User's Guide http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx


    If there is error detected, let us know. If no error is found, please run System Update Readiness Tool again and post the CheckSUR log and the error codes found in WindowsUpdate.log for research.  

  • Thursday, November 29, 2012 9:12 AM
     
     

    Thank you for your answer! You might be onto something there. I ran the .NET Framework Verification Tool for Version 4.5 and the validation failed on at least two of our servers.

    The error log was the same on the servers and contained the following lines:

    ======================================================================
    [11/29/12,09:54:39] Beginning of new SetupVerifier error logging session
    [11/29/12,09:54:39] Activity log file location: C:\Users\ramforth\AppData\Local\Temp\3\setupverifier_main_11-29-12_09.54.39.txt
    [11/29/12,09:54:39] Error log file location: C:\Users\ramforth\AppData\Local\Temp\3\setupverifier_errors_11-29-12_09.54.39.txt
    [11/29/12,09:54:39] Build created on September 10, 2012
    [11/29/12,09:54:39] Detected operating system: Windows Server 2008 (x64)
    [11/29/12,09:54:39] For more information about repairing the .NET Framework, see http://support.microsoft.com/kb/2698555 and http://go.microsoft.com/fwlink/?LinkID=246062
    [11/29/12,09:54:39] Windows directory: C:\Windows
    [11/29/12,09:54:39] System directory: C:\Windows\system32
    [11/29/12,09:54:39] Program Files directory: C:\Program Files (x86)
    [11/29/12,09:54:39] Common Files directory: C:\Program Files (x86)\Common Files
    [11/29/12,09:55:15] ****ERROR**** Process 'Netfx40TestApplication.exe' exited with return code -2147024770
    [11/29/12,09:55:15] ****ERROR**** Verification failed for product .NET Framework 4.5

    Can you make sense of where there might be a problem and what I could do next?

    As I installed a few Windows updates already I had to remove and re-install .NET a few times, so I guess the problem is at least not solvable by re-installing...

    By the way: verification succeeds for all frameworks except 4.0 Client, 4.0 Full and 4.5 (same error).

    And I got a hint at what went wrong in Netfx40TestApplication.exe. The error (8007007e as hex) refers to a module that could not be found. How do I find out which module that might be?

    Thanks

    Tobias



    • Edited by irgsmirx Thursday, November 29, 2012 1:31 PM
    •  
  • Friday, November 30, 2012 11:51 AM
     
     

    Well, I managed to get a little further.

    Now I know that the missing DLL is MSVCR110_CLR0400.dll. I found out be manually launching the Netfx40TestApplication.exe which I found in my Temp directory.

    I tried to solve this issue by installing the Visual C++ Redistributable 2012 Update 1 but the only DLL contained in that package was the MSVCR110.dll (without the _CLR0400.dll) and the verification program keeps complaining.

    Is this file missing in the Redistributable Package or in .NET 4.5?

    What should I do next? Where do I get the DLL from?

    Cheers

    Tobias

  • Friday, November 30, 2012 1:31 PM
     
     

    Hi again,

    I was a little bold now and copied the following files from my Windows 7 System32 folder to the Windows Server 2008:

    msvcp110_clr0400.dll

    msvcp110d.dll

    msvcr100_clr0400.dll

    msvcr110_clr0400.dll

    msvcr110d.dll

    Now the verifier succeeds.

    I am stunned that these steamroller tactics work.

    Is there any risk involved?

    Cheers

    Tobias


    • Edited by irgsmirx Friday, November 30, 2012 1:38 PM
    •  
  • Tuesday, December 04, 2012 6:06 AM
    Moderator
     
     

    Hi again,

    I was a little bold now and copied the following files from my Windows 7 System32 folder to the Windows Server 2008:

    msvcp110_clr0400.dll

    msvcp110d.dll

    msvcr100_clr0400.dll

    msvcr110_clr0400.dll

    msvcr110d.dll

    Now the verifier succeeds.

    I am stunned that these steamroller tactics work.

    Is there any risk involved?

    Cheers

    Tobias



    I think it's OK because .net framework for Windows Server and Windows Clients are the same. Is Windows Update working now?
  • Tuesday, December 04, 2012 7:22 AM
     
     

    Hello again,

    well, Windows Update completely installed all available Updates on one of our servers.

    On the others KB978338 is failing (Security update for Windows Server 2008 x64 Edition). But I have already a an idea why that might be.

    Another issue is that the files I copied are gone after each reboot. Why is that and what can I do about it?

    Cheers

    Tobias

  • Wednesday, December 05, 2012 8:06 AM
    Moderator
     
     

    Hello again,

    well, Windows Update completely installed all available Updates on one of our servers.

    On the others KB978338 is failing (Security update for Windows Server 2008 x64 Edition). But I have already a an idea why that might be.

    Another issue is that the files I copied are gone after each reboot. Why is that and what can I do about it?

    Cheers

    Tobias


    Sorry, no idea why the those DLLs are gone after a reboot. Try ask in .Net Framework Setup forum http://social.msdn.microsoft.com/Forums/en-US/category/netdevelopment