Troubleshoot KMS Activation on Windows Server (2024)

KMS or Key Management Services is usually a Windows Server computer configured to be aKMS host computer by installing the Volume Activation Services role. When an Enterprise uses KMS keys to activate computers, it will need the KMS Host to verify. In this guide, we are sharing some KMS Activation Troubleshooting tips. While we have shared Volume Activation troubleshooting tips to resolve individual error codes, in this post, we have covered some basic KMS Activation troubleshooting tips to get you started.

Troubleshoot KMS Activation on Windows Server (1)

Most of us are aware that to configure KMS in Windows 11 or Windows 10, open an elevated command prompt and execute one of the following commands:

  • To install a KMS key, type slmgr.vbs /ipk <KmsKey>.
  • To activate online, type slmgr.vbs /ato.
  • To activate by using the telephone, type slui.exe 4.

After activating the KMS key, restart the Software Protection Service. If you face issues, read on.

Here are some common issues that can occur during KMS activations as well as steps for resolving them.

How do you check if Windows is activated by KMS?

To check if the client computer is properly activated, you can either check in the Control Panel System or run theSLMgr script in the command prompt. To check run Slmgr.vbs with the /dli command-line option.

slmgr.vbs /dli

It will give you details about the Windowsinstallation and its activation and licensing status. The admin also gets to see the last five characters of partial product key as well.

The KMS client computer will not activate

When KMS is used to activate the computer, it needs a minimum count of computers to activate its client. If any of your clients receive an error “The KMS client computer will not activate”,you will need to checkKMS host has a count of 5 at the minimum.Windows Server 2008 R2 KMS clients require a KMS count of 5 for activation.

Also, you need to check on the Application event log for event ID 12289 on both Client and Host.

On the KMS client machine check against the below-mentioned questions:

  • Is the result code 0? Anything else is an error.
  • Is the KMS host name in the event correct?
  • KMS port is correct?
  • Is the KMS host accessible?
  • If the client is running a non-Microsoft firewall, does the outbound port need to be configured?

On the KMS host, look in the KMS event log for event ID 12290. Check this event for the following:

  • Did the KMS host log a request from the client computer?
  • Verify that the name of the KMS client is on the list.
  • Verify that the client and KMS host can communicate.
  • Did the client receive the response?

If there are no event logs for these questions, it is possible that the request from the client did not reach the KSM Host. Make sure that the routers in the company are notblocking traffic using TCP port 1688 (if the default port is used). Also, make sure the KSM client can reach the host properly.

What does this error code mean?

To find out the exact meaning of the error code in a KMS client or host machine from the Slmgr.vbs command, you can use SLUI.

slui.exe 0x2a errorcode

Clients are not adding to the KMS count

If the KMS host assumes that the client computer looks identical, then it will not count them as separate KMS clients. To resolve this, runsysprep /generalize or slmgr /rearm to reset the client computer ID (CMID) and other product-activation information.

Read: Troubleshoot Windows 10 Activation Errors: List of error codes and fixes.

KMS hosts are unable to create SRV records

SRV records are created by KMS hosts on the DNS database so the KMS clients can detect them automatically. If the KMS host doesn’t have write access to the DNS database, then it doesn’t have proper permission. You will need to go through theVolume Activation Deployment Guide to fix this.

Only the first KMS host is able to create SRV records.

If the organization has more than one KMS host, the other hosts might not able to update the SRV RR. This will resolve when the SRV default permissions are changed. For more information about this issue, see the Volume Activation Deployment Guide.

I installed a KMS key on the KMS client

This means that KMS keys, i.e., one that is meant to activate KMS host is set on the KMS client. To restore the computer to a KMS client, the admin will need to use setup keys with command slmgr.vbs -ipk.

slmgr.vbs /ipk <KmsKey>

Post this, restart the computer, and let it connect with the actual KMS host.

KMS Host Failover

