Windows Server: Virtual Machine Fails to Activate Using SLP Product Key

Сводка: A virtual machine (VM) running Windows Server cannot activate using a system-locked preinstallation (SLP) product key. This article describes SLP keys and how to determine whether one is in use. It also shows how to change a VM's product key. ...

Данная статья применяется к Данная статья не применяется к Эта статья не привязана к какому-либо конкретному продукту. В этой статье указаны не все версии продуктов.

Симптомы

A VM running Windows Server fails to activate. The resulting error code may vary, but code 0xC004F057 is commonly seen.

Running slmgr /dlv on the affected VM produces output similar to this:

Output of the slmgr /dlv command  
Figure 1: Output of the slmgr /dlv command. The highlighted areas show that an SLP key is in use.

Причина

An SLP key can only be used to activate the Windows Server operating system (OS) on a physical Dell server. It allows the OS to be installed and activated without prompting for a product key. For this to work properly, certain data must be present in the system BIOS. This data is only present in the BIOS of a physical server, so an SLP key cannot activate the OS on a VM.

Разрешение

The VM's product key must be changed for activation to succeed. Once the correct product key has been determined, run the following commands to apply it.
  1. Remove the existing product key:
slmgr /upk
 
  1. Apply the correct product key (use the actual key in place of the Xs):
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
 
  1. Optionally, activate the OS:
slmgr /ato
This last command is often unnecessary; the OS typically activates automatically a few seconds after the correct product key is entered.

Затронутые продукты

Microsoft Windows Server 2016, Microsoft Windows Server 2019, Microsoft Windows Server 2022, Microsoft Windows 2012 Server, Microsoft Windows 2012 Server R2
Свойства статьи
Номер статьи: 000227719
Тип статьи: Solution
Последнее изменение: 28 Jan 2025
Версия:  2
Получите ответы на свои вопросы от других пользователей Dell
Услуги технической поддержки
Проверьте, распространяются ли на ваше устройство услуги технической поддержки.