Windows Server:无法使用 SLP 产品密钥激活虚拟机

Summary: 运行 Windows Server 的虚拟机 (VM) 无法使用系统锁定的预安装 (SLP) 产品密钥进行激活。本文介绍 SLP 密钥以及如何确定是否正在使用密钥。它还演示如何更改 VM 的产品密钥。

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 Server 的虚拟机无法激活。生成的错误代码可能会有所不同,但通常会出现代码0xC004F057

运行 slmgr /dlv 在受影响的虚拟机上生成类似于以下内容的输出:

以下命令的输出:
图 1:以下命令的输出: slmgr /dlv 命令。突出显示的区域显示 SLP 密钥正在使用中。

Cause

SLP 密钥只能用于在物理戴尔服务器上激活 Windows Server 操作系统 (OS)。它允许安装和激活操作系统,而无需提示输入产品密钥。为此,系统 BIOS 中必须存在某些数据。此数据仅存在于物理服务器的 BIOS 中,因此 SLP 密钥无法激活虚拟机上的操作系统。

Resolution

必须更改虚拟机的产品密钥才能成功激活。确定正确的产品密钥后,运行以下命令以应用它。
  1. 删除现有产品密钥:
slmgr /upk
 
  1. 应用正确的产品密钥(使用实际密钥代替 X):
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
 
  1. (可选)激活操作系统:
slmgr /ato
最后一个命令通常是不必要的;操作系统通常会在输入正确的产品密钥几秒钟后自动激活。

Affected Products

Microsoft Windows Server 2016, Microsoft Windows Server 2019, Microsoft Windows Server 2022, Microsoft Windows 2012 Server, Microsoft Windows 2012 Server R2
Article Properties
Article Number: 000227719
Article Type: Solution
Last Modified: 28 Jan 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.