進行硬體變更後的 Windows Server 升級和轉換選項

Summary: 對伺服器進行硬體變更時,如果客戶要重新安裝 Windows Server,或是客戶被要求重新輸入產品金鑰,則必須執行一組命令。

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 並遇到啟動錯誤時: 執行「slui.exe 0x2a 0xC004F069」。

 

完整錯誤的螢幕截圖:
==================================================
Windows 錯誤
================================================

 

Cause

在伺服器上進行硬體變更時。

 

Resolution

  1. 執行 DISM /online /Get-CurrentEdition,檢查作業系統的版本。

  2. 執行 DISM /online /Set-Edition:version ID> /ProductKey:<XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula,這會套用通用大量授權金鑰,請務必使用通用金鑰,請務必使用來自以下來源的通用金鑰:https://docs.microsoft.com/en-us/windows-server/get-started/kms-client-activation-keys此超連結會帶您前往 Dell Technologies 以外的網站。

    • 範例:DISM /online /Set-Edition:ServerDatacenter /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula。
  3. 執行命令 slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX,在此階段,您將使用自己的產品密鑰,這會將通用密鑰替換為您自己的產品密鑰,但不會啟動操作系統。

  4. 若要啟用作業系統,您必須執行下列命令 slmgr /ato 啟動授權

     

 

提示
如果您在命令提示字元中執行 slmgr,則會出現「Windows Script Host」視窗。
如果您按下底部的 OK (確定),系統會顯示所有 slmgr 可以使用的命令/開關。
==================================================================================
SLMGR

 

Affected Products

Microsoft Windows Server 2022
Article 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.