Unable to install Windows Server 2022 Host Key on 2012R2 KMS Service

Posted on

A server stack is the collection of software that forms the operational infrastructure on a given machine. In a computing context, a stack is an ordered pile. A server stack is one type of solution stack — an ordered selection of software that makes it possible to complete a particular task. Like in this post about Unable to install Windows Server 2022 Host Key on 2012R2 KMS Service was one problem in server stack that need for a solution. Below are some tips in manage your windows server when you find problem about windows, upgrade, keys, activation, kms.

I have tried installing “Windows Srv 2022 DataCtr/Std KMS host key” on Windows Server 2012R2 KMS server, but apparently it is failing:

The following error has occurred. Please resolve the error and try again.


The Software Licensing Service reported that the product key is invalid.

I am sure the key is correct, and I have the host key of 2019 already installed. I looked if there is an update to KMS on 2012R2 as the case has been for 2019, but apparently not yet, if anyone has an idea on how to get this going on 2012R2, help appreciated 🙂

I spoke to a Microsoft representative today since we are about to renew our Microsoft products plan, and there are no plans for extending Key Management Service (KMS) on 2012R2 to support Windows Server 2022 activation (or the installation of the 2022 KMS host keys).

As I mentioned earlier in the last comment, I was able to successfully upgrade the KMS server from 2012R2 to 2022 without any issues and installed the 2022 KMS host key. I also removed the 2019 KMS host key as it is no longer required.


I upgraded 47x 2012R2 servers during the last 10 days, I am stunned that all upgrades were successful, among which were servers for Symantec Endpoint Protection Manager, NPS, Certificate authority, Azure AD Sync, WDS, WSUS, KMS, and TFS.

It is also worth mentioning that I as able to install Sharepoint 2019 on Windows server 2022 and it has been running without any issues.

Hope this is useful for people planning to upgrade their setups.

Leave a Reply

Your email address will not be published.