none
Microsoft Visual C++ 2015 Redistributable (x64) returns error 0x80240017 when installed on Windows Server 2012 R2

    Question

  • I'm attempting to install Microsoft Visual C++ 2015 Redistributable (x64) Version 14.0.24215 on a new clean install of Windows Server 2012 R2 fully updated with the most recent security updates obtained via Windows Update.  The Microsoft Visual C++ 2015 Redistributable (x64)  installer fails with the following error:

    * One or more issues caused the setup to fail. Please fix the issues and then retry setup.  For more information see the log file.  0x80240017 - Unspecified error

    The log file shows a problem installing Windows update package KB2999226:

    >[03CC:0738][2016-11-02T12:51:35]i301: Applying execute package: Windows81_x64, action: Install, path: C:\ProgramData\Package Cache\3ACBF3890FC9C8A6F3D2155ECF106028E5F55164\packages\Patch\x64\Windows8.1-KB2999226-x64.msu, arguments: '"C:\Windows\SysNative\wusa.exe" "C:\ProgramData\Package Cache\3ACBF3890FC9C8A6F3D2155ECF106028E5F55164\packages\Patch\x64\Windows8.1-KB2999226-x64.msu" /quiet /norestart'
    >[03CC:0738][2016-11-02T12:51:39]e000: Error 0x80240017: Failed to execute MSU package.
    >[07C0:0594][2016-11-02T12:51:39]e000: Error 0x80240017: Failed to configure per-machine MSU package.
    >[07C0:0594][2016-11-02T12:51:39]i319: Applied execute package: Windows81_x64, result: 0x80240017, restart: None
    >[07C0:0594][2016-11-02T12:51:39]e000: Error 0x80240017: Failed to execute MSU package.

    The problem also occurs with Microsoft Visual C++ 2015 Redistributable (x64) Version 14.0.23506.

    If I download Windows8.1-KB2999226-x64.msu and attempt to install this package on its own I get the message "The update is not applicable to your computer".

    These updates were already installed before attempting to install Microsoft Visual C++ 2015 Redistributable (x64)

    * Security Update for Microsoft .NET Framework 4.5.1 on Windows 8.1 and Windows Server 2012 R2 for x64-based Systems (KB2898871)
    * Security Update for Microsoft .NET Framework 4.5.1 on Windows 8.1 and Windows Server 2012 R2 for x64-based Systems (KB2901128)
    * Security Update for Internet Explorer 11 for Windows Server 2012 R2 (KB2884101)
    * Update for Windows Server 2012 R2 (KB2884846)
    * Security Update for Windows Server 2012 R2 (KB2892074)
    * Security Update for Windows Server 2012 R2 (KB2912390)
    * Cumulative Security Update for ActiveX Killbits for Windows Server 2012 R2 (KB2900986)
    * Security Update for Windows Server 2012 R2 (KB2862152)
    * Security Update for Windows Server 2012 R2 (KB2868626)
    * Security Update for Windows Server 2012 R2 (KB2893294)
    * Update for Windows Server 2012 R2 (KB2883200)
    * Update for Windows Server 2012 R2 (KB2903939)
    * Update for Windows Server 2012 R2 (KB2904266)
    * Update for Windows Server 2012 R2 (KB2887595)
    * Update for Windows Server 2012 R2 (KB2911106)
    * Update for Windows Server 2012 R2 (KB2913760)
    * Update for Windows Server 2012 R2 (KB2913270)
    * Security Update for Windows Server 2012 R2 (KB2922229)
    * Update for Windows Server 2012 R2 (KB2939087)
    * Update for Windows Server 2012 R2 (KB2919394)
    * Update for Windows Server 2012 R2 (KB2928680)
    * Security Update for Microsoft .NET Framework 4.5.1 on Windows 8.1 and Windows Server 2012 R2 for x64-based Systems (KB2931366)
    * Security Update for Windows Server 2012 R2 (KB2962123) without KB2919355
    * Security Update for Windows Server 2012 R2 (KB2961858) without KB2919355
    * Security Update for Windows Server 2012 R2 (KB2965155) without KB2919355
    * Security Update for Windows Server 2012 R2 (KB2965161) without KB2919355
    * Security Update for Windows Server 2012 R2 (KB2966034) without KB2919355
    * Security Update for Windows Server 2012 R2 (KB2966631) without KB2919355
    * Security Update for Windows Server 2012 R2 (KB2975625) without KB2919355
    * Security Update for Windows Server 2012 R2 (KB2973408) without KB2919355
    * Security Update for Windows Server 2012 R2 (KB2973906) without KB2919355
    * Update for Windows Server 2012 R2 (KB3173424)
    * Security Update for Windows Server 2012 R2 (KB3172729)
    * Windows Malicious Software Removal Tool for Windows 8, 8.1, 10 and Windows Server 2012, 2012 R2 x64 Edition - October 2016 (KB890830)
    * Security Update for Windows Server 2012 R2 (KB3172729)

    Any ideas?

    Wednesday, November 02, 2016 1:06 PM

