none
.net framework 3.5 installation fails w/ error code: 0x800F0954 RRS feed

  • Pregunta

  • Title. Downloads for about 2 seconds then fails. Tried the DISM command

    Dism /online /enable-feature /featurename:NetFX3 /All /Source:D:\sources\sxs

    Get the same error code.

    Windows 10 1709


    • Editado CFFraser viernes, 8 de diciembre de 2017 20:16
    viernes, 8 de diciembre de 2017 20:15

Respuestas

  • Title. Downloads for about 2 seconds then fails. Tried the DISM command

    Dism /online /enable-feature /featurename:NetFX3 /All /Source:D:\sources\sxs

    Get the same error code.

    Windows 10 1709


    Used the powershell command

    Add-WindowsCapability –Online -Name NetFx3~~~~ –Source D:\sources\sxs
    which worked.

    • Marcado como respuesta CFFraser viernes, 8 de diciembre de 2017 20:37
    viernes, 8 de diciembre de 2017 20:37

Todas las respuestas

  • Title. Downloads for about 2 seconds then fails. Tried the DISM command

    Dism /online /enable-feature /featurename:NetFX3 /All /Source:D:\sources\sxs

    Get the same error code.

    Windows 10 1709


    Used the powershell command

    Add-WindowsCapability –Online -Name NetFx3~~~~ –Source D:\sources\sxs
    which worked.

    • Marcado como respuesta CFFraser viernes, 8 de diciembre de 2017 20:37
    viernes, 8 de diciembre de 2017 20:37
  • Hi CFFraser,

    Adding features (including .NET 3.5) to Windows 10

    DISM.EXE /Online /Get-Capabilities

    Get-WindowsCapability -Online

    https://blogs.technet.microsoft.com/mniehaus/2015/08/31/adding-features-including-net-3-5-to-windows-10/

    Glad to hear that you have solved it and thank you for sharing it here, it will be helpful to other community members who have same questions.

    Regards,


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Propuesto como respuesta Eric0502 jueves, 14 de diciembre de 2017 12:40
    lunes, 11 de diciembre de 2017 6:57
    Moderador
  • I get the same error in the Powershell window (running as admin):

    PS C:\Windows\system32> Add-WindowsCapability –Online -Name NetFx3~~~~ –Source D:\sources\sxs
    Add-WindowsCapability : Add-WindowsCapability failed. Error code = 0x800f0954
    At line:1 char:1
    + Add-WindowsCapability –Online -Name NetFx3~~~~ –Source D:\sources\sxs
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Add-WindowsCapability], COMException
        + FullyQualifiedErrorId : Microsoft.Dism.Commands.AddWindowsCapabilityCommand

    I also tried inserting the original Windows 10 DVD, which is the R: drive, and changed the D: to R: in the command above. Same result.

    Any further suggestions?


    Colin


    • Editado GraniteStateColin viernes, 19 de enero de 2018 13:16 added info about also trying from DVD
    • Propuesto como respuesta Joaquin H lunes, 22 de enero de 2018 18:06
    viernes, 19 de enero de 2018 13:11
  • For me, the solution was to use the full name of the source file, instead of just the path. Not sure why that was needed, but I had found a post that suggested it (don't recall where now, sorry), tried it, and sure enough it solved my problem with very similar symptoms:

    Instead of using this (which did not work for me): Dism /online /enable-feature /featurename:NetFX3 /All /Source:R:\sources\sxs

    I used this, which did work for me: dism /online /add-package /packagepath:R:\sources\sxs\microsoft-windows-netfx3-ondemand-package.cab

    Where R is the drive letter for my Blu-Ray/DVD-ROM drive. Prior to finding the solution, I had tried many variants on the command, which all failed, because Windows couldn't find the source file. I believe the key difference is inclusion of the filename, not the other differences from the command above.


    Colin



    lunes, 22 de enero de 2018 19:41
  • Is the source correct?

    DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:"d:\sources\sxs"

    lunes, 22 de enero de 2018 19:54
  • The "Add-WindowsCapability" command worked for me.

    Thank you :-)


    Stephane

    lunes, 5 de febrero de 2018 0:24
  • Hi,

    I got an answer that worked from another post

    Dism.exe /online /enable-feature /featurename:NetFX3 /source:C:\ /LimitAccess

    Copy first the CAB files from media locally to the root of C:\ drive and 100% success!

    miércoles, 14 de febrero de 2018 17:17
  • You may receive this error when trying to install DotNet (.net) on Windows 10 and you are using a WSUS server. This error may occur of the .net installer is not approved in WSUS.

    As a temporary workaround, change the registry key “UseWUServer” to 0. It is located at:

    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU

    After the registry change, restart the Windows Update service. You should be able to install .net at this time. Once done you should change this key back to its original value (or wait and allow Group Policy to do it for you.)

    Source => https://www.westechs.com/error-0x800f0954-when-installing-dot-net-on-windows-10/

    • Propuesto como respuesta DGooose lunes, 19 de marzo de 2018 20:04
    jueves, 15 de febrero de 2018 10:02
  • I solve the problem this way. Thank you.

    Thanks

    jueves, 22 de febrero de 2018 7:38
  • You sir have saved me.

    Ive been having this problem for wel over a year.

    i salute you

    lunes, 26 de febrero de 2018 8:29
  • You Sir, are a life saver. This is definitely the perfect fix for me.

    Thank you.

    martes, 6 de marzo de 2018 20:05
  • great thanks a lot....
    miércoles, 7 de marzo de 2018 16:26
  • Here's what worked for me. I saw something about CBS in the dism log so I cleaned up CBS logs.

    net stop trustedinstaller

    Delete all files from C:\Windows\Logs\CBS

    net start trustedinstaller

    Then I ran Dism.exe /online /enable-feature /featurename:NetFX3 /source:C:\

    I had already copied the sxs files to the root of C: based on someone else's post here, but it probably would work with the source in other locations.

    Thanks everyone.

    • Propuesto como respuesta Jamieweeman martes, 16 de octubre de 2018 8:13
    viernes, 9 de marzo de 2018 15:32
  • That registry worked for me too! Thanks for the fix.

    Thanks,

    Joe B

    lunes, 12 de marzo de 2018 15:03
  • This combined with the PS command worked for me :)
    jueves, 15 de marzo de 2018 16:56
  • Thank you so much!!!  This solved the issue for me! 
    viernes, 16 de marzo de 2018 16:36
  • You may receive this error when trying to install DotNet (.net) on Windows 10 and you are using a WSUS server. This error may occur of the .net installer is not approved in WSUS.

    As a temporary workaround, change the registry key “UseWUServer” to 0. It is located at:

    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU

    After the registry change, restart the Windows Update service. You should be able to install .net at this time. Once done you should change this key back to its original value (or wait and allow Group Policy to do it for you.)

    Source => https://www.westechs.com/error-0x800f0954-when-installing-dot-net-on-windows-10/

    this works for me to turn on .net framework 2&3 on Windows10 64bit, thanks.
    • Propuesto como respuesta goonerwhelan miércoles, 9 de mayo de 2018 14:22
    jueves, 29 de marzo de 2018 5:32
  • Perfect. thanks. worked
    jueves, 29 de marzo de 2018 9:32
  • Thanks.

    <snip

    Here's what worked for me. I saw something about CBS in the dism log so I cleaned up CBS logs.

    net stop trustedinstaller

    Delete all files from C:\Windows\Logs\CBS

    net start trustedinstaller

    Then I ran Dism.exe /online /enable-feature /featurename:NetFX3 /source:C:\

    I had already copied the sxs files to the root of C: based on someone else's post here, but it probably would work with the source in other locations.

    </snip>

    This worked for me as well.


    martes, 3 de abril de 2018 5:23
  • Hi,

    I got an answer that worked from another post

    Dism.exe /online /enable-feature /featurename:NetFX3 /source:C:\ /LimitAccess

    Copy first the CAB files from media locally to the root of C:\ drive and 100% success!

    i had to copy it to c:/temp or any other folder, because trying to access c: directly was giving me an error, even running cmd as administrator. 
    miércoles, 4 de abril de 2018 19:57
  • You may receive this error when trying to install DotNet (.net) on Windows 10 and you are using a WSUS server. This error may occur of the .net installer is not approved in WSUS.

    As a temporary workaround, change the registry key “UseWUServer” to 0. It is located at:

    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU

    After the registry change, restart the Windows Update service. You should be able to install .net at this time. Once done you should change this key back to its original value (or wait and allow Group Policy to do it for you.)

    Source => https://www.westechs.com/error-0x800f0954-when-installing-dot-net-on-windows-10/

    I tried everything above, and this finally fixed my issue!

    Thanks.

    viernes, 4 de mayo de 2018 12:11
  • You may receive this error when trying to install DotNet (.net) on Windows 10 and you are using a WSUS server. This error may occur of the .net installer is not approved in WSUS.

    As a temporary workaround, change the registry key “UseWUServer” to 0. It is located at:

    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU

    After the registry change, restart the Windows Update service. You should be able to install .net at this time. Once done you should change this key back to its original value (or wait and allow Group Policy to do it for you.)

    Source => https://www.westechs.com/error-0x800f0954-when-installing-dot-net-on-windows-10/

    Good job!
    Thankssssssssssssssssssssssssssssssss
    martes, 8 de mayo de 2018 10:30
  • Like other people trying to get this resolved, I tried the registry change and it worked - THANKYOU!
    miércoles, 9 de mayo de 2018 14:23
  • Thanks Sir... this works for me and my team mates... Windows10 64bit, 
    jueves, 10 de mayo de 2018 16:34
  • One thing I have noticed - If you have the window open that says installation failed when trying to add it through "Turn Windows features on and off" and you try to run the scripts, they will still give the 0x800f0954 error. Closing that window and then rerunning the script worked fine. Guessing it was locking a file that was needed.
    sábado, 26 de mayo de 2018 11:26
  • Thank you @GranteStateColin for this! I kept running the PowerShell commands above and it kept erroring out for me, so I finally came across your fix with using the full name of the source file and it worked! Yaaaaay!  If only I could get those 4 hours of my life back.

    -Jessica


    jueves, 21 de junio de 2018 18:35
  • Absolutely perfect, had tried everything else but only this worked for me.

    Thanks

    jueves, 5 de julio de 2018 12:41
  • This solution solve my problem. Thanks a lot!
    miércoles, 11 de julio de 2018 15:40
  • Your powershell command worked for me too.

    Thanks

    miércoles, 18 de julio de 2018 19:14
  • Thanks so much. This and the PowerShell combined worked for me!
    miércoles, 25 de julio de 2018 21:32
  • You may receive this error when trying to install DotNet (.net) on Windows 10 and you are using a WSUS server. This error may occur of the .net installer is not approved in WSUS.

    As a temporary workaround, change the registry key “UseWUServer” to 0. It is located at:

    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU

    After the registry change, restart the Windows Update service. You should be able to install .net at this time. Once done you should change this key back to its original value (or wait and allow Group Policy to do it for you.)

    Source => https://www.westechs.com/error-0x800f0954-when-installing-dot-net-on-windows-10/


    worked, thanks.
    viernes, 17 de agosto de 2018 9:24
  • Thank you!! Works 100%
    viernes, 17 de agosto de 2018 13:38
  • Thank you.
    jueves, 23 de agosto de 2018 8:21
  • Thank you Flavio!

    Great solution!

    miércoles, 5 de septiembre de 2018 8:38
  • MS, why do you have to make this so difficult?
    viernes, 21 de septiembre de 2018 19:52
  • Thanks a million.

    Worked for me. Disabling WSUS update policy allowed me to download the .net 3.5 software.


    A Wright

    jueves, 27 de septiembre de 2018 8:21
  • I got the same problem when I tried to add .NET 3.5 by go to "Turn Windows features on or off", got Error code 0x800F0954. Tried run 

    DISM.EXE /Online /Add-Capability /CapabilityName:NetFx3~~~~

    Still the same error, now it is possible to read error log in C:\Windows\Logs\DISM\dism.log:

    xxxx, Info                  DISM   DISM Package Manager: PID=12956 TID=12296 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine
    xxxx, Error                 DISM   DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=800F0954

    Go to C:\Windows\Logs\CBS\CBS.log, found 

    xxxx, Info                  CBS    DWLD:Failed to do Windows update search [HRESULT = 0x800f0954 - CBS_E_INVALID_WINDOWS_UPDATE_COUNT_WSUS]
    xxxx, Info                  CBS    FC:   WindowsUpdateDownloadFromUUP returns. [0x800F0954]
    Now search for "CBS_E_INVALID_WINDOWS_UPDATE_COUNT_WSUS" will lead to solution that change  "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU the key UseWUServer to 0".

    jueves, 27 de septiembre de 2018 14:07
  • Brilliant, this worked for me. Thanks.
    martes, 9 de octubre de 2018 22:40
  • Perfect! Thank you I solve the problem.
    jueves, 11 de octubre de 2018 14:28
  • This worked for me.
    martes, 16 de octubre de 2018 8:13
  • Worked Well for me ! Thanks !
    miércoles, 17 de octubre de 2018 12:21
  • I had the same problem, but with optional feature on Windows 10 1809

    Add-WindowsCapability -Online Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0

    the reg key and WU service restart helped.

    Thanks !!

    viernes, 19 de octubre de 2018 19:00
  • Muchas gracias... sirvió... 
    martes, 23 de octubre de 2018 16:36
  • Really works. Thanks.
    martes, 23 de octubre de 2018 17:03
  • For me, the solution was to use the full name of the source file, instead of just the path. Not sure why that was needed, but I had found a post that suggested it (don't recall where now, sorry), tried it, and sure enough it solved my problem with very similar symptoms:

    Instead of using this (which did not work for me): Dism /online /enable-feature /featurename:NetFX3 /All /Source:R:\sources\sxs

    I used this, which did work for me: dism /online /add-package /packagepath:R:\sources\sxs\microsoft-windows-netfx3-ondemand-package.cab

    Where R is the drive letter for my Blu-Ray/DVD-ROM drive. Prior to finding the solution, I had tried many variants on the command, which all failed, because Windows couldn't find the source file. I believe the key difference is inclusion of the filename, not the other differences from the command above.


    Colin



    Using the full path and filename also worked for me.
    miércoles, 14 de noviembre de 2018 20:32
  • Thanks. the changing of registry solved my issue.
    viernes, 7 de diciembre de 2018 16:57
  • Thanks for the workaround by disabling WSUS. I've inherited a legacy environment and I'm building myself a Windows 10 VM so I don't have to touch their existing systems. Wondered why I couldn't install .NET v3.5 which I need for vSphere. Saved me a lot of hassle!
    miércoles, 19 de diciembre de 2018 14:05
  • thank you a lot, it's the only one working for my so far.
    viernes, 28 de diciembre de 2018 10:24
  • Worked perfectly for me Thank you so much for help.
    jueves, 3 de enero de 2019 9:33
  • Worked for me. Thanks
    viernes, 4 de enero de 2019 3:54
  • This worked for me, thank you very much :)
    martes, 8 de enero de 2019 15:35
  • I salute you too. This worked. Months trying to figure it out. The error is very misleading. It was in fact WSUS. THANK YOU
    jueves, 10 de enero de 2019 17:05
  • You may receive this error when trying to install DotNet (.net) on Windows 10 and you are using a WSUS server. This error may occur of the .net installer is not approved in WSUS.

    As a temporary workaround, change the registry key “UseWUServer” to 0. It is located at:

    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU

    After the registry change, restart the Windows Update service. You should be able to install .net at this time. Once done you should change this key back to its original value (or wait and allow Group Policy to do it for you.)

    Source => https://www.westechs.com/error-0x800f0954-when-installing-dot-net-on-windows-10/

    This worked, thanks so much!
    miércoles, 16 de enero de 2019 16:41
  • You may receive this error when trying to install DotNet (.net) on Windows 10 and you are using a WSUS server. This error may occur of the .net installer is not approved in WSUS.

    As a temporary workaround, change the registry key “UseWUServer” to 0. It is located at:

    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU

    After the registry change, restart the Windows Update service. You should be able to install .net at this time. Once done you should change this key back to its original value (or wait and allow Group Policy to do it for you.)

    Source => https://www.westechs.com/error-0x800f0954-when-installing-dot-net-on-windows-10/

    Helped me too!! Yipee!!
    sábado, 19 de enero de 2019 15:31
  • worked for me
    lunes, 21 de enero de 2019 12:17
  • Yes, also worked for me. Thank you.
    viernes, 25 de enero de 2019 10:08
  • I found another solution that may be easier for some (a GUI solution, rather than a PS solution) and works for installing all Windows components, not just the .NET Framework: IF you run into this on a computer getting updates through WSUS, instead of directly from MS, then:

    change the registry key “UseWUServer” to 0

    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU

    This will let you install any of the Windows Optional features from the GUI.

    After you're done, be sure to run gpupdate /force or manually restore that key to 1 after you have finished your installs so you can resume getting updates from the WSUS server.


    Colin

    viernes, 25 de enero de 2019 15:52
  • Thanks so much!  This worked for me.  I'm running W10 1809 x64.
    lunes, 28 de enero de 2019 15:35
  • Thank you, this worked for me!!!

    lunes, 25 de febrero de 2019 22:39
  • Legend!!! That worked, I can now do my job!!
    lunes, 4 de marzo de 2019 0:51
  • I am trying to install Skylight by Sierra Wireless on a new Dell Rugged Extreme Tablet with M$ Win 10, so I can use the WWAN card & SIM I installed, but I cannot get it to work. I read through other posts about this error, but I cannot get their resolutions to work. I've changed the Registry Key for UseWUServer to "0". Where can I get the necessary .NET 3.5 setup files without the DISM (I don't have access to it)?
    miércoles, 20 de marzo de 2019 15:44
  • Ok, I'm a newbie here. I just read that I could try running...

    I deleted all files in C:\Windows\Logs\CBS

    I ran Windows PowerShell as admin

    PS C:\Users\JD_S>net start trustedinstaller

    PS C:\Users\JD_S>Dism.exe /online /enable-feature /featurename:NetFX /source:C:\

    The response was...

    Deployment Image Servicing and Management tool

    Version: 10.0.17763.1

    Image Version: 10.0.17763.379

    Enabling feature(s)

    [==================100.0%===============]

    Error: 0x800f0950

    DISM failed. No operation was performed.

    For more information, review the log file.

    The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

    So, apparently, I have access to DISM, but I do not have access to the CAB files referred to above. I guess I should have asked that instead. Anyone know where I can find and download them to drop onto my C:\ root drive? 

    miércoles, 20 de marzo de 2019 16:23
  • This was it, even with it in the allowed list on the WSUS server it still would not work had to bypass it.
    viernes, 22 de marzo de 2019 18:21
  • This worked for me after many other methods failed. Thanks!

    viernes, 22 de marzo de 2019 18:25
  • Thank you!!   Thank you!!   Thank you!!

    Such a simple, intuitive solution. This should win an award.

    Trashed a computer trying to add .netFramework3.5 back after a user removed this feature. Tried all of the other DISM BS, which worked for previous builds, but not 1809. Wish I would have found this a lot sooner. Now the trick is to remember it for the next time:)

    viernes, 29 de marzo de 2019 13:42
  • Thank you sir!
    martes, 9 de abril de 2019 18:04
  • This did the trick for me. Thanks!
    jueves, 18 de abril de 2019 12:31
  • This was it. Worked like a charm. Many thanks!!
    miércoles, 1 de mayo de 2019 20:56
  • This solution worked for me as well - thanks for this
    viernes, 3 de mayo de 2019 10:12
  • Thank you changing the registry as you advised I was able to install it using the PowerShell command

    Add-WindowsCapability –Online -Name NetFx3~~~~ –Source D:\sources\sxs

    viernes, 3 de mayo de 2019 18:57
  • Reg hack worked on my brand new Dell lappy..thanks much!
    lunes, 6 de mayo de 2019 16:56
  • man, you saved my life.
    miércoles, 29 de mayo de 2019 19:30
  • Legend

    This solved my issue

    miércoles, 17 de julio de 2019 6:45
  • Thank you, Flafio!

    That's the perfect solution for me and my friends.

    In addition, it solved some other problems with updates.

    martes, 6 de agosto de 2019 9:25
  • Even after more than 1 year, the Flavio's suggestion saved me! THX
    • Editado MCosta68 martes, 6 de agosto de 2019 11:07
    martes, 6 de agosto de 2019 11:04
  • This solved my problem installing .Net 2.0
    martes, 6 de agosto de 2019 14:48
  • I had similar issue downloading .netFX3 and went through many online web pages for a solution. The one webpage below solved the issue.

    https://www.prajwaldesai.com/rsat-tools-installation-error-0x800f0954/

    viernes, 23 de agosto de 2019 10:53
  • This guy!!! I tried everything before, but your fix did the trick!! Thanks!
    viernes, 23 de agosto de 2019 17:10