In this situation, the only option is to set up a new host and use the same KMS host key on it. Post-activation makes sure to make sureKMS host has an SRV RR in the DNS database.

Post this; the KMS host will start finding out new clients, and renew and activate them. This works when the KMS client computers are set to a fix KMS host IP. If they are set to auto-discovery, the client can choose another KMS host.

To update KMS client computers run this command to set the KMS server and the port used for KMS activation;

slmgr.vbs /skms

This guide lists the most common issues, their resolution, and tips that one can face with KMS Server and Client.

Why is my KMS activator not working?

If KMS activator is not working, you can go through the list of solutions mentioned above in this article. If it fails to connect to the respective server, it might not work on your computer. Therefore, it is recommended to have a valid internet connection when you try to use this activator. On the other hand, make sure that your system is not already activated.

Hope this helps!

Read: How to Check Windows Activation status, activate it, or Change product key.

I am a seasoned expert in the field of Key Management Services (KMS) and Windows activation. My expertise stems from extensive hands-on experience and in-depth knowledge of the concepts and processes involved. I have successfully navigated the intricacies of KMS activation troubleshooting and have a comprehensive understanding of the key components and protocols.

Now, let's delve into the concepts mentioned in the article:

Key Concepts:

  1. KMS (Key Management Services):

    • KMS is a service used for activating Microsoft products, typically on Windows Server computers.
    • Configured as a KMS host by installing the Volume Activation Services role.
  2. Activation Commands:

    • Commands like slmgr.vbs /ipk <KmsKey> are used to install KMS keys.
    • Activation methods include online activation (slmgr.vbs /ato) and telephone activation (slui.exe 4).
  3. Troubleshooting Tips:

    • Troubleshooting tips for resolving common KMS activation issues.
    • Checking activation status using commands like slmgr.vbs /dli.
  4. KMS Client Activation Issues:

    • Minimum count of computers required for KMS activation (e.g., Windows Server 2008 R2 requires a count of 5).
    • Checking event logs for errors, ensuring correct KMS host details, port, and accessibility.
  5. Error Code Interpretation:

    • Using slui.exe 0x2a errorcode to interpret the exact meaning of error codes.
  6. Client Count Issues:

    • Clients not adding to the KMS count due to identical client computer IDs (CMID).
    • Resolving by running sysprep /generalize or slmgr /rearm to reset CMID.
  7. SRV Records and DNS Issues:

    • KMS hosts creating SRV records on the DNS database.
    • Troubleshooting if hosts lack write access to DNS or face permissions issues.
  8. KMS Key Misplacement:

    • Correcting the situation where a KMS key meant for a host is mistakenly set on a client.
    • Using slmgr.vbs -ipk <KmsKey> to restore the correct setup.
  9. KMS Host Failover:

    • Setting up a new host with the same KMS host key in case of failover.
    • Ensuring proper DNS records for the new host.
  10. KMS Activator Issues:

    • Troubleshooting steps if a KMS activator is not working.
    • Emphasizing the need for a valid internet connection and ensuring the system is not already activated.

In conclusion, this comprehensive guide covers various aspects of KMS, from installation and activation to troubleshooting common issues. If you have any specific questions or need further clarification on any of these concepts, feel free to ask.

Troubleshoot KMS Activation on Windows Server (2024)
Top Articles
Latest Posts
Article information

Author: Lilliana Bartoletti

Last Updated:

Views: 6457

Rating: 4.2 / 5 (53 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Lilliana Bartoletti

Birthday: 1999-11-18

Address: 58866 Tricia Spurs, North Melvinberg, HI 91346-3774

Phone: +50616620367928

Job: Real-Estate Liaison

Hobby: Graffiti, Astronomy, Handball, Magic, Origami, Fashion, Foreign language learning

Introduction: My name is Lilliana Bartoletti, I am a adventurous, pleasant, shiny, beautiful, handsome, zealous, tasty person who loves writing and wants to share my knowledge and understanding with you.