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: Most helpful
  1. 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.


  2. Junk 430 101 Reputation points
    2021-10-16T14:21:29.09+00:00
    0 comments No comments