我运行的是Windows 10专业版1809
我希望在计算机上安装active directory;但是,当我尝试使用powershell命令时:
Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability -Online我得到以下错误:
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同样值得注意的是该命令:
Get-WindowsCapability -Name RSAT* -Online | Select-Object -Property DisplayName, State显示以下内容:
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发布于 2019-06-07 23:49:13
试试这个:
使用管理员权限打开Powershell,并添加以下内容:
将Windows Update服务器密钥设置为0
Set-ItemProperty -Path HKLM:SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU -Name UseWUServer -Value 0重新启动Windows Update Service
Restart-Service -Name wuauserv -Force获取RSAT工具
Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability -Online将Windows Update服务器密钥设置为%1
Set-ItemProperty -Path HKLM:SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU -Name UseWUServer -Value 1重新启动Windows Update Service
Restart-Service -Name wuauserv -Force完成
发布于 2018-12-25 16:12:09
显然,错误代码0x800f0950意味着“没有足够的源码来安装某些东西”,这可能是因为一个或多个RSAT工具需要安装额外的源码的.NET 3.5。请检查您是否已安装.NET 3.5,如果未安装,请安装它,然后再次运行RSAT安装。
https://stackoverflow.com/questions/53917787
复制相似问题