Since you're using volume license product keys you should have also used volume center download so the channels line up. As a work around you can try using kms keys as intermediate step.
https://learn.microsoft.com/en-us/windows-server/get-started/kmsclientkeys#windows-server-2012-r2

(below assumes 2012 R2 Standard)

Dism /online /Set-Edition:ServerStandard /AcceptEula /ProductKey:D2N9P-3P6X9-2R39C-7RTCD-MDVJX

then after reboot

(below using your volume product key)

slmgr /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
slmgr /ato

--please don't forget to Accept as answer if the reply is helpful--

🌐
MSGANG
msgang.com › home › windows server 2012 › how to activate windows server 2012 r2 standard for free
How to Activate Windows Server 2012 R2 Standard for Free — MSGANG.COM
June 13, 2026 - 3. Your Windows Server 2012 R2 Standard is activated using a KMS key. It’ll reactivate after every 7 days automatically. So, your Windows is permanently activated. ... ::OutputC:\Windows\system32>cscript //nologo %windir%\system32\slmgr.vbs ...
🌐
MS Guides
msguides.com › ms guides › microsoft software products › activating all versions of windows server without a product key
Activating all versions of Windows Server without a product key - MS Guides
May 21, 2023 - As you know, Windows Server is a specialized operating system which is designed for server only. In today’s post, I will show you how to activate Windows in your VPS or dedicated server for FREE using KMS client product keys. Although the KMS license is valid for 180 days only but there is no limit on the number of activation.
Discussions

windows server 2012R2 re-activation
Hi, Our company need to reformat our 2 servers with hyper V, done with the 1st server, how can we registered or activate it again using our previous license key? I have the screenshot of computer properties it needed. More on learn.microsoft.com
🌐 learn.microsoft.com
5
0
December 29, 2020
Finding windows server 2012r2 standard product key
HI Team, We Can any one help where to find find the product key in windows server 2012r2 where as i had run the multiple commands still we are unable to get the key. Please help us. More on learn.microsoft.com
🌐 learn.microsoft.com
2
0
Windows Server 2012 R2 Licensing Questions
You are confusing the concept of "licensing" with "activation". Proof of licensing is only required in the event that Microsoft conducts an audit of the client business. And the only "proof" you need is either a receipt that you purchased Windows Server through a valid method; either (1) OEM along with the purchase of server hardware, (2) retail box off the shelf, for which you would have a receipt as well as retail Certificate of Authenticity (COA) with the box, or (3) a valid Volume License Agreement with Microsoft. "Activation" is the actual technical process that requires entering the 25-character "key" into an instance of Windows Server. Only Volume License instances activated with a KMS key will "phone home", but that phone home usually involves a corporate activation server and not a Microsoft licensing server. Retail and OEM licensing are generally a one-time Activation process. How does Windows server 2012 verify license status? It doesn't; which is why there are so many instances of pirated Windows Server in the wild. Is there any 100% legitimate way to buy a windows server 2012 R2 key still today? No, but you would buy a legitimate license of Windows Server 2022 Standard Edition. One of the things that the license grants you is something called " downgrade rights ", which lets you install an older version of Windows Server Standard, but you have to provide the installation media yourself. That is, the server hardware itself is licensed according to the terms of Windows Server 2022 (Per-core licensing), but the actual installation is done with Windows Server 2012 R2. That is a valid, licensed configuration. Edit: A valid Volume License Agreement with Microsoft would provide you access to the VLSC, which should still have 2012 R2 activation keys available. For OEM, you would have go through the OEM provider to request a key. That's a bit of a crapshoot as not all OEM tech reps will know how to obtain it on their end. For retail, you would have to call Microsoft Activation support number, explain the situation, provide proof-of-licensing for 2022 and then ask them for an activation key. More on reddit.com
🌐 r/WindowsServer
5
1
May 1, 2024
Installing KMS activation on Server 2012 R2
No, I believe you just need to install the Server 2016 KMS key and it will cover all OSes. That has worked for us. More on reddit.com
🌐 r/WindowsServer
3
4
October 23, 2017
🌐
Microsoft Learn
learn.microsoft.com › en-us › windows-server › get-started › kms-client-activation-keys
Key Management Services (KMS) client activation and product keys | Microsoft Learn
This key is sometimes referred to as the KMS client key, but it's formally known as a Microsoft Generic Volume License Key (GVLK). Computers that are running volume licensing editions of Windows Server and Windows client are, by default, KMS clients with no extra configuration needed as the relevant GVLK is already there.
🌐
GetProductKey
getproductkey.net › home › windows server › windows server 2012 r2 product key free
Windows Server 2012 R2 Product Key Free
After you install, you have 180 days to use Windows Server 2012 R2 Evaluation. Windows Server 2012 R2 Evaluation can’t change product key.
Published: December 6, 2023
🌐
product key
downloadappsforfree.com › free-windows-server-2012-r2-product-key
Free Windows Server 2012 R2 product key
Free Windows Server 2012 R2 product key. H79BP-N24TR-MMRWX-9242F-8B3WMD2N9P-3P6X9-2R39C-7RTCD-MDVJXW3GGN-FT8W3-Y4M27-J84CP-Q3VJ9
Published: November 1, 2023
🌐
PassFab
passfab.com › product-key › download-windows-server-2012-r-2-product-key-free.html
Easy Way to Get Windows Server 2012 R2 Product Key for Free
May 22, 2026 - In this case, you can try out all the features of Windows Server 2012 R2 for free for a period of 180 days. After your evaluation period is over, you will be asked to enter in a product key to continue using the system.
🌐
GitHub
gist.github.com › Tuurash › 1deb7a3bd93a97210688c10b7fcb001f
Microsoft Generic Product Keys for All Editions · GitHub
2 weeks ago - I was checking the generic keys listed here and noticed they’re mainly for installation, not activation.
Find elsewhere
🌐
Keys Support
keys.express › home › docs › instructions for installing and activating windows server (evaluation version)
Instructions for installing and activating Windows Server (Evaluation Version) - Keys Support
December 9, 2025 - To activate the Windows Server, it may be necessary to enter the activation key via the command line / CMD with administrator rights. The first step is to check whether the correct server version is already installed on the device.
🌐
UNIQ
uniq.software › en › help-centre › getting-started › windows-server-2012-r2 › how-do-i-activate-windows-server-2012-r2
How do I activate Windows Server 2012 R2? | UNIQ
Note: We recommend downloading and installing all software updates before starting the activation. Press the Windows key, and on the This PC icon, right-click and select Properties. Then, click on Change product key. Enter the product key. The product key will be automatically recognised.
Top answer
1 of 4
3

Since you're using volume license product keys you should have also used volume center download so the channels line up. As a work around you can try using kms keys as intermediate step.
https://learn.microsoft.com/en-us/windows-server/get-started/kmsclientkeys#windows-server-2012-r2

(below assumes 2012 R2 Standard)

Dism /online /Set-Edition:ServerStandard /AcceptEula /ProductKey:D2N9P-3P6X9-2R39C-7RTCD-MDVJX

then after reboot

(below using your volume product key)

slmgr /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
slmgr /ato

--please don't forget to Accept as answer if the reply is helpful--

2 of 4
1

Hi @lovel echiverri

Seems you missed to pull the product key from machine 1 before rebuild...

From machine 2 :command prompt as administrator --- wmic path softwarelicensingservice get OA3xOriginalProductKey

slmgr /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

slmgr /ato

above commands should tell you original licenses /product keys


Frm machine 2 ---

Open Notepad.
Copy and paste the following text into the notepad window

