Hello,
Thank you for posting in Microsoft Community forum.
Based on the description, I understand your question is related to Server 2012 ESU.
It is for the Server 2012 R2 specifically, so it need to be installed on the VM, not on Server 2019 host.
If you have already purchased the ESU key, you must have the servicing stack update (SSU) (KB5029368) that is dated August 8, 2023 or a later SSU installed.
Then Download and install the Extended Security Updates (ESU) Licensing Preparation Package.
For Windows Server 2012 R2 , see the Extended Security Updates (ESU) Licensing Preparation Package that is dated August 10, 2022 (KB5017220).
After the above prerequisites are met, we can follow the steps below to activate ESU:
- Open an elevated command prompt, type slmgr /ipk
- Determine the Activation ID by typing slmgr /dlv and hit Enter. Note the Activation ID as you will need it in the next step.
- Activate the ESU key by typing slmgr /ato and hit Enter.
Windows Server 2012/R2: Extended Security Updates | Windows IT Pro Blog (microsoft.com)
Have a nice day.
Best Regards,
Molly
Videos
How to obtain an ESU license outside of Azure?
Customers have two options for licensing ESU (ESU):
- Via Azure Arc-enabled servers: With Extended Security Updates enabled by Azure Arc.
- Commercial Licensing: Acquire Extended Security Updates licenses (SKUs) through a Microsoft Commercial Licensing program.
For maximum flexibility and convenience, we recommend using Azure Arc-enabled servers.
You can acquire ESU licenses either directly from Microsoft or from your partner such as an EA Reseller or CSP partner (eligible to sell ESUs as of Oct. 1, 2023 for both types of ESUs mentioned above).
Eligibility Criteria
To qualify for ESU on-premises or in hosted environments, your server or operating system must meet one of the following prerequisites:
- Be covered by an active Software Assurance (SA) plan acquired through any program, such as Enterprise Agreement (EA), Enterprise Agreement Subscription (EAS), Server & Cloud Enrollment (SCE), or Enrollment for Education Solutions (EES).
- Have active subscription licenses acquired through any program, including Cloud Solution Provider (CSP).
- Have been acquired as 'License-Included' services through a Service Provider License Agreement (SPLA) partner.
Note
"License-Included" means that you have obtained Windows Server or SQL Server licenses directly from a SPLA partner, rather than using your own licenses.
Deployment scenarios
You can apply ESU enabled by Azure Arc and ESU licenses (SKUs) to any properly licensed server or operating system, whether it's deployed on-premises or on non-Azure clouds (including hosters). If you're running your OS in another cloud, make sure to adhere to the respective outsourcing or License Mobility policies for the underlying software.
Examples:
- SPLA Scenario: If you've acquired your software from an SPLA partner, you can cover it with ESU licenses.
- BYOL Scenario: If you've brought your own licenses to a cloud hosting provider via your Outsourcing policy or License Mobility, you can cover your software with ESU licenses.
- On-premises: If you're running your software on-prem, you can cover it with ESU licenses.
Determining the Number of Required ESU Licenses
ESU licenses correspond to the number of underlying core licenses of your server or operating system. You can license Windows Server and SQL Server based on either physical cores (pCores) or virtual cores (vCores). With ESUs sold through Commercial Licensing, the licenses must align with how you've licensed the underlying Windows Server or SQL Server.
- Physical Core Basis: If you choose this option for your underlying software, you'll need an ESU license for each physical core on the server. All validly licensed guest VMs running on the host are covered without the need for additional licenses. (Note that Windows Server and SQL Server software editions have different allowed virtualization entitlements for the number of guests allowed.) Windows Server has an 8-core minimum per processor and 16-core minimum per server for pCore licensing. SQL Server has a 4-core per processor minimum.
- Virtual Core Basis: If you opt for this option for your underlying software, you'll require an ESU license for each virtual core assigned to the VM. Windows Server has an 8-core minimum per VM for vCore licensing. SQL Server has a 4-core per VM minimum.
In summary, when licensing with Commercial Licensing ESUs (SKUs), the number of ESU core licenses must align with how you've licensed the underlying Windows Server or SQL Server. Also, with the Commercial Licensing ESUs, you must ensure that the ESU edition matches the edition of your underlying software. For instance, if you have Windows Server Datacenter on your VM, you should acquire ESU Datacenter edition if you want to license at the vCore level.
Note
The majority of WS 2012 licenses were sold on a per Processor or per Core basis (not on a per VM basis). For purposes of ESU core calculation, assume each 2 Processor license (the minimum per server) is equivalent to 16 pCores.
Examples:
- Physical Core Scenario: A customer with a 16-core server licensed with Windows Server Datacenter on a pCore basis will need to acquire 16 ESU Datacenter licenses. This covers the entire server regardless of the number of guest VMs running on it.
- Virtual Core Scenario: A customer with three 8-core VMs licensed with Windows Server Standard on a vCore basis will need 24 ESU licenses of the Standard edition to cover all VMs. When adding an additional VM, additional ESU licenses must be acquired accordingly. For VMs larger than eight vCores, i.e exceeding the minimum, add up all the vCores to get the correct price.Knowing your underlying license status for a given server enables you to accurately determine the number of Extended Security Update licenses you'll need.
How do I install ESU updates?
On Azure: Applicable virtual machines (VMs) hosted in Azure are automatically enabled for ESUs if the VM is configured to receive updates, and these updates are provided free of charge.
On-premises/hybrid: Customers can install ESUs by accessing their multiple activation keys through the M365 Admin Center portal or directly installing ESUs through Azure Arc-enabled servers. Learn more about the installation details here for Windows Server and here for SQL Server installation.
For anyone wanting to install the ESU on WS2012 or WS 2012R2 below are the steps I used. All our servers are activated by KMS.
The ESU MAK key only activates the ESU and co-exists with any KMS key
Both Microsoft and our EA partner were useless in providing any help.
Step1: Download and install the Extended Security Updates (ESU) Licensing Preparation Package.
For more information, see the following articles in the Microsoft Knowledge Base:
For Windows Server 2012 R2, see the Extended Security Updates (ESU) Licensing Preparation Package that is dated August 10, 2022 (KB5017220).
For Windows Server 2012, see the Extended Security Updates (ESU) Licensing Preparation Package that is dated August 10, 2022 (KB5017221).
Step 2: Install ESU on servers
Step 3: Download ESU MAK key
Download the ESU MAK add-on key from the VLSC portal.
Sign in to the Microsoft 365 Admin Center.
Select Your products > Volume licensing > View contracts
Select your agreement number used to purchase ESUs, the three dots beside it (More Actions icon), then select View product keys. All the product keys available to the agreement shown on this page.
Once you have your MAK, install the new key on your eligible servers.
Step 4: Add the ESU MAK to VAMT tool
Note: You need the latest VAMT tool and VAMT configuration files otherwise the VAMT tool will not accept the MAK key.
https://techcommunity.microsoft.com/t5/windows-it-pro-blog/windows-server-2012-r2-extended-security-updates/ba-p/3976610
Step 5: Activate ESU MAK on servers using VAMT
On-premises: Eligible customers will be able to purchase Extended Security Updates for their on-premises environment. Licenses are sold in 2 core packs for SQL Server and 16 core packs for Windows Server 2012, and are priced as below:
Year 1: 75% of full license price annually
Year 2: 100% of full license price annually
Year 3: 125% of full license price annually
https://www.microsoft.com/en-us/windows-server/extended-security-updates
--please don't forget to upvote and Accept as answer if the reply is helpful--
It says if we migrate our on-prem 2012 servers to Azure we get free ESU licenses, does that mean if we onboard on-prem servers to azure as Arc servers we get licenses? or for ARC enabled servers also we need to manually add ESU licenses?