How to fix KMS error in Office 2013 Activation

First of all assume that your KMS is functional, having Office 2013 key installed.  Also the client is able to reach the KMS server on port 1688, and the setting in your internal DNS system is correct.

You can check registry on the client for this:

HKLM\Software\Microsoft\OfficeSoftwareProtectionPlatform\KeyManagementServiceName (REG_SZ)

Here are the two commands you can try specify the KMS server and do manual activation.

cscript ospp.vbs /sethst:fqdn_of_your_kms_server

cscript ospp.vbs /act

For Windows activation, the commands are like this:

  1. cscript slmgr.vbs /skms fqdn_of_your_kms_server
  2. cscript slmgr.vbs /ato

Further, you may want to try uninstalling the product key on a client and then reinstalling it.

slmgr /upk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
then slmgr /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

Reference page from Microsoft:


Active an Office KMS host offline

To active an Office KMS host via the Internet, you can follow the instructions in the following links:

But if you want to keep your KMS host off from the Internet, you can use the Deployment Guide for Office 2013, which can be downloaded from Microsoft.  Here are some notes:

  1. Run the following command under C:\Windows\system32. The result is the installation ID for Office 2013.  You will type this installation ID number into the telephone in step 3.
    cscript slmgr.vbs /dti 2E28138A-847F-42BC-9752-61B03FFF33CD
    Note: The 2E28138A-847F-42BC-9752-61B03FFF33CD value is the Office 2013 activation ID (which is public).  Paste this value exactly as shown.  We recommend pasting this number into Notepad, and then breaking up the number into six groups of six numbers.
  2. Run slui.exe 4, and then call the telephone number displayed, based on which country you are in.
    Note: Ignore the displayed installation ID. This is for Windows.
  3. At each prompt, enter a group of six numbers. This is the installation ID for Office 2013 that you obtained in step 1.
  4. When you hear the response, note the numbers – write them down on the paper, not in the box on the screen.
  5. Run cscript slmgr.vbs /atp xxxxxxxxxxxx 2E28138A-847F-42BC-9752-61B03FFF33CD, where xxxxxxxxxxxx is the confirmation ID that you receive by telephone (there should be 48 numbers).
    Note: The 2E28138A-847F-42BC-9752-61B03FFF33CD value is the Office 2013 activation ID, which is exactly the same as in step 1. Therefore, paste this value exactly as shown.
  6. You should see a message that the confirmation ID was successfully deposited.

Unable to activate Windows Server 2012 against KMS, error code 0x80072EE2

In our environment, we have full implementation of KMS host with the new Windows 8 and Windows Server 2012 keys, (I would write about how run this upgrade later).  Somehow, when we tried to activated a deployed Windows Server 2012, we got the following error log: event ID 8200 and 1014 with error code 0x80072EE2.8200


Verified that the firewall port 1688 and DNS records are all fine in where this server is located, and through a few research, I found this thread in TechNet, although the discussion was in 2009, it seems still applicable.

I got the new client setup key from here:,

then ran the following commands:

slmgr /ipk XC9B7-NBPP2-83J2H-RHMBY-92BT4
slmgr /ato
Voilà!  The Windows Server 2012 is activated!

I guess the root cause could be someone tried to activate this server incorrectly before we started working on it, or that was not from a volume license copy.  I would give credit to cybercoaster in Microsoft forum.  Thanks,

Another link might be useful: