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

[玩转系统] 如何将Windows Server 2019/2016评估版转换(升级)为完整版?

作者:精品下载站 日期:2024-12-14 23:06:35 浏览:13 分类:玩电脑

如何将Windows Server 2019/2016评估版转换(升级)为完整版?


Microsoft 邀请所有人使用 Windows Server 2019 或 Windows Server 2016 试用版(StandardEvaluationDatacenterEvaluation)来熟悉服务器平台的功能。通过填写简短的表格,您可以在此处免费下载 Windows Server 2019 本地免费试用版或 Windows Server 2016 评估版。安装 Windows Server 评估版后,您有 180 天的时间来测试其功能。在此期间,您可以使用 Windows Server 2019/2016/2022 的全部功能。

使用 Windows Server 评估版时,桌面会显示当前版本以及宽限期结束之前的时间 (

Windows License valid for 180 days

)。

[玩转系统] 如何将Windows Server 2019/2016评估版转换(升级)为完整版?

您可以随时显示 Windows Server 评估版的宽限期结束之前的时间:

Slmgr /dli

[玩转系统] 如何将Windows Server 2019/2016评估版转换(升级)为完整版?

Name: Windows, ServerStandardEval edition
Description: Windows Operating System, TIMEBASED_EVAL channel
License Status: Licensed
Timebased activation expiration: xx min (xx days)

您可以查看产品名称、描述(TIMEBASED_EVAL 通道)和激活到期时间。

有一种方法可以使用以下命令将 Windows Server 评估额外延长 180 天:

slmgr /rearm

您最多可以将 Windows Server 试用期延长 5 次。因此,Windows Server 免费试用版的最长使用寿命可以延长至 3 年=

180 days * 6

。但是,根据使用 Microsoft 评估版的条款,您不应将试用版用于商业目的或生产任务。

试用期结束后,Windows Server 开始要求每小时激活和关闭,并在事件查看器中出现以下事件:

Log Name: System
Source: USER32
Event ID: 1074
Description:
The process C:\Windows\system32\wlms\wlms.exe Server1 has initiated the shutdown of computer Server1 on behalf of user NT AUTHORITY\SYSTEM for the following reason: Other (Planned)
Reason Code: 0x80000000
Shutdown Type: shutdown
Comment: The license period for this installation of Windows has expired. The operating system is shutting down.

或者:

Log Name:   Application
Source:       WLMS
Event ID:     100
Description: The license period for this installation of Windows has expired. The operating system will shut down every hour.

桌面背景将变黑,右下角会出现“Windows 许可证已过期”通知。

[玩转系统] 如何将Windows Server 2019/2016评估版转换(升级)为完整版?

如果您在 Windows Server 评估版中执行高效任务,并希望将其升级到完整 Windows Server 版本,同时保留数据且无需完全重新安装操作系统,那么本文将对您有所帮助。

如果您尝试在 Windows Server 评估版上指定 KMS、零售或 MAK 产品密钥,则会出现以下警告:“此版本无法升级”。

[玩转系统] 如何将Windows Server 2019/2016评估版转换(升级)为完整版?

当您尝试使用安装零售密钥时

slmgr.vbs

工具 (

slmgr /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

)您将收到错误:

Error: 0xC004F069. On a computer running Microsoft Windows non-core edition, run ‘slui.exe 0xC004F069’ to display the error text.

如果运行指定的命令,将出现错误描述:

The Software Licensing Service reported that the product SKU is not found.

[玩转系统] 如何将Windows Server 2019/2016评估版转换(升级)为完整版?

但并非一切都那么悲伤:)。

您可以使用 DISM 确保您使用的是 Windows Server 评估版。打开提升的命令提示符并执行命令:

DISM /online /Get-CurrentEdition

[玩转系统] 如何将Windows Server 2019/2016评估版转换(升级)为完整版?

正如您所看到的,当前版本行指示当前的 Windows 版本是 - ServerStandartEval。

获取可将当前 Eval 版本升级到的 Windows Server 版本列表:

DISM /online /Get-TargetEditions
Editions that can be upgraded to:
Target Edition : ServerStandard
Target Edition : ServerDatacenter

[玩转系统] 如何将Windows Server 2019/2016评估版转换(升级)为完整版?

如您所见,当前的 ServerStandardEval 版本已升级到以下 Windows Server 2016/Windows Server 2019 版本:ServerDatacenter 或 ServerStandard。

Windows Server 评估的升级限制

以下是将 Windows Server 评估版转换为完整版之前您需要了解的一些升级限制:

  • 您无法升级具有 Active Directory 域服务域控制器角色的服务器。首先必须将其降级为成员服务器(检查 FSMO AD 角色是否未在此 DC 上运行,如有必要,请将它们转移到其他域控制器);

  • 如果服务器上配置了NIC Teaming,则升级前必须将其禁用;

  • Windows Server Eval Datacenter 无法升级到 Windows Server Standard Full。首先,你需要将你的版本升级到Windows Server Datacenter Full,然后使用一个小技巧来降级Windows Server版本(查看文章末尾的链接);

  • 您可以转换 Windows Server 的完整 GUI 版本和 Windows Server Core(从 Windows Server 2016 14393.0.161119-1705.RS1_REFRESH 版本开始支持转换 Server Core 试用版)。

