[玩转系统] 如何将Windows Server 2019/2016评估版转换(升级)为完整版?
作者:精品下载站 日期:2024-12-14 23:06:35 浏览:13 分类:玩电脑
如何将Windows Server 2019/2016评估版转换(升级)为完整版?
Microsoft 邀请所有人使用 Windows Server 2019 或 Windows Server 2016 试用版(StandardEvaluation 或 DatacenterEvaluation)来熟悉服务器平台的功能。通过填写简短的表格,您可以在此处免费下载 Windows Server 2019 本地免费试用版或 Windows Server 2016 评估版。安装 Windows Server 评估版后,您有 180 天的时间来测试其功能。在此期间,您可以使用 Windows Server 2019/2016/2022 的全部功能。
使用 Windows Server 评估版时,桌面会显示当前版本以及宽限期结束之前的时间 (
Windows License valid for 180 days
)。
您可以随时显示 Windows Server 评估版的宽限期结束之前的时间:
Slmgr /dli
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 评估版中执行高效任务,并希望将其升级到完整 Windows Server 版本,同时保留数据且无需完全重新安装操作系统,那么本文将对您有所帮助。
如果您尝试在 Windows Server 评估版上指定 KMS、零售或 MAK 产品密钥,则会出现以下警告:“此版本无法升级”。
当您尝试使用安装零售密钥时
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.
但并非一切都那么悲伤:)。
您可以使用 DISM 确保您使用的是 Windows Server 评估版。打开提升的命令提示符并执行命令:
DISM /online /Get-CurrentEdition
正如您所看到的,当前版本行指示当前的 Windows 版本是 - ServerStandartEval。
获取可将当前 Eval 版本升级到的 Windows Server 版本列表:
DISM /online /Get-TargetEditions
Editions that can be upgraded to:
Target Edition : ServerStandard
Target Edition : ServerDatacenter
如您所见,当前的 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
如果您在 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 版本时始终使用 Microsoft GVLK 密钥。您稍后将用您自己的产品密钥替换它。
一些用户抱怨有时当您运行
DISM /set-edition
命令,它挂起 10%。在这种情况下,我们建议您找到并停止软件保护服务(
Stop-Service sppsvc -Force
)并禁用 Internet 访问(您甚至可以断开以太网 LAN 电缆)。
运行此命令后,等待消息
Command completed successfully
(在某些情况下可能需要几个小时!!!)。之后重新启动服务器并确保安装了完整的标准版。
winver.exe
要将 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 升级到更高版本,而无需重新安装。
猜你还喜欢
- 03-30 [玩转系统] 如何用批处理实现关机,注销,重启和锁定计算机
- 02-14 [系统故障] Win10下报错:该文件没有与之关联的应用来执行该操作
- 01-07 [系统问题] Win10--解决锁屏后会断网的问题
- 01-02 [系统技巧] Windows系统如何关闭防火墙保姆式教程,超详细
- 12-15 [玩转系统] 如何在 Windows 10 和 11 上允许多个 RDP 会话
- 12-15 [玩转系统] 查找 Exchange/Microsoft 365 中不活动(未使用)的通讯组列表
- 12-15 [玩转系统] 如何在 Windows 上安装远程服务器管理工具 (RSAT)
- 12-15 [玩转系统] 如何在 Windows 上重置组策略设置
- 12-15 [玩转系统] 如何获取计算机上的本地管理员列表?
- 12-15 [玩转系统] 在 Visual Studio Code 中连接到 MS SQL Server 数据库
- 12-15 [玩转系统] 如何降级 Windows Server 版本或许可证
- 12-15 [玩转系统] 如何允许非管理员用户在 Windows 中启动/停止服务
取消回复欢迎 你 发表评论:
- 精品推荐!
-
- 最新文章
- 热门文章
- 热评文章
[影视] 黑道中人 Alto Knights(2025)剧情 犯罪 历史 电影
[古装剧] [七侠五义][全75集][WEB-MP4/76G][国语无字][1080P][焦恩俊经典]
[实用软件] 虚拟手机号 电话 验证码 注册
[电视剧] 安眠书店/你 第五季 You Season 5 (2025) 【全10集】
[电视剧] 棋士(2025) 4K 1080P【全22集】悬疑 犯罪 王宝强 陈明昊
[软件合集] 25年6月5日 精选软件22个
[软件合集] 25年6月4日 精选软件36个
[短剧] 2025年06月04日 精选+付费短剧推荐33部
[短剧] 2025年06月03日 精选+付费短剧推荐25部
[软件合集] 25年6月3日 精选软件44个
[剧集] [央视][笑傲江湖][2001][DVD-RMVB][高清][40集全]李亚鹏、许晴、苗乙乙
[电视剧] 欢乐颂.5部全 (2016-2024)
[电视剧] [突围] [45集全] [WEB-MP4/每集1.5GB] [国语/内嵌中文字幕] [4K-2160P] [无水印]
[影视] 【稀有资源】香港老片 艺坛照妖镜之96应召名册 (1996)
[剧集] 神经风云(2023)(完结).4K
[剧集] [BT] [TVB] [黑夜彩虹(2003)] [全21集] [粤语中字] [TV-RMVB]
[实用软件] 虚拟手机号 电话 验证码 注册
[资源] B站充电视频合集,包含多位重量级up主,全是大佬真金白银买来的~【99GB】
[影视] 内地绝版高清录像带 [mpg]
[书籍] 古今奇书禁书三教九流资料大合集 猎奇必备珍藏资源PDF版 1.14G
[电视剧] [突围] [45集全] [WEB-MP4/每集1.5GB] [国语/内嵌中文字幕] [4K-2160P] [无水印]
[剧集] [央视][笑傲江湖][2001][DVD-RMVB][高清][40集全]李亚鹏、许晴、苗乙乙
[电影] 美国队长4 4K原盘REMUX 杜比视界 内封简繁英双语字幕 49G
[电影] 死神来了(1-6)大合集!
[软件合集] 25年05月13日 精选软件16个
[精品软件] 25年05月15日 精选软件18个
[绝版资源] 南与北 第1-2季 合集 North and South (1985) /美国/豆瓣: 8.8[1080P][中文字幕]
[软件] 25年05月14日 精选软件57个
[短剧] 2025年05月14日 精选+付费短剧推荐39部
[短剧] 2025年05月15日 精选+付费短剧推荐36部
- 最新评论
-
- 热门tag