说明:在Windows Server 2012之后,官方提供下载的版本默认是180天的评估版本,无法使用KMS激活。需要转换成零售版本后,才能使用批量许可激活。
将评估版转换为零售版

  1. 验证系统版本是否为评估版

    在尝试从评估版转换为零售版之前,请验证你的服务器是否确实在运行评估版。
    为此,请启动提升的命令提示符并运行命令 slmgr.vbs /dlv;评估版将在输出中包含 EVAL。

  2. 将评估版转换成零售版
    如果服务器正在运行 Windows Server Standard 版或 Windows Server Datacenter 版,可以将其转换为零售版,如下所示:

从提升的命令提示符或 PowerShell 会话中,运行以下命令以保存 Windows Server 的 Microsoft 软件许可条款,然后便可以查看这些条款:

 DISM /online /Set-Edition:ServerDatacenter /GetEula:C:\eula.rtf 
  • 1

通过运行以下命令确定当前版本名称。 输出是版本名称的缩写形式,例如 Windows Server Datacenter 版为 ServerDatacenter:

DISM /online /Get-CurrentEdition 
  • 1

通过运行以下命令验证当前安装可以转换为哪些版本。 Windows Server Standard 评估版可以转换为 Windows Server Standard 或 Datacenter 版的零售版,而 Windows Server Datacenter 评估版只能转换为 Windows Server Datacenter 零售版:

DISM /online /Get-TargetEditions 
1
记下要转换为的目标版本名称,然后在下面的命令中输入此名称和零售产品密钥。 此过程要求你接受之前保存的 Windows Server 的 Microsoft 软件许可条款。

DISM /online /Set-Edition:<edition ID> /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula 
1
【2022.09.22补充】
Convert Evaluation Copy to Full Version¶
When using the Evaluation version of Windows Server, the desktop displays the current build and the time until the end of the grace period (Windows License valid for 180 days).

Windows Server 2022¶
Run from Powershell:

Windows Server 2022 Standard

dism /online /set-edition:serverstandard /productkey:VDYBN-27WPP-V4HQT-9VMD4-VMK7H /accepteula
Windows Server 2022 Datacenter:

dism /online /set-edition:serverdatacenter /productkey:WX4NM-KYWYW-QJJR4-XV3QB-6VM33 /accepteula
Windows Server 2019¶
Run from Powershell:

Windows Server 2019 Standard

dism /online /set-edition:ServerStandard /productkey:N69G4-B89J2-4G8F4-WWYCC-J464C /accepteula

Windows Server 2019 Datacenter:

dism /online /set-edition:ServerDatacenter /productkey:WMDGN-G9PQG-XVVXX-R3X43-63DFG /accepteula



点赞(0) 打赏

评论列表 共有 0 条评论

暂无评论

微信小程序

微信扫一扫体验

立即
投稿

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部