Windows Server 2016:将评估版转换为许可版

要将 Windows Server 评估版升级到完整版本,您需要使用 Windows Server 2016 的公共 KMS (GVLK) 密钥。转换是使用内置 DISM 工具通过命令提示符执行的。例如,要将 Eval 版本升级到 Windows Server 2016 Standard 的零售版本,请使用以下命令:

dism /online /set-edition:ServerStandard /productkey:WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY /accepteula

[玩转系统] 如何将Windows Server 2019/2016评估版转换(升级)为完整版?

如果您在 DISM 命令中指定零售或 MAK 密钥而不是公共 GVLK 密钥,则会出现错误:

Error 1168
The specified product key could not be validated.
Check that the specified product key is valid and that it matches the target edition.

[玩转系统] 如何将Windows Server 2019/2016评估版转换(升级)为完整版?

升级 Windows Server 版本时始终使用 Microsoft GVLK 密钥。您稍后将用您自己的产品密钥替换它。

一些用户抱怨有时当您运行

DISM /set-edition

命令,它挂起 10%。在这种情况下,我们建议您找到并停止软件保护服务

Stop-Service sppsvc -Force

)并禁用 Internet 访问(您甚至可以断开以太网 LAN 电缆)。

运行此命令后,等待消息

Command completed successfully

(在某些情况下可能需要几个小时!!!)。之后重新启动服务器并确保安装了完整的标准版。

winver.exe

[玩转系统] 如何将Windows Server 2019/2016评估版转换(升级)为完整版?

要将 Windows Server 2016 Eval 升级到 Datacenter 版本,您需要使用另一个 GVLK 密钥。该命令将如下所示:

DISM /online /Set-Edition:ServerDatacenter /ProductKey:CB7KF-BWN84-R7R2Y-793K2-8XDDG /AcceptEula

如果您的本地网络中部署了 KMS 服务器(什么是批量 KMS 激活?),您可以通过以下命令使用它来激活您的 Windows Server 操作系统:

slmgr /ipk WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY

(这是 Windows Server 2016 Standard 的 GVLK 密钥,另一个产品密钥用于 Datacenter,已在上面列出)

slmgr /ato

如果没有 KMS 服务器,您可以指定 Windows Server 的 MAK 或零售产品密钥,并照常激活操作系统:通过 Internet 或通过电话。

删除当前密钥:

slmgr.vbs /upk
slmgr.vbs /cpky

输入您的 MAK 或零售产品密钥:

slmgr.vbs /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

激活 Windows Server 实例:

slmgr.vbs /ato

Windows Server 2019:升级评估版至完整版

要将 Windows Server 2019 EVAL 转换为完整版,您需要使用 Windows Server 2019 的 GVLK (KMS) 密钥。您可以以相同的方式升级 Windows Server 2019 版本。

将 Windows Server 2019 评估版转换为 Windows Server 2019 标准版:

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

要将 Windows Server 2019 评估版转换为 Windows Server 2019 数据中心版:

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

确认命令,重启服务器。重新启动后,请确保您的 Windows Server Eval 版本已转换为完整零售版。

Windows Server 2022:将评估版转换为零售版

尽管Windows Server 2022的正式RTM版本尚未发布,但微软已经发布了该操作系统版本的公共KMS客户端安装密钥(GVLK)。

将 Windows Server 2022 评估版转换为标准版的命令:

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

将 eval 实例转换为 Windows Server 2022 Datacenter:

dism /online /set-edition:serverdatacenter /productkey:WX4NM-KYWYW-QJJR4-XV3QB-6VM33 /accepteula

Microsoft 针对所有受支持的 Windows 版本提供的公共 KMS 客户端设置密钥的完整列表可在此处获取:http://technet.microsoft.com/en-us/library/jj612867.aspx。

可能的 DISM 错误

  • The current edition cannot be upgraded to any target editions

    — 您正在尝试将数据中心版本转换为标准版本。不支持该升级方式;

    有一种非官方方法可以将 Windows Server 版本从 Datacenter 降级为 Standard。

  • Error: 50. Setting an Edition is not supported with online images

    — 您的服务器很可能部署了 Active Directory 域控制器角色 (AD DS)。不支持在 DC 上转换 Windows Server 版本;

  • This Windows image cannot upgrade to the edition of Windows that was specified. The upgrade cannot proceed. Run the /Get-TargetEditions option to see what edition of Windows you can upgrade to

    — 如果您尝试将 Windows Server 评估数据中心转换为标准,则会出现该错误。您无法将 Eval Datacenter 升级到 Standard。您需要将 ServerDatacenterEval 版本转换为 ServerDatacenter。在 DISM 命令中指定 Windows Server Datacenter 版本的 KMS 密钥

DISM 还允许您将 Windows 10 升级到更高版本,而无需重新安装。

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

取消回复欢迎 发表评论:

关灯