I am running Windows 10 Pro 1809
I wish to install active directory on the computer; however, when I attempt to use powershell command:
Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability -Online
I get the following error:
Add-WindowsCapability : Add-WindowsCapability failed. Error code = 0x800f0950
At line:1 char:45
+ ... WindowsCapability -Name RSAT* -Online | Add-WindowsCapability -Online
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Add-WindowsCapability], COMException
+ FullyQualifiedErrorId : Microsoft.Dism.Commands.AddWindowsCapabilityCommand
It is also worth noting the command:
Get-WindowsCapability -Name RSAT* -Online | Select-Object -Property DisplayName, State
Displays the following:
DisplayName State
----------- -----
RSAT: Active Directory Domain Services and Lightweight Directory Services Tools NotPresent
RSAT: BitLocker Drive Encryption Administration Utilities NotPresent
RSAT: Active Directory Certificate Services Tools NotPresent
RSAT: DHCP Server Tools NotPresent
RSAT: DNS Server Tools NotPresent
RSAT: Failover Clustering Tools NotPresent
RSAT: File Services Tools NotPresent
RSAT: Group Policy Management Tools NotPresent
RSAT: IP Address Management (IPAM) Client NotPresent
RSAT: Data Center Bridging LLDP Tools NotPresent
RSAT: Network Controller Management Tools NotPresent
RSAT: Network Load Balancing Tools NotPresent
RSAT: Remote Access Management Tools NotPresent
RSAT: Remote Desktop Services Tools NotPresent
RSAT: Server Manager NotPresent
RSAT: Shielded VM Tools NotPresent
RSAT: Storage Migration Service Management Tools NotPresent
RSAT: Storage Replica Module for Windows PowerShell NotPresent
RSAT: System Insights Module for Windows PowerShell NotPresent
RSAT: Volume Activation Tools NotPresent
RSAT: Windows Server Update Services Tools NotPresent