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,169 questions
0 comments No comments
{count} votes

7 answers

Sort by: Newest
  1. Junk 430 101 Reputation points
    2021-10-16T14:21:29.09+00:00
    0 comments No comments

  2. Usman Siddiqui1 6 Reputation points
    2021-10-07T01:31:47.603+00:00

    I mean to say that this server is configured to connect to a WSUS server to get updates. Server itself is not running WSUS role. My objective is to install .Net Framework feature on it without bypassing wsus server which is the workaround suggested in the link LimitlessTechnology-2700 shared.


  3. Dave Patrick 426.1K 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

  4. 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

  5. Limitless Technology 39,366 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