function Get-WindowsKey {
## function to retrieve the Windows Product Key from any PC
## by Jakob Bindslet (******@bindslet.dk)
param ($targets = ".")
$hklm = 2147483650
$regPath = "Software\Microsoft\Windows NT\CurrentVersion"
$regValue = "DigitalProductId"
Foreach ($target in $targets) {
$productKey = $null
$win32os = $null
$wmi = [WMIClass]"\$target\root\default:stdRegProv"
$data = $wmi.GetBinaryValue($hklm,$regPath,$regValue)
$binArray = ($data.uValue)[52..66]
$charsArray = "B","C","D","F","G","H","J","K","M","P","Q","R","T","V","W","X","Y","2","3","4","6","7","8","9"
## decrypt base24 encoded binary data
For (i -ge 0; $i--) {
$k = 0
For (j -ge 0; $j--) {
$k = $k * 256 -bxor $binArray[binArray[$j] = [math]::truncate(k = $k % 24
}
$productKey = $charsArray[productKey
If ((i -ne 0)) {
$productKey = "-" + $productKey
}
}
$win32os = Get-WmiObject Win32_OperatingSystem -computer $target
$obj = New-Object Object
$obj | Add-Member Noteproperty Computer -value $target
$obj | Add-Member Noteproperty Caption -value $win32os.Caption
$obj | Add-Member Noteproperty CSDVersion -value $win32os.CSDVersion
$obj | Add-Member Noteproperty OSArch -value $win32os.OSArchitecture
$obj | Add-Member Noteproperty BuildNumber -value $win32os.BuildNumber
$obj | Add-Member Noteproperty RegisteredTo -value $win32os.RegisteredUser
$obj | Add-Member Noteproperty ProductID -value $win32os.SerialNumber
$obj | Add-Member Noteproperty ProductKey -value $productkey
$obj
}
}

Save the text above into a file with the ".ps1" extension on the Desktop. Example key.ps1

Open the Powershell console as administrator and type in Set-ExecutionPolicy RemoteSigned

Next type in Import-Module C:\users\"username"\desktop**key.ps1**; Get-WindowsKey

=====

(If the reply was helpful please don't forget to upvote and/or accept as answer, Thank You)

Regards,
J.D.

Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

🌐
GitHub
github.com › sabbirimon › windowskey
GitHub - sabbirimon/windowskey: Microsoft Windows Activation and License Keys for All Version · GitHub
Operating system edition KMS Client Product Key · Windows Server Datacenter 6Y6KB-N82V8-D8CQV-23MJW-BWTG6 · Windows Server Standard DPCNP-XQFKJ-BJF7R-FRC8D-GF6G4 · Windows Server 2012 R2 · Operating system edition KMS Client Product Key · Windows Server 2012 R2 Standard D2N9P-3P6X9-2R39C-7RTCD-MDVJX ·
🌐
PROSOFTKEYS
prosoftkeys.com › home › how to activate windows server keys
How to Activate Windows Server Keys - PROSOFTKEYS
June 2, 2025 - We've also included steps to upgrade from an evaluation version to a full commercial version. ... Go to Server Manager > Local Server, click on the Activate Windows link, enter your product key, and follow the prompts.
🌐
Microsoft Learn
learn.microsoft.com › en-us › answers › questions › 1690740 › finding-windows-server-2012r2-standard-product-key
Finding windows server 2012r2 standard product key - Microsoft Q&A
The Generic Volume License Key (GVLK) for Windows Server 2012 R2 Standard is D2N9P-3P6X9-2R39C-7RTCD-MDVJX. This key is used for KMS client activation and should be pre-installed on your system if it's running a volume licensing edition.
🌐
Activators
activators.pro › home › kms windows activator › windows server 2012
KMS Activator Windows Server 2012 | Download for free
Download the KMS Auto activator to freely activate Windows Server 2012 for both 64-bit (x64) systems, including all editions such as: R2 (2013), Standard, Datacenter, Essentials, Foundation.
🌐
Petri
petri.com › home › windows 10 › a free tool for recovering lost product keys for windows 10, windows server 2012 r2
A Free Tool for Recovering Lost Product Keys for Windows 10, Windows Server 2012 R2 - Petri IT Knowledgebase
September 4, 2024 - Here's a free tool to help IT administrations recover the product key for Windows 10, Windows Server 2012 R2, Microsoft Office, Microsoft Exchange, and more.
🌐
Informaticar
informaticar.net › windows-server-2012-r2-evaluation-keys
Windows Server 2012 R2 Evaluation Keys | IT Blog
Windows Server 2012 R2 evaluation is valid for 180 days. You can „rearm“ Windows Server 2012 R2 evaluation up to 5 times.
🌐
Reddit
reddit.com › r/windowsserver › windows server 2012 r2 licensing questions
r/WindowsServer on Reddit: Windows Server 2012 R2 Licensing Questions
May 1, 2024 -

So basically, I have some legacy software which cannot run on windows server higher than 2012 R2 and I am concerned with what may happen when one of our servers bites the dust. I have a few questions.

  1. How does Windows server 2012 verify license status? My understanding is Microsoft runs a service that windows server 2012 reaches out to when a key is input to verify it is legit. Is this accurate, and if so will this service ever be shut down. Will there be a time when I can no longer activate a 2012 install even with a legitimate key?

  2. Is there any 100% legitimate way to buy a windows server 2012 R2 key still today? I talked to a couple Microsoft Representatives who told me no, but I don't know if they are trustworthy.

Top answer
1 of 4
4
You are confusing the concept of "licensing" with "activation". Proof of licensing is only required in the event that Microsoft conducts an audit of the client business. And the only "proof" you need is either a receipt that you purchased Windows Server through a valid method; either (1) OEM along with the purchase of server hardware, (2) retail box off the shelf, for which you would have a receipt as well as retail Certificate of Authenticity (COA) with the box, or (3) a valid Volume License Agreement with Microsoft. "Activation" is the actual technical process that requires entering the 25-character "key" into an instance of Windows Server. Only Volume License instances activated with a KMS key will "phone home", but that phone home usually involves a corporate activation server and not a Microsoft licensing server. Retail and OEM licensing are generally a one-time Activation process. How does Windows server 2012 verify license status? It doesn't; which is why there are so many instances of pirated Windows Server in the wild. Is there any 100% legitimate way to buy a windows server 2012 R2 key still today? No, but you would buy a legitimate license of Windows Server 2022 Standard Edition. One of the things that the license grants you is something called " downgrade rights ", which lets you install an older version of Windows Server Standard, but you have to provide the installation media yourself. That is, the server hardware itself is licensed according to the terms of Windows Server 2022 (Per-core licensing), but the actual installation is done with Windows Server 2012 R2. That is a valid, licensed configuration. Edit: A valid Volume License Agreement with Microsoft would provide you access to the VLSC, which should still have 2012 R2 activation keys available. For OEM, you would have go through the OEM provider to request a key. That's a bit of a crapshoot as not all OEM tech reps will know how to obtain it on their end. For retail, you would have to call Microsoft Activation support number, explain the situation, provide proof-of-licensing for 2022 and then ask them for an activation key.
2 of 4
1
What software won't run on newer than 2012R2? You need to activate once. 2012 R2 will soon not be supported anymore. I still run a server with it and get small updates once in a while but it should run longer than I am around. If you have retail license you can move it to another server but not for OEM. Best to run it as a virtual machine that you can move from server to server. You can then run it on 2022 or 2030 Server for that matter. I'm not sure but a new license may still activate your old 2012 R2 but make sure you download an iso before it disappears.
🌐
Scribd
scribd.com › document › 943868122 › How-to-activate-Windows-Server-2012-without-a-product-key-for-free-2021
How to activate Windows Server 2012 without a product key for free 2021
The document provides a step-by-step guide on how to activate Windows Server 2012 without a product key for free, valid for 180 days. It includes a list of KMS keys for various versions of Windows Server 2012 and instructions on using the Command Prompt to install and activate the license key.