Answers

  • Hi Lana,

    Having researched this a bit further I found out the following:

    Visual Studio 2015 C++ Redistributable requires Windows Server 2012 R2 with Update (KB2919335).

    KB2919335 will not install without KB2919442 already being installed.

    However, at the present time, KB2919442 is not provided automatically via Windows Update to Windows Server 2012 R2.

    Your original suggestion of installing KB2919442 is along the right lines.  The actual fix is:

    1. Download and install KB2919442.

    2. Run windows update, which will download and install KB2919335.  Alternatively manually download and install KB2919335.

    3. Install Visual Studio 2015 C++ Redistributable.

    Regards

    Robert


    • Edited by bradfordrg Saturday, November 05, 2016 9:36 AM
    • Marked as answer by bradfordrg Saturday, November 05, 2016 10:09 AM
    Saturday, November 05, 2016 9:34 AM

All replies

  • Hi bradfordrg,

    thanks for posting here.

    This forum is about c++ development. For your case, I will move it to vs setup and installation forum for better support.

    Your understanding and cooperation will be grateful.

    Best Regards,
    Sera Yu


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, November 03, 2016 1:34 AM
  • Hi bradfordrg,

    Thank you for your post.

    1. I checked the KB2999226, it's for Win 7 and only supports the Win 7 SP1,see:

    http://www.microsoft.com/en-sg/download/details.aspx?id=49077

    But your OS is Windows Server 2012 R2, which is not compatible with the KB2999226.

    2. Please go to the path: C:\ProgramData\PackageCache\3ACBF3890FC9C8A6F3D2155ECF106028E5F55164\packages\Patch\x64\Windows8.1-KB2999226-x64.msu

    Manually remove it first.

    3. Download and install the KB2919442 for Windows Server 2012 R2:

    http://www.microsoft.com/en-sg/download/details.aspx?id=42153

    4. Then manually install the Visual C++ 2015 Redistributable Update 3 from here:

    https://www.microsoft.com/en-us/download/details.aspx?id=53587

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Proposed as answer by bbryantf Monday, December 19, 2016 9:34 PM
    • Unproposed as answer by bbryantf Monday, December 19, 2016 9:34 PM
    Thursday, November 03, 2016 2:06 AM
    Moderator
  • Hi Lana,

    1. KB2999226 applies to Windows Server 2012 R2. See this link:

    https://support.microsoft.com/en-gb/kb/2999226

    2. KB2999226 is not installed. 

    3. How does KB2919442 relate to KB2999226?

    4. The link points to Visual C++ Redistributable 14.0.24212 and generates the same error as before: 0x80240017 (WU_E_NOT_APPLICABLE).  Installing KB2919442 before Visual C++ Redistributable does not fix the problem.

    Regards

    Thursday, November 03, 2016 6:23 AM
  • Hi bradfordrg,

    Sorry for my wrong guide before, but what we could make sure of the root cause, is that your system misses some dll, such as : api-ms-win-crt-string-l1-1-0.dll.

    Currently, there are only two ways to fix this:

    1. Select  Windows Update, Check for updates.

    Make sure all the possible patches to the newest.

    2. Or would you mind backing up your important files first, then upgrade your OS to Win 10, it will fix much compatible problem between the software and Operating system.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, November 03, 2016 6:53 AM
    Moderator
  • Hi Lana,

    1. I have installed the latest updates from Windows Update and I still get the same problem.  Microsoft Visual C++ 2015 Redistributable (x64) Version 14.0.24215 reports error 0x80240017.

    2. The OS is part of a test environment designed to test the installation of software on Windows Server 2012 R2.  Upgrade to Windows 10 (or any other version) is not an option.

    Regards

    R Bradford

    Thursday, November 03, 2016 9:27 AM
  • Hi bradfordrg,

    I really understand how it's inconvenient for you to change the OS .

    But I have search for some cases, some members got the same issue as yours:

    Their OS versions contain: Win 7, Windows Server 2012 R2, Win 8.1.

    The same feature of them is still missing the necessary dlls even of they install the newest update and patches, it's a within DLL compatibility problem between OS and windows update.

    When you try to install the Visual C++ redistributable packages, you could try to disable all the AV software and turn off the firewall, check and install the following Win 8.1 SDK:

    https://developer.microsoft.com/en-us/windows/downloads/windows-8-1-sdk

    Or if you have a solution for this issue, would you mind sharing us here, it could benefit other members who encounter similar questions.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


    Friday, November 04, 2016 2:01 AM
    Moderator
  • Hi Lana,

    Having researched this a bit further I found out the following:

    Visual Studio 2015 C++ Redistributable requires Windows Server 2012 R2 with Update (KB2919335).

    KB2919335 will not install without KB2919442 already being installed.

    However, at the present time, KB2919442 is not provided automatically via Windows Update to Windows Server 2012 R2.

    Your original suggestion of installing KB2919442 is along the right lines.  The actual fix is:

    1. Download and install KB2919442.

    2. Run windows update, which will download and install KB2919335.  Alternatively manually download and install KB2919335.

    3. Install Visual Studio 2015 C++ Redistributable.

    Regards

    Robert


    • Edited by bradfordrg Saturday, November 05, 2016 9:36 AM
    • Marked as answer by bradfordrg Saturday, November 05, 2016 10:09 AM
    Saturday, November 05, 2016 9:34 AM
  • Hi bradfordrg,

    Glad to hear you have had your issue resolved. And thanks for sharing us your solution and result here.

    It will benefit to other community members who have the same issue. It will be easier for them to search the solution.

    Have a nice day:)

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, November 07, 2016 12:56 AM
    Moderator
  • That solved the issue for me. Thank you Robert!

    Wednesday, March 29, 2017 9:13 PM