硬件更改后 Windows Server 的升级和转换选项
Summary: 对服务器进行硬件更改时,如果客户要重新安装 Windows 服务器或被要求重新输入产品密钥,则必须运行一组命令。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
在对服务器进行硬件更改并重新安装 Windows 服务器时遇到激活错误: 运行“slui.exe 0x2a 0xC004F069”。
完整错误的屏幕截图:
==================================================
================================================
Cause
在服务器上进行硬件更改时。
Resolution
-
运行 DISM /online /Get-CurrentEdition,以检查操作系统的版本。
-
运行 DISM /online /Set-Edition:edition ID> /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula,这将应用通用批量许可证密钥,确保使用通用密钥,确保使用来自以下位置的通用密钥:<https://docs.microsoft.com/en-us/windows-server/get-started/kms-client-activation-keys
。
- 例如:DISM /online /Set-Edition:ServerDatacenter /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula。
-
运行命令
slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX,在此阶段,您将使用自己的产品密钥,这会将泛型密钥替换为您自己的产品密钥,但不会激活操作系统。 - 要激活操作系统,您必须运行命令
slmgr /ato激活许可证
提示
如果在命令提示符下运行 slmgr,则会显示“Windows 脚本主机”窗口。
如果您按底部的 OK,它将显示所有 slmgr 可以使用的命令/开关。
==================================================================================
Affected Products
Microsoft Windows Server 2022Article Properties
Article Number: 000201865
Article Type: Solution
Last Modified: 05 Dec 2024
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.