gpt4 book ai didi

powershell - 为 Windows 10 安装 Active Directory 模块 powershell

转载 作者:行者123 更新时间:2023-12-05 04:13:08 27 4
gpt4 key购买 nike

下午好!我只需要在 Windows 10 中添加模块 rsat Active Directory 模块 powershell执行命令: 启用-WindowsOptionalFeature -Online -FeatureName RSATClient-Roles-AD-Powershell但是错误:

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,则安装所有组件。如何解决问题?

最佳答案

这些说明适用于 Windows 7; Windows 10 的过程可能与此类似。

  1. 首先,找到并安装适用于您的 Windows 版本的远程服务器管理工​​具 (RSAT) 更新包。 I found this easily .

  2. 然后,您需要在安装后启用该功能。

    1. 转到控制面板 -> 程序和功能 -> 打开或关闭 Windows 功能(或者直接从命令行打开它:%windir%\System32\OptionalFeatures.exe<
    2. 找到远程服务器管理工​​具 -> 角色管理工具 -> AD DS 和 AD LDS 工具 -> Windows PowerShell 的 Active Directory 模块,并将其打开

      Windows Features

    3. 您可能需要重新启动计算机。我不记得了。

  3. 最后导入模块,即可正常使用。

关于powershell - 为 Windows 10 安装 Active Directory 模块 powershell,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38345129/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com