none
Unable to install windows feature RRS feed

  • Question

  • Hello,

    Below error observed while installing windows feature

    PS C:\> Install-WindowsFeature Web-Asp-Net45,Web-Mgmt-Service,Web-Net-Ext45
    Install-WindowsFeature : The request to add or remove features on the specified server failed.
    Installation of one or more roles, role services, or features failed.
    One or several parent features are disabled so current feature can not be enabled. Error: 0xc004000d
    At line:1 char:1
    + Install-WindowsFeature Web-Asp-Net45,Web-Mgmt-Service,Web-Net-Ext45
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (@{Vhd=; Credent...Name=localhost}:PSObject) [Install-WindowsFeature],
        Exception
        + FullyQualifiedErrorId : DISMAPI_Error__Failed_To_Enable_Updates,Microsoft.Windows.ServerManager.Commands.AddWind
       owsFeatureCommand

    Success Restart Needed Exit Code      Feature Result
    ------- -------------- ---------      --------------
    False   No             Failed         {}

    OS is windows standard 2016 with latest patches


    Regards, Ajit

    Thursday, September 12, 2019 12:04 AM

All replies

  • Might also try from Server Manager Add Roles / Features

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Thursday, September 12, 2019 12:14 AM
  • Hello,

    This has been tried however same error persists.

    PS C:\> Get-WindowsFeature NET-Framework-45-Features

    Display Name                                            Name                       Install State
    ------------                                            ----                       -------------
    [X] .NET Framework 4.6 Features                         NET-Framework-45-Fea...        Installed


    PS C:\> Get-WindowsFeature Web-Asp-Net45

    Display Name                                            Name                       Install State
    ------------                                            ----                       -------------
                [ ] ASP.NET 4.6                             Web-Asp-Net45                  Available


    PS C:\> Get-WindowsFeature Web-Mgmt-Service

    Display Name                                            Name                       Install State
    ------------                                            ----                       -------------
            [ ] Management Service                          Web-Mgmt-Service               Available

    Install state should be installed ?


    Regards, Ajit

    Thursday, September 12, 2019 12:24 AM
  • More ideas here.

    https://stackoverflow.com/questions/52002601/error-while-enabling-iisnet45

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Thursday, September 12, 2019 1:36 AM