Troubleshoot “connection to KMS server failed” error

I have received a lot of complaint emails saying that they could not activate their program after folowing instructions in my videos. The issues described here are related to an error message they got as below.

The connection to my KMS server failed! Trying to connect to another one… Please wait…
Sorry! Your version is not supported.

There are two main causes of this issue.

1. The cause of client

First of all, please checkout the latest versions of my scripts here. Most people have trouble using my old ones to activate their apps. Make sure that Windows Update is enabled and your intenret connection is stable before running the batch files. To check if my KMS servers are blocked or not, please open your internet browser then try going to: If the page is visible, it means this server is not blocked.
One other point to note is that you need to run command prompt/batch file with admin rights.

Make sure "administrator" is in the title
Make sure “administrator” is in the title

Otherwise, the connection will be denied by UAC system.

2. The cause of server

Recently I need to do some experiments in the kms7 server so I changed the default KMS port (1688) to another one. And besides, I upgraded CPU and RAM memory on the kms server.
Because the number of daily clients is too big and still increasing over time, so the server can also be stuck at times. You can check and see if the server is overloaded or not here:

If you would have any questions or concerns, please leave your comments. I would be glad to explain in more details. Thank you so much for all your feedback and support!

4.9/5 - (267 votes)

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


      1. try this:

        Use the command “slmgr /” to connect to my KMS server.

          1. Juan can you explain how exactly you used that? do I need to update the script to point to I too am having issues with msguides KMS servers

  1. Hi.
    Installed Office Prof plus 2016 on Win 10 21H2 (with Avira).
    Ran script as admin to activate Office. Script threw exception saying connection to KMS failed.


    Port 1688 allowed in win firewall exceptions
    Avira disarmed
    WMI connection enabled

    Result is still negative.

    following commands completed with success:
    cscript slmgr.vbs -skms
    cscript slmgr.vbs /ato

    2. All URLs are available from the browser
    3. All scripts work just fine on virtual Win7.

    Any ideas?

  2. I got a new machine so my old license is somehow dead. It still works even in 2022. Thanks a lot!

  3. I received a message after trying your method , Sorry, your version is not supported
    Have W 10 Pro N
    I have error 0x80041002
    I not very bilingue
    Bonne journée (du Québec)

  4. IP address has changed to

    Upon running the Command Prompt (cmd) as an admin, I used the following command alternatives in sequence:

    slmgr /ipk yourlicensekey
    slmgr /
    slmgr /ato

    How to open firewall ports in Windows 10:
    • Navigate to Control Panel, System and Security and Windows Firewall.
    • Select Advanced settings and highlight Inbound Rules in the left pane.
    • Right click Inbound Rules and select New Rule.
    • Add the port you need to open and click Next.
    • Add the protocol (TCP or UDP) and the port number into the next window and click Next.
    • Select Allow the connection in the next window and hit Next.
    • Select the network type as you see fit and click Next.
    • Name the rule something meaningful and click Finish.

    Note: In this case I added 2 Rules (TCP 1688 and one for UDP 1688)

    1. “slmgr /” command did not work for me. What I did is open notepad as administrator, open hosts file (location: “C:\Windows\System32\drivers\etc”) and add a new line with the following text
      After that the activation worked fine.

      1. Hello sorry after adding new line, did you save as usual as “1click.cmd”?? or what next after adding the line and text

        1. no no, you save as it was before without extension.
          You just need to replace the original file, and it will work

      2. Thank you for your reply!! I have tried to replace it but unfortunately notification says i don’t have permission to save in that location

        1. You need to run notepad as administrator. Open file location:
          find notepad.exe
          right click, then choose run as admin.

    1. IP changed to
      And its 1688 port is CLOSED !
      Could anyone open it for us, please ?
      Thanks in advance.

  5. No guide on how to open port 1688 on your PC…? this just checks if it open or not, some users might not know how to open a port in the Windows Firewall or there Router(I hope its just the Firewall.. 🙂 ), but as well depends on what Antivirus there using and if it has a Firewall..?

    I only use Defender, nothing else, Antivirus that you have to pay for are a rip off, most viruses are made by the main companies anyway, the point of a virus is to make you buy a Antivirus.. 🙂

  6. Hi, I get an error message saying: “Sorry! Your version is not supported.” What can I try next to get my Windows 8.1 activated?

  7. I am getting error while using command prompt way of activation

    No Key Management Service could be contacted.

    Please help

  8. Hello, thank you for your work. I am very satisfied about the Office 2019 KMS until now. –> OK
    Port 1688 open –> OK
    Starting the cmd-file as administrator says:
    The connectipon to the KMS-server failed …………………. (3)
    Sorry your version is not supported.

    Until today it worked perfect.

    Office starts. A popup comes up: “There is a promblem with your Office-licence. By ligitime software”
    Click it away and a yellow bar comes up under the menu in Word and Excel.

    Please help!

    Best regards, Arnoud

    1. remove the port and just use “”

      like this

      elevatated command propmpt/Powershell command:
      define the KMS Server :
      cscript slmgr.vbs -skms
      then run
      cscript slmgr.vbs /ato
      works fine just did it.