locked
Installation gets stuck on "Update for Microsoft Windows (KB2999226)" RRS feed

  • Question

  • I've been trying all day to install Visual Studios Community 2015 on my Windows 7 machine, but I always get stuck at this step.

    The installer completes the "Acquiring" steps perfectly, but the "Applying" step never progresses and always sticks at "Update for Microsoft Windows (KB2999226)".

    Any idea as to why this is occurring?

    For years I've attempted to install various versions of Visual Studio starting with Windows XP, but for some reason it never gets through the installation. I've never been able to get any help.

    Monday, July 27, 2015 9:57 PM

All replies

  • Hi duckling,

    Have your Windows updated to the latest? And How do you install it, from web installer or ISO image?

    If you installing it from the web installer, try to use the ISO image instead. You can download the ISO from here: http://download.microsoft.com/download/0/B/C/0BC321A4-013F-479C-84E6-4A2F90B11269/vs2015.com_enu.iso

    Before you install it, please first use FCIV.exe http://support.microsoft.com/kb/841290  to verify hash of the ISO. Any discrepancy would indicate that the file was corrupted. Here is a blog for how to use it, you can refer to it. And the SHA-1 value of Visual Studio 2015 Community is “BAAD3CEBAB7A5834D8F78F7D02E4880C010F3BA9”.

    And in ISO image driver:\packages\Patch\x64 folder ,there are three patch files for  KB2999226  (win7/8.1/8.1RT). You could try to install the KB2999226 stand alone.

    If the above doesn’t help, try the following steps:

    Create a batch file with the following and run it from a command prompt.

    *******Start File Below********

    regsvr32 MSXML3.dll /s

    net stop wuauserv

    cd /d %windir%\SoftwareDistribution

    rd /s /q DataStore

    net start wuauserv

     regsvr32 softpub.dll

     regsvr32 mssip32.dll

    ******End File Above*******

    After that, copy Windows6.1-KB2999226-x64.msu file from the drive:\packages\Patch\x64 folder. (That's the vs2015 ISO) and ran WUSA.EXE Windows6.1-KB2999226-x64.msu from the command line. (There are other files in the ISO Patch folder for different versions of OS).

    Once these steps were done, start the VS2015 installation process again.

    Refer to:  https://social.msdn.microsoft.com/Forums/en-US/10b9c8b4-7e49-4724-bca4-6ee5f4ec8a10/visual-studio-2015-professional-fails-to-install-on-windows-7?forum=vssetup DACPAC’s reply.

    Best Regards,

    Jiayi Li


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click HERE to participate the survey.

    • Marked as answer by Jiayi Li Thursday, August 6, 2015 9:22 AM
    • Unmarked as answer by duckling_me Saturday, August 8, 2015 12:25 AM
    • Proposed as answer by rearguard Monday, October 10, 2016 3:36 AM
    Wednesday, July 29, 2015 3:32 AM
  • Hi duckling,

    Have your Windows updated to the latest? And How do you install it, from web installer or ISO image?

    If you installing it from the web installer, try to use the ISO image instead. You can download the ISO from here: http://download.microsoft.com/download/0/B/C/0BC321A4-013F-479C-84E6-4A2F90B11269/vs2015.com_enu.iso

    Before you install it, please first use FCIV.exe http://support.microsoft.com/kb/841290  to verify hash of the ISO. Any discrepancy would indicate that the file was corrupted. Here is a blog for how to use it, you can refer to it. And the SHA-1 value of Visual Studio 2015 Community is “BAAD3CEBAB7A5834D8F78F7D02E4880C010F3BA9”.

    And in ISO image driver:\packages\Patch\x64 folder ,there are three patch files for  KB2999226  (win7/8.1/8.1RT). You could try to install the KB2999226 stand alone.

    If the above doesn’t help, try the following steps:

    Create a batch file with the following and run it from a command prompt.

    *******Start File Below********

    regsvr32 MSXML3.dll /s

    net stop wuauserv

    cd /d %windir%\SoftwareDistribution

    rd /s /q DataStore

    net start wuauserv

     regsvr32 softpub.dll

     regsvr32 mssip32.dll

    ******End File Above*******

    After that, copy Windows6.1-KB2999226-x64.msu file from the drive:\packages\Patch\x64 folder. (That's the vs2015 ISO) and ran WUSA.EXE Windows6.1-KB2999226-x64.msu from the command line. (There are other files in the ISO Patch folder for different versions of OS).

    Once these steps were done, start the VS2015 installation process again.

    Hi,

    Yes, I recently installed the most up-to-date version of Windows 7.

    Upon trying method 1 to install Windows6.1-KB2999226-x64.msu (I'm running Windows 7, 64-bit, and to my understanding 'Windows6.1' is the internal name for Windows 7), I get the following error:

    'The update is not applicable to your computer.'

    When trying method 2 (The batch file), everything works fine but when I attempt to install I still get the same error - It cannot complete "Update for Microsoft Windows (KB2999226)". In fact, all it did was delete my computer's update log (Meaning, I can't view past updates via Control Panel\System and Security\Windows Update\View update history - They're gone)




    • Edited by duckling_me Saturday, August 8, 2015 12:33 AM
    • Proposed as answer by LeMec123 Wednesday, November 11, 2015 2:26 AM
    • Unproposed as answer by LeMec123 Wednesday, November 11, 2015 2:26 AM
    Saturday, August 8, 2015 12:25 AM
  • Hi duckling,

    Have you verify the SHA-1 value of your ISO image? If you haven't, please first verify it and then install the Windows6.1-KB2999226-x64.msu manually.

    Besides, for this error "The update is not applicable to your computer". Please make sure that your windows has updated to the latest. Because Some updates require a prerequisite update before they can be applied to a system.

    Refer to: https://support.microsoft.com/en-us/kb/3057448

    Best Regards,

    Jiayi Li


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click HERE to participate the survey.

    Monday, August 10, 2015 8:02 AM
  • I'm having the exact same issue here and like with duckling these proposed fixes didn't work for me. 
    Tuesday, September 15, 2015 11:15 PM
  • Are you using Sophos for encryption by chance?

    Wednesday, September 16, 2015 5:29 PM
  • Same thing happened to me...

    Do not cancel the installation butt also do force showdown your computer(Kill process might also work)

    the idea is not to let installer to cancel the installation

    Then after reboot, just start the install process again.

    That worked for me

    Wednesday, November 11, 2015 2:29 AM
  • Thanks. That worked for me as well. (Windows 7 on a virtual machine and Visual Studio Community 2015)

    I did a 'Restart' and force shutdown. I had to launch the setup program again but it quickly got past KB2999226 the second time. It also was much quicker on the acquiring steps so it must have retained the downloads from the first run.

    • Proposed as answer by John Danson Saturday, June 11, 2016 9:53 PM
    Sunday, January 17, 2016 3:01 PM
  • ***************

    ***************

    ***************

    Read the yaggier item above carefully - this worked for me.

    The comvs15 distro is the Worst deployment thing I have seen in years.

    Who is in charge of testing. Or no-one.

    ***************

    ***************

    ***************


    • Edited by John Danson Saturday, June 11, 2016 9:53 PM
    Saturday, June 11, 2016 9:51 PM
  • I would like to give you a background on Universal CRT this would help you in understanding as to why the system should be updated before installing vc_redist.x64.exe.
    A large portion of the C-runtime moved into the OS in Windows 10 (ucrtbase.dll) and is serviced just like any other OS DLL (e.g. kernel32.dll).  It is no longer serviced by Visual Studio directly.  MSU packages are the file type for Windows Updates.
    In order to get the Windows 10 Universal CRT to earlier OSes, Windows Update packages were created to bring this OS component downlevel.  KB2999226 brings the Windows 10 RTM Universal CRT to downlevel platforms (Windows Vista through Windows 8.1).  KB3118401 brings Windows 10 November Update to the Universal CRT to downlevel platforms.  
    Windows XP (latest SP) is an exception here.  Windows Servicing does not provide downlevel packages for that OS, so Visual Studio (Visual C++) provides a mechanism to install the UCRT into System32 via the VCRedist and MSMs.
    1. The Windows Universal Runtime is included in the VC Redist exe package as it has dependency on the Windows Universal Runtime (KB2999226).
                    Windows 10 is the only OS that ships the UCRT in-box.  All prior OSes obtain the UCRT via Windows Update only.  This applies to all Vista->8.1 and associated Server SKUs.

    For Windows 7, 8, and 8.1 the Windows Universal Runtime must be installed via KB2999226. However it has a prerequisite update KB2919355 which contains updates that facilitate installing the KB2999226 package. 

    2. Why does KB2999226 not always install when the runtime is installed from the redistributable?  What could prevent KB2999226 from installing as part of the runtime?
    The UCRT MSU included in the VCRedist is installed by making a call into the Windows Update service and the KB can fail to install based upon Windows Update service activity/state:
    1) If the machine has not updated to the required servicing baseline, the UCRT MSU will be viewed as being “Not Applicable”.
    Ensure KB2919355 is installed. Also, there were known issues with KB2919355  so before this the following hotfix should be installed.
    https://support.microsoft.com/en-us/kb/2939087
    https://support.microsoft.com/en-us/kb/2975061
    2)            If the Windows Update service is installing other updates when the VCRedist installs, you can either see long delays or errors indicating the machine is busy.
    a.            This one can be resolved by waiting and trying again later (which may be why installing via Windows Update UI at a later time succeeds).
    3)            If the Windows Update service is in a non-ready state, you can see errors reflecting that.
    a.            We recently investigated a failure with an error code indicating the WUSA service was shutting down.

    3. To identify if the prerequisite KB2919355 is installed there are 2 options:
    Registry key:
    64bit hive
    HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2919355~31bf3856ad364e35~amd64~~6.3.1.14
    CurrentState = 112
    32bit hive
    HKLM\SOFTWARE\[WOW6432Node\]Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2919355~31bf3856ad364e35~x86~~6.3.1.14
    CurrentState = 112

    Or check the file version of:
    C:\Windows\SysWOW64\wuaueng.dll
    C:\Windows\System32\wuaueng.dll
    7.9.9600.17031  or later


    Wednesday, July 6, 2016 10:30 AM
  • Dear rkRathish,

    Thank you for giving us the background and reminding us about KB2919355. I think that this is what goes wrong for me, as my wuaueng.dll version is 7.6.7600.320.

    You wrote "For Windows 7, 8, and 8.1 the Windows Universal Runtime must be installed via KB2999226. However it has a prerequisite update KB2919355 which contains updates that facilitate installing the KB2999226 package."

    But apparently update KB28919355 requires Windows RT 8.1, Windows 8.1, or Windows Server 2012 R2 update. How can you make it work for Windows 7?

    Tuesday, August 30, 2016 5:26 PM
  • i had the same problem. I downloaded the below component from this link  https://www.python.org/ftp/python/3.5.0/amd64a4/

    Download & install this component from the above link: Windows6.1-KB2999226-x64.msu

    After installing above component try installing VS2015 now, it should be successful.


    • Edited by tksdotnet Tuesday, September 20, 2016 5:49 AM
    Tuesday, September 20, 2016 5:48 AM
  • worked great, thanks alot!
    Friday, September 30, 2016 3:05 AM
  • Restarting the VM while it was hung up on applying KB2999226 worked for me also. I'm running Windows 7 on a virtual machine and trying to install VS2015 Community Editon as well. What a headache.
    • Edited by earlalncn Wednesday, October 19, 2016 9:31 PM
    Wednesday, October 19, 2016 9:27 PM
  • Control+alt+delete    then find the process called  WUSA.EXE and end that Process.. If its in a process it means its installed.... The installer has a very bad script or none at all...

    WUSA.EXE will continue to block the install... why Install something thats already there?? !! weird huh

    and keep killing it till your done Installing the software, now solution a million people can understand.

    WUSA.exe is  the windows 6.1kb2999226  btw thats for win7  theres also win8 and rt.. Service Pack 1 will do the same thing No solution yet- get edition that Includes SP1.. Hope this helps

    Sunday, November 27, 2016 8:46 PM
  • I attempted the fix as above using the .bat file. It worked in that it installed KB2999226 and allowed me to use other programs which required KB2999226

    However, I am now unable to view my Windows Update History, and Windows Update no longer sees the 23 option updates which were previously available. Searching for updates yields no results. The computer keeps searching for over 36 hours. Is there a way to rectify this? 

    -----

    Edit: I ended up fixing it this way:

     It involved restarting windows update service using running another .bat file as Administrator:

    *****

    net stop wuauserv
    net stop bits
    rd /s /q %windir%\softwaredistribution
    net start bits
    net start wuauserv
    wuauclt.exe /detectnow

    *****

    Afterwards, I was able to install KB2999226, KB3020369, and KB3172605 which had the added benefit of reducing scvhost CPU usage at idle. I apologize for not flagging this post as resolved previously

    • Edited by DT-1236 Tuesday, January 3, 2017 10:32 PM Found a resolution
    Monday, December 5, 2016 3:01 AM
  • This worked for me - thanks!  WUSA.EXE was blocking the install.  My system doesn't even need this patch!  Painful...
    Tuesday, January 3, 2017 8:13 AM