如何將 Windows Server 評估版升級到完整版

Jacki

您安裝 Windows Server 評估版是出於評估、測試或培訓目的。現在您想要應用許可證密鑰,但它沒有激活,並且出現錯誤。這是因為您必須首先從評估版轉換為完整版。之後,您可以插入您的許可證密鑰。在本文中,您將了解如何從 Windows Server 評估版許可證升級到完整版。

您可以在右上角找到 Windows Server 版本以及寬限期到期前剩餘的天數。

Windows 許可證評估期開始並持續180天

筆記:您可以將 Windows Server 評估期延長 6 次,並運行試用版總共 3 年。

使用 DISM PowerShell 命令檢查當前的 Windows Server 版本。

DISM /Online /Get-CurrentEdition

將出現以下輸出。

Deployment Image Servicing and Management tool
Version: 10.0.17763.3406

Image Version: 10.0.17763.5696

Current edition is:

Current Edition : ServerStandardEval

運行獲取計算機信息用於列出 Windows Server 操作系統名稱和版本的 cmdlet。

Get-ComputerInfo | Select-Object WindowsProductName, WindowsEditionId

下面的輸出表明Microsoft Windows Server 2019 標準評估正在運行。

WindowsProductName                      WindowsEditionId
------------------                      ----------------
Windows Server 2019 Standard Evaluation ServerStandardEval

現在您已經擁有了 Windows Server 版本,讓我們進入下一步。

獲取 Windows Server 目標版本

檢查您可以升級到哪些 Windows Server 版本。

DISM /Online /Get-TargetEditions

下面的輸出顯示您可以升級到以下版本之一:服務器標準或者服務器數據中心

Deployment Image Servicing and Management tool
Version: 10.0.17763.3406

Image Version: 10.0.17763.5696

Editions that can be upgraded to:

Target Edition : ServerStandard
Target Edition : ServerDatacenter

獲取 Windows Server 通用批量許可證密鑰 (GVLK)

在下表中查找所有 Windows Server 操作系統版本及其 GVLK。

您必須從下表中復制適合您的版本的正確通用批量許可證密鑰。您將 Windows Server 版本升級到該版本。

在我們的示例中,我們希望升級到Windows Server 2019 標準版

操作系統版本 通用批量許可證密鑰 (格夫爾克
Windows Server 2025 標準版 TVRH6-WHNXV-R9WG3-9XRFY-MY832
Windows Server 2025 數據中心 D764K-2NDRG-47T6Q-P8T8W-YP6DF
Windows Server 2022 標準版 VDYBN-27WPP-V4HQT-9VMD4-VMK7H
Windows Server 2022 數據中心 WX4NM-KYWYW-QJJR4-XV3QB-6VM33
Windows Server 2019 標準版 N69G4-B89J2-4G8F4-WWYCC-J464C
Windows Server 2019 數據中心 WMDGN-G9PQG-XVVXX-R3X43-63DFG
Windows Server 2019 要點 WVDHN-86M7X-466P6-VHXV7-YY726
Windows Server 2016 標準版 WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY
Windows Server 2016 數據中心 CB7KF-BWN84-R7R2Y-793K2-8XDDG
Windows Server 2016 要點 JCKRF-N37P4-C2D82-9YXRT-4M63B
Windows Server 2012 R2 標準版 D2N9P-3P6X9-2R39C-7RTCD-MDVJX
Windows Server 2012 R2 數據中心 W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9

將 Windows Server 評估版升級到完整版

使用以下命令之一從 Windows Server 評估版轉換為完整版。

服務器標準版:

更多閱讀:如何在 Windows Server 上啟動時禁用服務器管理器

DISM /Online /Set-Edition:ServerStandard /productkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula

服務器數據中心版本:

DISM /Online /Set-Edition:ServerDatacenter /productkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula

在我們的示例中,我們將在 PowerShell 中運行以下命令來升級到 Windows Server 2019 Standard。

DISM /Online /Set-Edition:ServerStandard /productkey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula

筆記:運行該命令後,需要一些時間,您必須等待它完成。如果您看到進度暫時停留在 10%,這是完全正常的。

將出現以下輸出。按重新啟動計算機。

Deployment Image Servicing and Management tool
Version: 10.0.17763.3406

Image Version: 10.0.17763.5696

Starting to update components...
Starting to install product key...
Finished installing product key.

Removing package Microsoft-Windows-ServerStandardEvalEdition~31bf3856ad364e35~amd64~~10.0.17763.1
[==========================100.0%==========================]
Finished updating components.

Starting to apply edition-specific settings...
Finished applying edition-specific settings.

The operation completed successfully.
Restart Windows to complete this operation.
Do you want to restart the computer now? (Y/N)

驗證 Windows Server 版本

計算機重新啟動後,運行命令驗證Windows Server版本。

Get-ComputerInfo | Select-Object WindowsProductName, WindowsEditionId

輸出顯示 Windows 版本 ID 是服務器標準

WindowsProductName           WindowsEditionId
------------------           ----------------
Windows Server 2019 Standard ServerStandard

你會看到激活Windows水印在右角。現在,您可以使用購買的 Windows Server 許可證來許可 Windows Server Standard 版本。

就是這樣!

結論

您了解瞭如何將 Windows Server 評估版升級到完整版。確保您在 180 天的評估期內獲得 Windows Server 的許可。否則,Windows Server 將關閉。

您喜歡這篇文章嗎?您可能還喜歡在 Windows Server 上卸載 Windows Defender。不要忘記關注我們並分享這篇文章。