實作自動虛擬機器啟用

已完成

由於許多實體伺服器使用量過低,Contoso 計劃提高使用虛擬化的能力,以最佳化其運算環境。 此外,還計劃擴展至其他網站,並使用虛擬化協助加速新網站上線。 請記住,您可以決定適當的方法來授權和啟用這些新 VM,這點很重要。

什麼是自動虛擬機器啟用?

Contoso 伺服器管理員可以實作自動虛擬機器啟用 (AVMA),以協助管理新 VM 上的授權和啟用。 您可以在先前啟用的 Hyper-V 主機上安裝 VM,並使用 AVMA 來管理該主機上每部 VM 的產品金鑰。 AVMA 會將 VM 啟用繫結至授權的 Hyper-V 伺服器。 當 VM 啟動時,則會自動啟用 VM (假設主機已正確啟用)。

注意

AVMA 會提供即時的使用情況報告,以及 VM 授權狀態的歷史資料。

在使用大量授權或 OEM 授權啟用的 Hyper-V 主機上,Contoso 伺服器管理員可以實作 AVMA 以支援下列案例:

  • 啟用在遠端位置的 Windows Server Datacenter Hyper-V 主機上執行的 VM。
  • 在沒有網際網路連線的情況下啟用 VM。
  • 在無需 VM 的存取權的情況下,追蹤 VM 的使用方式和授權。

需求

您的虛擬主機必須執行下列其中一種作業系統:

  • Windows Server 2025 Datacenter。
  • Windows Server 2022 Datacenter。
  • Windows Server 2019 Datacenter。
  • Windows Server 2016 Datacenter。
  • Windows Server 2012 Datacenter R2。

下表說明安裝於 Hyper-V 主機上的作業系統可用的啟用選項。

主機作業系統 支援的客體作業系統
Windows Server 2025 Windows Server 2025、Windows Server 2022、Windows Server 2019、Windows Server 2016、Windows Server 2012 R2
Windows Server 2022 Windows Server 2022、Windows Server 2019、Windows Server 2016、Windows Server 2012 R2
Windows Server 2019 Windows Server 2019、Windows Server 2016、Windows Server 2012 R2
Windows Server 2016 Windows Server 2016、Windows Server 2012 R2
Windows Server 2012 R2 Windows Server 2012 R2

提示

您可以啟用所有版本:Datacenter、Standard 或 Essentials

實作 AVMA

若要實作 AVMA,請遵照下列程序:

  1. 在執行 Windows Server Datacenter 版的已啟用虛擬主機上,安裝 Hyper-V 伺服器角色。
  2. 建立 VM。
  3. 安裝 AVMA 金鑰。 一種方法是使用 Windows PowerShell。 在使用下列 PowerShell Cmdlet 的 VM 上:
slmgr /ipk <AVMA_key>

VM 現在將會啟用。