当前位置:网站首页 > 更多 > 玩电脑 > 正文

[玩转系统] 使用 KMS 服务器激活 Windows Server 2016

作者:精品下载站 日期:2024-12-14 22:49:09 浏览:14 分类:玩电脑

使用 KMS 服务器激活 Windows Server 2016


在本文中,我们将考虑部署和配置企业 KMS 服务器的过程,该服务器能够激活新的 Microsoft 服务器平台 Windows Server 2016。有关 KMS 激活的常见问题解答一文中描述的 KMS 激活的所有主要特性也完全适用于 Windows Server 2016。

如果 Windows Server 2016 具有配置的批量激活服务角色,则它本身可以是 KMS 激活服务器(KMS 主机),或者可以在另一台 KMS 服务器上激活(有一些附加要求)。

Windows Server 2016 上的 KMS 服务器安装

如果您的域中没有KMS服务器,则可以在Windows Server 2016上安装实现KMS激活功能的批量激活服务角色。我们不会详细考虑该角色的安装和配置,因为它与Windows Server 2012 R2和2019中的相同。

安装批量激活服务角色就足够了。您可以在服务器管理器或 PowerShell 中执行此操作(更快更简单):

Install-WindowsFeature -Name VolumeActivation -IncludeAllSubFeature -IncludeManagementTools

[玩转系统] 使用 KMS 服务器激活 Windows Server 2016

注意。就我而言,当尝试使用图形向导配置批量激活服务角色时,出现错误“vmw.exe 已停止工作”。我找不到避免的方法,所以在命令提示符下进行了进一步的配置。

[玩转系统] 使用 KMS 服务器激活 Windows Server 2016

更新当前 KMS 服务器以支持 Windows Server 2016 激活

如果您已在企业中部署了 KMS 服务器并运行早期 Windows 版本之一,则无需使用 KMS 服务器角色部署新的 Server 2016。您可以升级当前服务器以支持Server 2016的KMS激活。

如果您的 KMS 服务器运行的是 Windows Server 2012,请按照这些知识库中的链接安装两个更新:

  • KB3058168 https://support.microsoft.com/en-us/kb/3058168(此更新启用运行 Windows 10 的客户端的 KMS 激活支持)

  • KB3172615 https://support.microsoft.com/en-us/kb/3172615 是一个更新,允许激活运行 Windows Server 2016 和 Windows 10 LTSB 的客户端 (1607)

如果您的 KMS 主机部署在Windows Server 2012 R2上,请安装以下知识库中的更新:

  • KB3058168

  • KB3172614 https://support.microsoft.com/kb/3172614

Windows Server 2008R2 上的 KMS 角色没有更新。因此,您将无法在 Windows Server 2008 R2 中使用 KMS 来激活 Windows Server 2016 或 Windows 10 Enterprise 2016 LTSB。

使用 CSVLK 激活 KMS 服务器

安装或更新 KMS 服务器后,使用 CSVLK(所谓的 KMS 主机密钥)激活它。您可以在 Microsoft 批量许可证 (VLSC) 网站上获取此密钥。您需要的密钥称为Windows Srv 2016 DataCtr/Std KMS,位于许可证 -> 关系摘要 -> 产品密钥中。

然后使用以下命令安装密钥:

cscript.exe %windir%\system32\slmgr.vbs /ipk <xxxx-xxxx-xxxx-xxxx-xxxx>

并激活您的KMS服务器

cscript.exe %windir%\system32\slmgr.vbs /ato

如果您的系统是自治的,您可以通过电话激活您的 KMS 服务器。首先,获取安装ID

cscript.exe %windir%\system32\slmgr.vbs /dti

并致电您所在国家/地区的 Microsoft 激活中心(%windir%\System32\SPPUI\Phone.inf 中有电话号码列表)并获取您的确认 ID

[玩转系统] 使用 KMS 服务器激活 Windows Server 2016

应用代码:

cscript.exe %windir%\system32\slmgr.vbs /atp <ConfirmationID>

您可以使用以下命令确保 KMS 服务器激活已成功:

cscript.exe %windir%\system32\slmgr.vbs /dlv 

[玩转系统] 使用 KMS 服务器激活 Windows Server 2016

如果 KMS 主机激活成功,您将看到值VOLUME_KMS_WS16 通道许可证状态:已许可

使用 KMS 服务器激活 Windows Server 2016

激活后,KMS 服务器可以激活运行 Windows Server 2016 的计算机。要激活客户端,它应该具有特殊的公共 KMS 安装密钥(如下所示)。

您可以按如下方式输入安装密钥:

cscript.exe %windir%\system32\slmgr.vbs /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

指定 KMS 服务器地址(如果域已有 DNS 记录 SRV (_VLMCS),客户端可以通过该记录找到 KMS 服务器,则不需要)

cscript.exe %windir%\system32\slmgr.vbs /skms kms-srv1.a-d.site:1688

并激活操作系统:

cscript.exe %windir%\system32\slmgr.vbs /ato

Windows Server 2016 的公钥 KMS 密钥

不同Windows Server 2016版本的KMS公钥列表如下表所示:

OS EditionKMS KeyWindows Server 2016 DatacenterCB7KF-BWN84-R7R2Y-793K2-8XDDGWindows Server 2016 StandardWC2BQ-8NRM3-FDDYY-2BFGV-KHKQYWindows Server 2016 EssentialsJCKRF-N37P4-C2D82-9YXRT-4M63B

使用基于 Active Directory 的激活激活 Windows Server 2016

与 Windows 2012 一样,Windows Server 2016 支持使用 AD — 基于 Active Directory 的激活 (ADBA) 在域中自动激活。与之前一样,必须配置批量激活服务才能成功激活。

您需要 登录账户 后才能发表评论

取消回复欢迎 发表评论:

关灯