Wednesday 26 September 2018

Windows Server 2016: One or several parent features are disabled so current feature can not be enabled. Error: 0xc004000d

The request to add or remove features on the specified server failed.
One or several parent features are disabled so current feature can not be enabled. Error: 0xc004000d

To resolve:

Open an elevated PowerShell prompt and enter the following to check if the .NET Framework Feature is installed:

Get-WindowsFeature Net-Framework-Features

Then enter:

Get-WindowsFeature Net-Framework-Features | Remove-WindowsFeature

Finally repeat the first command to check the feature has been removed:

Get-WindowsFeature Net-Framework-Features

Restart the server.

Restart-Computer

Connect the Windows Server 2016 ISO to the server.

If this is an AWS EC2 instance then snapshot and attach the Windows Server 2016 installation media following the instructions here:

https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/windows-optional-components.html

Open an elevated command or PowerShell prompt and enter:

dism /Online /Enable-Feature /FeatureName:NetFX3 /All /Source:D:\Sources\SxS\ /LimitAccess

where D: is the drive letter of the Windows Server 2016 installation media.

4 comments: