安装适用于windows 10的Active Directory模块powershell
下午好! 我只需要在windows 10中添加模块rsat Active Directory模块powershell 执行命令: 启用Windows OptionalFeature-联机-功能名称RSATClient角色AD Powershell 但错误是:安装适用于windows 10的Active Directory模块powershell,powershell,powershell-module,Powershell,Powershell Module,下午好! 我只需要在windows 10中添加模块rsat Active Directory模块powershell 执行命令: 启用Windows OptionalFeature-联机-功能名称RSATClient角色AD Powershell 但错误是: Enable-WindowsOptionalFeature : Не удается прочитать параметр реестра.(Can not read the registry entry.) строка:1 знак:1
Enable-WindowsOptionalFeature : Не удается прочитать параметр реестра.(Can not read the registry entry.)
строка:1 знак:1
+ Enable-WindowsOptionalFeature -Online -FeatureName RSATClient-Roles-A ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Enable-WindowsOptionalFeature], COMException
+ FullyQualifiedErrorId : Microsoft.Dism.Commands.EnableWindowsOptionalFeatureCommand
如果要应用参数-All,则安装所有组件。
如何解决问题?在PowerShell脚本的顶部,您只需要包含以下内容
Import-Module activedirectory
假设您已经通过控制面板在Win10机器上安装了RSAT工具。这些说明适用于Windows 7;Windows 10的过程可能类似
%windir%\System32\OptionalFeatures.exe
假设您有俄语windows,您可以尝试在俄语SO:Rsat上提问。