远程服务器管理工具

本主题支持适用于 Windows 10 的远程服务器管理工具。

Important

从 Windows 10 2018 年 10 月更新开始,RSAT 作为一组“按需功能”包含在 Windows 10 中。 有关安装说明,请参阅下面的“何时使用何种 RSAT 版本”。

RSAT 允许 IT 管理员从 Windows 10 PC 管理 Windows Server 角色和功能。

远程服务器管理工具包括服务器管理器、Microsoft 管理控制台 (mmc) 管理单元、控制台、Windows PowerShell cmdlet 和提供程序,以及一些用于管理 Windows Server 上运行的角色和功能的命令行工具。

远程服务器管理工具包括 Windows PowerShell cmdlet 模块,它们可用于管理在远程服务器上运行的角色和功能。 虽然 Windows Server 2016 上默认启用了 Windows PowerShell 远程管理,但 Windows 10 上并未默认启用它。 若要针对远程服务器运行作为远程服务器管理工具一部分的 cmdlet,请在安装远程服务器管理工具后,在 Windows 客户端计算机上以提升的用户权限(即以管理员身份运行)打开 Windows PowerShell 会话,然后在其中运行 Enable-PSremoting。

适用于 Windows 10 的远程服务器管理工具

使用适用于 Windows 10 的远程服务器管理工具管理运行 Windows Server 2019、Windows Server 2016、Windows Server 2012 R2(在有限的情况下,Windows Server 2012 或 Windows Server 2008 R2)的计算机上的特定技术。

适用于 Windows 10 的远程服务器管理工具包括对运行服务器核心安装选项或 Windows Server 2016 和 Windows Server 2012 R2 的最小服务器界面配置(在有限情况下,Windows Server 2012 的服务器核心安装选项)的计算机的远程管理支持。 不过,适用于 Windows 10 的远程服务器管理工具不能在任何版本的 Windows Server 操作系统上安装。

此版本中的可用工具

有关适用于 Windows 10 的远程服务器管理工具中提供的工具列表,请参阅适用于 Windows 操作系统的远程服务器管理工具 (RSAT) 中的表。

System requirements

仅可在运行 Windows 10 的计算机上安装适用于 Windows 10 的远程服务器管理工具。 远程服务器管理工具无法安装在运行 Windows RT 8.1 的计算机上或其他片上系统设备上。

适用于 Windows 10 的远程服务器管理工具可在基于 x86 和基于 x64 版本的 Windows 10 上运行。

Important

适用于 Windows 10 的远程服务器管理工具不应该在运行 Windows 8.1、Windows 8、Windows Server 2008 R2、Windows Server 2008、Windows Server 2003 或 Windows 2000 Server 管理工具包的计算机上安装。 删除计算机中所有旧版本的管理工具包或者远程服务器管理工具(包括较早的预发布版本和不同语言或区域设置的工具版本),然后安装适用于 Windows 10 的远程服务器管理工具。

若要使用此版本的服务器管理器来访问和管理运行 Windows Server 2012 R2、Windows Server 2012 或 Windows Server 2008 R2 的远程服务器,则必须安装一些更新,以便可通过使用服务器管理器管理旧版本的 Windows Server 操作系统。 有关如何通过使用适用于 Windows 10 的远程服务器管理工具中的服务器管理器为管理准备 Windows Server 2012 R2、Windows Server 2012 和 Windows Server 2008 R2 的详细信息,请参阅使用服务器管理器管理多台远程服务器。

必须在远程服务器上启用 Windows PowerShell 和服务器管理器远程管理,以便使用适用于 Windows 10 的远程服务器管理工具中的工具管理它们。 默认情况下,在运行 Windows Server 2016、Windows Server 2012 R2 和 Windows Server 2012 的服务器上启用远程管理。 有关如何在已禁用远程管理的情况下启用它的详细信息,请参阅 使用服务器管理器管理多台远程服务器。

安装、卸载和关闭/启用 RSAT 工具

使用按需功能 (FoD) 在 Windows 10 2018 年 10 月更新或更高版本上安装特定的 RSAT 工具。

从 Windows 10 2018 年 10 月更新开始,RSAT 作为一组“按需功能”直接包含在 Windows 10 中。 现在,不用下载 RSAT 包,只需转到“设置”中的“管理可选功能”,然后单击“添加功能”,即可查看可用的 RSAT 工具列表。 选择并安装所需的特定 RSAT 工具。 To see installation progress, click the Back button to view status on the Manage optional features page.

请参阅由“按需功能”提供的 RSAT 工具列表。 In addition to installing via the graphical Settings app, you can also install specific RSAT tools via command line or automation using DISM /Add-Capability.

按需功能的一个好处是,已安装的功能在 Windows 10 版本升级保持不变。

在 Windows 10 2018 年 10 月更新或更高版本(安装 FoD 后)上卸载特定的 RSAT 工具

On Windows 10, open the Settings app, go to Manage optional features, select and uninstall the specific RSAT tools you wish to remove. 请注意,在某些情况下‘需要手动卸载依赖项。 具体来说,如果 RSAT 工具 B 需要 RSAT 工具 A,并且仍旧安装了 RSAT 工具 B,则选择卸载 RSAT 工具 A 将失败。 在这种情况下,请先卸载 RSAT 工具 B,然后卸载 RSAT 工具 A。另请注意,在某些情况下,即使仍安装了该工具,卸载 RSAT 工具也可能会成功。 在这种情况下,重启计算机将完成此工具的移除。

请参阅包含依赖项的 RSAT 工具列表。 In addition to uninstalling via the graphical Settings app, you can also uninstall specific RSAT tools via command line or automation using DISM /Remove-Capability.

何时使用何种 RSAT 版本

如果你的 Windows 10 版本早于 2018 年 10 月更新 (1809),则将无法使用“按需功能”。 你需要下载并安装 RSAT 包。

如上所述,直接从 Windows 10 安装 RSAT FOD:为管理 Windows Server 2019 或早期版本,在 Windows 10 2018 年 10 月更新 (1809) 或更高版本上安装时。

如下所述,下载并安装 WS_1803 RSAT 包:为管理版本 1803 或版本 1709 的 Windows Server,在 Windows 10 2018 年 4 月更新 (1803) 或更早版本上安装时。

如下所述,下载并安装 WS2016 RSAT 包:为管理 Windows Server 2016 或早期版本,在 Windows 10 2018 年 4 月更新 (1803) 或更早版本上安装时。

下载用于安装适用于 Windows 10 远程服务器管理工具的 RSAT 包

从 Microsoft 下载中心下载适用于 Windows 10 的远程服务器管理工具包。 你可以从下载中心网站运行安装程序,或者将下载包保存到本地计算机或共享。

Important

只能在运行 Windows 10 的计算机上安装适用于 Windows 10 的远程服务器管理工具。 远程服务器管理工具无法安装在运行 Windows RT 8.1 的计算机上或其他片上系统设备上。

If you save the download package to a local computer or share, double-click the installer program, WindowsTH-KB2693643-x64.msu or WindowsTH-KB2693643-x86.msu, depending on the architecture of the computer on which you want to install the tools.

当 “Windows 更新独立安装程序” 对话框提示你安装更新时,单击 “是”。

阅读并接受许可条款。 Click I accept.

安装需要几分钟才能完成。

卸载适用于 Windows 10 的远程服务器管理工具(在 RSAT 包安装后)的具体步骤

On the desktop, click Start, click All Apps, click Windows System, and then click Control Panel.

Under Programs, click Uninstall a program.

单击“查看已安装的更新”。

右键单击“Microsoft Windows 的更新(KB2693643)” ,然后单击“卸载” 。

When you are asked if you are sure you want to uninstall the update, click Yes.

S

关闭特定工具(在 RSAT 包安装后)

On the desktop, click Start, click All Apps, click Windows System, and then click Control Panel.

Click Programs, and then in Programs and Features click Turn Windows features on or off.

In the Windows Features dialog box, expand Remote Server Administration Tools, and then expand either Role Administration Tools or Feature Administration Tools.

清除要关闭的工具对应的复选框。

Note

If you turn off Server Manager, the computer must be restarted, and tools that were accessible from the Tools menu of Server Manager must be opened from the Administrative Tools folder.

When you are finished turning off tools that you do not want to use, click OK.

运行远程服务器管理工具

Note

After installing Remote Server Administration Tools for Windows 10, the Administrative Tools folder is displayed on the Start menu. 可以从以下位置访问这些工具。

The Tools menu in the Server Manager console.

控制面板\系统和安全\管理工具。

A shortcut saved to the desktop from the Administrative Tools folder (to do this, right click the Control Panel\System and Security\Administrative Tools link, and then click Create Shortcut).

无法将作为适用于 Windows 10 的远程服务器管理工具的一部分安装的工具用于管理本地客户端计算机。 不管运行什么工具,必须指定一台或多台远程服务器来运行该工具。 Because most tools are integrated with Server Manager, you add remote servers that you want to manage to the Server Manager server pool before managing the server by using the tools in the Tools menu. 有关如何将服务器添加到服务器池并创建服务器的自定义组的详细信息,请参阅 将服务器添加到服务器管理器 和 创建和管理服务器组。

In Remote Server Administration Tools for Windows 10, all GUI-based server management tools, such as mmc snap-ins and dialog boxes, are accessed from the Tools menu of the Server Manager console. 虽然运行适用于 Windows 10 的远程服务器管理工具的计算机运行基于客户端的操作系统,但安装这些工具后,适用于 Windows 10 的远程服务器管理工具中的随附的服务器管理器将在客户端计算机上默认自动打开。 Note that there is no Local Server page in the Server Manager console that runs on a client computer.

在客户端计算机上启动服务器管理器的步骤

On the Start menu, click All Apps, and then click Administrative Tools.

In the Administrative Tools folder, click Server Manager.

Although they are not listed in the Server Manager console Tools menu, Windows PowerShell cmdlets and Command prompt management tools are also installed for roles and features as part of Remote Server Administration Tools. 例如,如果你使用提升的用户权限(以管理员身份运行)打开 Windows PowerShell 会话并运行 cmdlet Get-Command -Module RDManagement,则结果包含一个远程桌面服务 cmdlet 列表。只要 cmdlet 针对的是运行全部或部分远程桌面服务角色的远程服务器,安装远程服务器管理工具后,远程桌面服务 cmdlet 可以在本地计算机上运行。

使用提升的用户权限启动 Windows PowerShell(以管理员身份运行)

On the Start menu, click All Apps, click Windows System, and then click Windows PowerShell.

To run Windows PowerShell as an administrator from the desktop, right-click the Windows PowerShell shortcut, and then click Run as Administrator.

Note

You can also start a Windows PowerShell session that is targeted at a specific server by right-clicking a managed server in a role or group page in Server Manager, and then clicking Windows PowerShell.

Known issues

Issue: RSAT FOD installation fails with error code 0x800f0954

Impact: RSAT FODs on Windows 10 1809 (October 2018 Update) in WSUS/Configuration Manager environments

Resolution: To install FODs on a domain-joined PC which receives updates through WSUS or Configuration Manager, you will need to change a Group Policy setting to enable downloading FODs directly from Windows Update or a local share. 有关如何更改该设置的更多详细信息和说明,请参阅使用 WSUS/SCCM 时,如何使按需功能和语言包可用。

Issue: RSAT FOD installation via Settings app does not show status/progress

Impact: RSAT FODs on Windows 10 1809 (October 2018 Update)

Resolution: To see installation progress, click the Back button to view status on the Manage optional features page.

Issue: RSAT FOD uninstallation via Settings app may fail

Impact: RSAT FODs on Windows 10 1809 (October 2018 Update)

Resolution: In some cases, uninstallation failures are due to the need to manually uninstall dependencies. 具体来说,如果 RSAT 工具 B 需要 RSAT 工具 A,并且仍旧安装了 RSAT 工具 B,则选择卸载 RSAT 工具 A 将失败。 在这种情况下,请先卸载 RSAT 工具 B,然后卸载 RSAT 工具 A。请参阅包含依赖项的 RSAT FOD 列表。

Issue: RSAT FOD uninstallation appears to succeed, but the tool is still installed

Impact: RSAT FODs on Windows 10 1809 (October 2018 Update)

Resolution: Restarting the PC will complete the removal of the tool.

Issue: RSAT missing after Windows 10 upgrade

Impact: Any RSAT .MSU package installation (prior to RSAT FODs) not automatically reinstalled

Resolution: An RSAT installation cannot be persisted across OS upgrades due to the RSAT .MSU being delivered as a Windows Update package. 请在升级 Windows 10 后再次安装 RSAT。 请注意,此限制是我们从 Windows 10 1809 开始迁移到 FOD 的原因之一。 在未来的 Windows 10 版本升级中,已安装的 RSAT FOD 将保持不变。

See Also

适用于 Windows 10 的远程服务器管理工具

适用于 Windows Vista、Windows 7、Windows 8、Windows Server 2008、Windows Server 2008 R2、Windows Server 2012 和 Windows Server 2012 R2 的远程服务器管理工具 (RSAT)