I have recently been deploying a few windows 2008 R2 and I ran into some activation issues. Where the KMS could not be found and/or did not activate the servers.
First off, there a few commands and output that will give you a good starting point.
C:\Windows\system32>cscript slmgr.vbs /dlv
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
Software licensing service version: 6.1.7600.16385
Name: Windows Server(R), ServerStandard edition
Description: Windows Operating System – Windows Server(R), RETAIL channel
Activation ID: 039998e3-3ef5-4adf-b758-mnbvczxlkjjhh
Application ID: 55c92734-d682-4d71-983e-lkdaskdjaskl
Extended PID: 00477-4444-444-000000-00-1033-7600.0000-3482009
Installation ID: 006386735361234567898785803475982043689521915735258065
Processor Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88342
Machine Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88343
Use License URL: http://go.microsoft.com/fwlink/?LinkID=88345
Product Key Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88344
Partial Product Key: 2YYCD
License Status: Initial grace period
Time remaining: 43200 minute(s) (30 day(s))
Remaining Windows rearm count: 2
Trusted time: 4/27/2010 11:09:12 AM
Or its equivalent with less information slmgr /dli.
In that case, it seems that KMS client is not even set here.
First off, you may want to tell the server where to look to get Keys using the following commands.
To know which server should be register you may want to check the DNS record that
C:\Windows\system32>nslookup -type=srv _vlmcs._tcp.xxxx.net
Server: rrrpdcad02.xxxx.net
Address: 10.9999.15
_vlmcs._tcp.xxxx.net SRV service location:
priority = 0
weight = 0
port = 8081
svr hostname = rrrmskms01.xxxx.net
rrrpmskms01.xxxx.net internet address = 10.99.98.97
With this information you can now register for this server.
C:\Windows\system32>cscript slmgr.vbs /skms rrrpmskms01:1688
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
Key Management Service machine name set to rrrmskms01:1688 successfully.
You will then need to enter a valid key if not already done with you unattended install. Please check the below table with MS provided keys for activation using KMS.
C:\Windows\system32>cscript slmgr.vbs -ipk YC6KT-GKW9T-YTKYR-T4X34-R7VHC
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
Installed product key YC6KT-GKW9T-YTKYR-T4X34-R7VHC successfully.
then trying the activation using the command below I would get another error.
C:\Windows\system32>cscript slmgr.vbs /ato
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
Activating Windows Server(R), ServerStandard edition (039998e3-3ef5-ddasdasdass8-d25fa0128ff4) …
On a computer running Microsoft Windows non-core edition, run ‘slui.exe 0x2a 0x80072EE2′ to display the error text.
Error: 0x80072EE2
Using the mentioned command I would find that 0x80072EE2 means that the operation timed out. Very well, then I may facing some communication errors.
Indeed, as you may have noticed I made a mistake above not using the right port. I used 1688 which the default port instead.
You can also check on your KMS for a status using the slmgr /dlv command:
Key Management Service is enabled on this machine
Current count: 50
Listening on Port: 8081
DNS publishing enabled
KMS priority: Normal
Be sure to use the port that is given by the volume license DNS entry and make sure it communicates. As you may have guessed there are 2 ways a new server where a KMS is install will register. Of course after changing to the right port and can try -ato (activation) again.
- by using the DNS to automatically locate the KMS
- or just register it manually using the commands above
When rightfully registered the /dli or /dlv will give you something like that:
C:\Windows\system32>cscript slmgr.vbs -dli
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
Name: Windows Server(R), ServerStandard edition
Description: Windows Operating System – Windows Server(R), VOLUME_KMSCLIENT channel
Partial Product Key: R99HC
License Status: Licensed
Volume activation expiration: 259200 minute(s) (180 day(s))
Key Management Service client information
Client Machine ID (CMID): 70e4de42-rewa-4c93-gf45-a6d372bc0a19
Registered KMS machine name: rrrpmskms01.xxxx.net:8081
KMS machine extended PID: 55041-009999-313-09999-03-1033-6002.0000-3442009
Activation interval: 120 minutes
Renewal interval: 10080 minutes
KMS host caching is enabled
Activation Keys table (taken from here)
| Operating System Edition |
Product Key |
| Windows 7 |
|
| Windows 7 Professional |
FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4 |
| Windows 7 Professional N |
MRPKT-YTG23-K7D7T-X2JMM-QY7MG |
| Windows 7 Enterprise |
33PXH-7Y6KF-2VJC9-XBBR8-HVTHH |
| Windows 7 Enterprise N |
YDRBP-3D83W-TY26F-D46B2-XCKRJ |
| Windows 7 Enterprise E |
C29WB-22CC8-VJ326-GHFJW-H9DH4 |
| Windows Server 2008 R2 |
|
| Windows Server 2008 R2 HPC Edition |
FKJQ8-TMCVP-FRMR7-4WR42-3JCD7 |
| Windows Server 2008 R2 Datacenter |
74YFP-3QFB3-KQT8W-PMXWJ-7M648 |
| Windows Server 2008 R2 Enterprise |
489J6-VHDMP-X63PK-3K798-CPX3Y |
| Windows Server 2008 R2 for Itanium-Based Systems |
GT63C-RJFQ3-4GMB6-BRFB9-CB83V |
| Windows Server 2008 R2 Standard |
YC6KT-GKW9T-YTKYR-T4X34-R7VHC |
| Windows Web Server 2008 R2 |
6TPJF-RBVHG-WBW2R-86QPH-6RTM4 |