Windows server 2019 - Cannot install features

Usman Siddiqui1 6 Reputation points
2021-10-01T22:46:39.71+00:00

I am getting below error while trying to add either WAS-NET-Environment or NET-HTTP-Activation features in windows server 2019. I have to install these features using powershell since I have to do it on number of servers? Any ideas?

Add-WindowsFeature : The request to add or remove features on the specified server failed.
Installation of one or more roles, role services, or features failed. Error: 0x800f0954
At line:1 char:1

  • Add-WindowsFeature WAS-NET-Environment
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • CategoryInfo : InvalidOperation: (@{Vhd=; Credent...Name=localhost}:PSObject) [Install-WindowsFeature],
    Exception
  • FullyQualifiedErrorId : DISMAPI_Error__Failed_To_Enable_Updates,Microsoft.Windows.ServerManager.Commands.AddWind
    owsFeatureCommand
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,084 questions
0 comments No comments
{count} votes

7 answers

Sort by: Most helpful
  1. Dave Patrick 426K Reputation points MVP
    2021-10-01T23:06:11.473+00:00
    1 person found this answer helpful.

  2. Limitless Technology 39,336 Reputation points
    2021-10-05T10:32:41.12+00:00

    Hello,

    Thank you for your question.

    f the error 0x800f0954 occurs installing optional Windows features, it may be because the system is unable to access the Windows Update server. This is especially true in case of domain-joined computers which is configured to downloads updates from a WSUS server. It could also be possible that your computer was once a part or a corporate or domain network and the group policy setting is still in place.

    We have a similar subject with a problem similar to this, I recommend that you consult it to better understand how to solve it, go to it on the link below:

    https://learn.microsoft.com/en-us/answers/questions/112308/error-code-0x800f0954-on-windows-10.html

    ---------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept as answer--

    1 person found this answer helpful.
    0 comments No comments

  3. Usman Siddiqui1 6 Reputation points
    2021-10-06T23:51:57.027+00:00

    Server is reinstalled but still I am seeing same error. WSUS server is configured on this server via GPO and this server can reach it. I can see patches can get installed. What could I do to install .Net framework 3.5 with wsus server configured?

    1 person found this answer helpful.
    0 comments No comments

  4. Dave Patrick 426K Reputation points MVP
    2021-10-02T01:08:22.263+00:00

    Still not much to go on but if it were me I would not spend much time troubleshooting. I'd clean install it, patch fully and go at it again.

    --please don't forget to upvote and Accept as answer if the reply is helpful--


  5. Dave Patrick 426K Reputation points MVP
    2021-10-07T00:02:45.453+00:00

    May want to clean install it and follow along here.
    https://www.prajwaldesai.com/install-configure-wsus-on-windows-server-2019/

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments