使用客户端访问许可证 (CAL) 许可 RDS 部署License your RDS deployment with client access licenses (CALs)

适用于:Windows Server(半年频道)、Windows Server 2019、Windows Server 2016Applies to: Windows Server (Semi-Annual Channel), Windows Server 2019, Windows Server 2016

连接到远程桌面会话主机的每个用户和设备需要客户端访问许可证 (CAL)。Each user and device that connects to a Remote Desktop Session host needs a client access licenses (CAL). 使用 RD 授权来安装、颁发和跟踪 RDS CAL。You use RD Licensing to install, issue, and track RDS CALs.

当用户或设备连接到 RD 会话主机服务器时,RD 会话主机服务器将确定是否需要 RDS CAL。When a user or a device connects to an RD Session Host server, the RD Session Host server determines if an RDS CAL is needed. 然后,RD 会话主机服务器从远程桌面许可证服务器请求 RDS CAL。The RD Session Host server then requests an RDS CAL from the Remote Desktop license server. 如果可从许可证服务器获取相应的 RDS CAL,则会将 RDS CAL 颁发给客户端,并且客户端能够连接到 RD 会话主机服务器,并从此处连接到桌面或它们正在尝试使用的应用。If an appropriate RDS CAL is available from a license server, the RDS CAL is issued to the client, and the client is able to connect to the RD Session Host server and from there to the desktop or apps they're trying to use.

虽然在一个授权宽限期内不需要任何许可证服务器,但在此宽限期过后,客户端必须先具有由许可证服务器颁发的有效 RDS CAL,然后才能登录到 RD 会话主机服务器。Although there is a licensing grace period during which no license server is required, after the grace period ends, clients must have a valid RDS CAL issued by a license server before they can log on to an RD Session Host server.

使用以下信息来了解客户端访问授权在远程桌面服务中的工作方式,以及部署和管理你的许可证:Use the following information to learn about how client access licensing works in Remote Desktop Services and to deploy and manage your licenses:

了解 CAL 模型Understanding the CALs model

有两种类型的 CAL:There are two types of CALs:

  • RDS - 每设备 CALRDS Per Device CALs
  • RDS - 每用户 CALRDS Per User CALs

下表概述了两种类型的 CAL 之间的差异:The following table outlines the differences between the two types of CALs:

每设备Per Device 每用户Per User
CAL 以物理方式分配给每个设备。CALs are physically assigned to each device. CAL 分配给 Active Directory 中的用户。CALs are assigned to a user in Active Directory.
CAL 由许可证服务器跟踪。CALs are tracked by the license server. CAL 由许可证服务器跟踪。CALs are tracked by the license server.
无论 Active Directory 成员身份为何,都可以跟踪 CAL。CALs can be tracked regardless of Active Directory membership. 不能在工作组中跟踪 CAL。CALs cannot be tracked within a workgroup.
最多可以撤消 20% 的 CAL。You can revoke up to 20% of CALs. 无法撤消任何 CAL。You cannot revoke any CALs.
临时 CAL 的有效期为 52–89 天。Temporary CALs are valid for 52–89 days. 临时 CAL 不可用。Temporary CALs are not available.
不能过度分配 CAL。CALs cannot be overallocated. 可以过度分配 CAL(违反远程桌面授权协议)。CALs can be overallocated (in breach of the Remote Desktop licensing agreement).

如果使用每设备模型,则在设备首次连接到 RD 会话主机时,会颁发临时许可证。When you use the Per Device model, a temporary license is issued the first time a device connects to the RD Session Host. 该设备第二次连接时,只要激活许可证服务器,并且存在可用 CAL,许可证服务器就会颁发永久的 RDS - 每设备 CAL。The second time that device connects, as long as the license server is activated and there are available CALs, the license server issues a permanent RDS Per Device CAL.

如果使用每用户模型,则不会强制执行授权,并向每个用户授予从任意数量的设备连接到 RD 会话主机的许可证。When you use the Per User model, licensing is not enforced and each user is granted a license to connect to an RD Session Host from any number of devices. 许可证服务器颁发来自可用的 CAL 池或过度使用的 CAL 池的许可证。The license server issues licenses from the available CAL pool or the Over-Used CAL pool. 你必须负责确保你的所有用户具有有效的许可证且没有过度使用的 CAL;否则,你违反了远程桌面服务许可条款。It's your responsibility to ensure that all of your users have a valid license and zero Over-Used CALs—otherwise, you're in violation of the Remote Desktop Services license terms.

若要确保遵守远程桌面服务许可条款,请跟踪组织中使用的 RDS - 每用户 CAL 数,并确保有足够的每用户 CAL 安装在所有用户的许可证服务器上。To ensure you are in compliance with the Remote Destkop Services license terms, track the number of RDS Per User CALs used in your organization and be sure to have a enough Per User CALs installed on the license server for all of your users.

可以使用远程桌面授权管理器跟踪并生成有关 RDS - 每用户 CAL 的报告。You can use the Remote Desktop Licensing Manager to track and generate reports on RDS Per User CALs.

有关 CAL 版本的注释Note about CAL versions

由用户或设备使用的 CAL 必须对应于用户或设备连接到的 Windows Server 的版本。The CAL used by users or devices must correspond to the version of Windows Server that the user or device is connecting to. 不能使用较旧的 CAL 访问更高版本的 Windows Server,但可以使用较新的 CAL 访问早期版本的 Windows Server。You can't use older CALs to access newer Windows Server versions, but you can use newer CALs to access earlier versions of Windows Server.

下表显示了在 RD 会话主机和 RD 虚拟化主机上兼容的 CAL。The following table shows the CALs that are compatible on RD Session Hosts and RD Virtualization Hosts.

2008 R2 及更早的 CAL2008 R2 and earlier CAL 2012 CAL2012 CAL 2016 CAL2016 CAL 2019 CAL2019 CAL
2008、2008 R2 许可证服务器2008, 2008 R2 license server Yes No No No
2012 许可证服务器2012 license server Yes Yes No No
2012 R2 许可证服务器2012 R2 license server Yes Yes No No
2016 许可证服务器2016 license server Yes Yes Yes No
2019 许可证服务器2019 license server Yes Yes Yes Yes

任何 RDS 许可证服务器都可以托管来自所有以前版本的远程桌面服务和当前版本的远程桌面服务的许可证。Any RDS license server can host licenses from all previous versions of Remote Desktop Services and the current version of Remote Desktop Services. 例如,Windows Server 2016 RDS 许可证服务器可以托管来自所有以前版本的 RDS 的许可证,而 Windows Server 2012 R2 RDS 许可证服务器最多只能托管来自 Windows Server 2012 R2 的许可证。For example, a Windows Server 2016 RDS license server can host licenses from all previous versions of RDS, while a Windows Server 2012 R2 RDS license server can only host licenses up to Windows Server 2012 R2.