Windows 10 / Office 2016 – KMS Activation
Required Windows Server Updates
The following update is required for Windows 10 activation:
- Windows Server 2012 R2 / KB3173424 – https://support.microsoft.com/kb/3173424
- Windows Server 2012 / KB3173426 – https://support.microsoft.com/kb/3173426
The following update is required for Office 2016 activation:
- Microsoft Office 2016 Volume License Pack – https://www.microsoft.com/en-us/download/details.aspx?id=49164&751be11f-ede8-5a0c-058c-2ee190a24fa6
Activation by Command Line
Step 1
Type the following command to integrate your volume license key to the KMS server.
C:\Windows\System32>cscript slmgr.vbs /ipk XXXX-XXXX-XXXX-XXXX-XXXXX Microsoft (R) Windows Script Host Version 5.8 Copyright (C) Microsoft Corporation. All rights reserved. Installed product key XXXX-XXXX-XXXX-XXXX-XXXXX successfully.
If the key isn’t accepted by the server you will receive the error 0xC004F015.
Step 2
Display the installation ID that is necessary for telephone activation.
C:\Windows\System32>cscript slmgr.vbs /dti Microsoft (R) Windows Script Host Version 5.8 Copyright (C) Microsoft Corporation. All rights reserved. Installation ID: 012345678901234567890123456789012345678901234567890
Step 3
Activate your KMS key by calling Microsoft hotline for product actiavtion and enter your “Instllation ID” by telephone. You will receive a “Confirmation ID” that must be entered by the following command.
C:\Windows\System32>cscript slmgr.vbs /atp 344813441331539443010980848521935031229423670225 Microsoft (R) Windows Script Host Version 5.8 Copyright (C) Microsoft Corporation. All rights reserved. Confirmation ID for product 7b37c913-252b-46be-ad80-b2b5ceade8af deposited successfully.
If the activation ID isn’t accepted you will receive the error 0xC004F04D. Retry the phone activation in most cases you just entered a wrong installation ID. Sometimes the hotline is telling you a wrong “Confirmation ID” or answers you in languages you have never heard about. I had that problems several times… Your only chane is to open a MS ticket to solve the problem. I’ve tried to solve problems like these with the activiation hotline but most of the guys are not familiar with the Windows activation.
slmgr.vbs /dli
Step 4 – Office 2016
Type the following command to integrate your volume license key to the KMS server.
C:\Windows\System32>cscript slmgr.vbs /ipk XXXX-XXXX-XXXX-XXXX-XXXXX Microsoft (R) Windows Script Host Version 5.8 Copyright (C) Microsoft Corporation. All rights reserved. Installed product key XXXX-XXXX-XXXX-XXXX-XXXXX successfully.
If the key isn’t accepted by the server you will receive the error 0xC004F015.
Step 5 – Office 2016
Display the installation ID that is necessary for telephone activation. You have to add “98EBFE73-2084-4C97-932C-C0CD1643BEA7” to receive the Office 2016 installation id otherwise you will receive the installation ID for Windows Server 2016 / Windows 10.
C:\Windows\System32><strong>cscript slmgr.vbs /dti 98EBFE73-2084-4C97-932C-C0CD1643BEA7 Microsoft (R) Windows Script Host Version 5.8 Copyright (C) Microsoft Corporation. All rights reserved. Installation ID: 012345678901234567890123456789012345678901234567890
Step 6 – Office 2016
Activate your KMS key by calling Microsoft hotline for product actiavtion and enter your “Instllation ID” by telephone. You will receive a “Confirmation ID” that must be entered by the following command. You have to add ” 98EBFE73-2084-4C97-932C-C0CD1643BEA7” for Office 2016 activation otherwise you’ll try to activate Windows Server 2016 / Windows 10 with an Office “Confirmation ID”.
C:\Windows\System32>cscript slmgr.vbs /atp 344813441331539443010980848521935031229423670225 98EBFE73-2084-4C97-932C-C0CD1643BEA7 Microsoft (R) Windows Script Host Version 5.8 Copyright (C) Microsoft Corporation. All rights reserved. Confirmation ID for product 98EBFE73-2084-4C97-932C-C0CD1643BEA7 deposited successfully.
slmgr.vbs /dli 98EBFE73-2084-4C97-932C-C0CD1643BEA7
Configure DNS
When the KMS configuration part is done you have to tell your Windows clients where to find the KMS host system. Therefore I recommend to set up a “SRV Resource Record” in your DNS as it is explained in detail at MS Technet: https://technet.microsoft.com/en-us/library/ff793405.aspx
There are also ways to configure a static entry in your Windows 10 OS deployment or Office 2016 deployment. But when your environment receives a change for example the hostname of your KMS or you have to replace your KMS server by another one you will get in trouble fixing all that static links. I’ve seen a lot of customers setting up static links to the KMS server which was easy to configure for the project first, but for the operations team it was a mess.
In most companies the DNS record will be created by the “Network Team”. So how can we ensure that these guys have done their work? Just type the following command on any Windows 10 client that is member of your domain.
nslookup -type=SRV _vlmcs._tcp
Result
Server: W10client.customer.local Address: 12.123.12.12 _vlmcs._tcp.customer.local SRV service location: priority = 0 weight = 0 port = 1688 svr hostname = server01.customer.local _vlmcs._tcp.customer.local SRV service location: priority = 0 weight = 0 port = 1688 svr hostname = server02.customer.local
As you can see in this example there are two KMS servers available.
Common Errors
Error 0xC004F015
Error: 0xC004F015 On a computer running Microsoft Windows non-core edition, run 'slui.exe 0x2a 0xC004F015' to display the error text.
If you receive the error 0xC004F015 your entered key is invalid and can not be used by the KMS server. Check if all neccessarry updates were installed!
Error 0xc004f038
0xc004f038: The Software Licensing Service reported that the computer could not be activated. The count reported by your Key Management Service (KMS) is insufficient. Please contact your system administrator.
This error occures when not enough clients are registered at the KMS server yet. The KMS Server will start activating clients successfull when he receives 20 requests from different machines. (Office 2016 – 5 requests)
Check your “Current count” status:
- Windows 10 / Server 2016 – slmgr.vbs /dli
- Office 2016 – slmgr.vbs /dli 98EBFE73-2084-4C97-932C-C0CD1643BEA7