Microsoft Enterprise Platforms Support: Windows Server Core Team
Hello, my name is Scott McArthur. I am a Senior Support Escalation Manager in the Windows group and today’s blog will cover KMS volume Activation.
With Windows Vista we introduced 2 methods for activating volume license versions of Windows. Key Management Service (KMS) and Multiple Activation Key (MAK). KMS keys are grouped to activate different sku’s of Windows. See KMS Host Keys to Products Activated for more information. I am going to discuss one of the most common issues we see in support about KMS activation.
Issue:
When you try to activate a computer you receive the following error code: 0xC004C008. This error code means the following:
0xC004C008
The activation server determined that the specified product key could not be used.
KMS
The Key Management Service (KMS) key has exceeded the activation limit.
KMS keys will activate up to 10 times on six different computers. If more activations are necessary, contact the PA Call Center.
Cause
The common issue we see in support is that customers will use their KMS host key to activate individual KMS clients. With Windows XP/2003 a volume license key was used on each computer when you install. So when you apply this same process to Windows Vista, Windows Server 2008, Windows 7, or Windows Server 2008 R2 you will encounter this issue.
The KMS host key should only be installed on your KMS host. The key allows for 6 activations on different hardware and 10 activations on the same hardware. This is so that you can rebuild your KMS host or move the KMS Host functionality to a new system. Everything will appear to work until you reach that seventh activation.
Correct Steps for setting up KMS host and KMS clients.
Note: These are the basic steps. For additional information see the Additional Resources at the end of this blog.
1. Select a computer that you want to be your KMS host.
2. Windows Vista, Windows 7, Windows Server 2008, Windows Server 2008R2, and Windows Server 2003 can be KMS hosts. Which OS you should use depends on a number of factors. Generally we would recommend either Windows Server 2003 or Windows Server 2008R2 so that your KMS host can support Office 2010 activation in the future. Install the Operating system from volume license media. You should not be prompted for a cdkey
At cmd prompt type the following
Slmgr.vbs /ipk <KMS host key>
The /ipk installs the key. Note if you need to change your key. For example change from a KMS_B to KMS_C key you must restart the SLSVC service (Vista/2008) or SPPSVC(Win7/R2).
Slmgr.vbs /ato
The /ato activates the computer. You must activate the KMS host
4. Install the KMS client computers by using volume license media. You should not be prompted for productkey during installation
5. By default these KMS client computers will query DNS and locate your KMS host and activate
Terminology
KMS Host key: This is the key that you obtain from Microsoft for your contract
KMS Host: This is the computer that you have designated as your KMS host
KMS Client: This can be Windows Vista, Windows Server 2008, Windows 7, or Windows Server 2008 R2 computers that you are trying to activate by using KMS.
Resolution
1. First, you must have your KMS Host limit increased so that it can support additional activations. For information about how to reset your KMS key see the following document:
MAK and KMS Volume License Keys and Their Activation Limits:
2. Identify those computers that were incorrectly activated by using the KMS host key which in turn has turned those computers into KMS hosts. The easiest method is to run the following command to output VLMCS DNS records
nslookup -type=all _vlmcs._tcp>kms.txt
If you goto these individual machines you double check this by running the following command
Slmgr.vbs /dlv
I have highlighted some important information in this output. If you see “Key Management Service is enabled” then you know this computer is a KMS host. You can also see the channel of the key that was used to activate the computer. In this example the KMS_C key was used. See KMS Host Keys to Products Activated for information on the different types of keys. The partial product key is also very useful to determine what specific key was used.
3. Re-establish computers as KMS clients either using VAMT remotely or manually on the device itself.
If you have administrative rights to the computers and the computers have WMI enabled in the firewall then it is possible to use the VAMT 2.0 tool to reset these computers remotely.
A. Download and install the VAMT 2.0 tool B. In VAMT console click “All products” C. Enter the computername or IP address D. Right click the computer and choose “Update status” E. Right click the computer and choose “Install Product Key” F. Click “Install a KMS client Key”. Note: This is installing the KMS Client Setup Key
A. Download and install the VAMT 2.0 tool
B. In VAMT console click “All products”
C. Enter the computername or IP address
D. Right click the computer and choose “Update status”
E. Right click the computer and choose “Install Product Key”
F. Click “Install a KMS client Key”. Note: This is installing the KMS Client Setup Key
Once the device shows the key type as ‘GVLK’, then it has re-established itself as a KMS Client.
If you cannot use VAMT 2.0 you can also reset these machines back to KMS clients manually by logging on to them. Type the following at elevated command prompt
Slmgr.vbs /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
Where xxxxx-xxxxx-xxxxx-xxxxx-xxxxx is the KMS Client Setup Key for the edition installed. This will make these computers be KMS clients and look for a KMS host.
4. In order for this change to can either reboot the computer or restart the licensing service
Windows Vista/2008(Software Licensing)
Net stop slsvc
Net start slsvc
Windows 7/Windows Server 2008R2 (Software Protection)
Net stop sppsvc
Net start sppsvc
Note: If you don’t restart or reboot the computer may continue to register itself in DNS as KMS host
A KMS client will look like this. I have highlighted some important information. You can see that this is a Volume_KMSCLIENT Channel. You can see it is using the default key. See KMS Client Setup Key for the default keys. You can also see what KMS host has activated the machine.
5. Open Microsoft DNS MMC or your 3rd party DNS management tool
6. Using the nslookup output as reference locate srv records for those machines that were incorrectly setup as KMS hosts. For example you can see 2 KMS hosts listed in this output (2008KMS and 2003KMS)
7. Delete the records for those computers that were incorrectly setup as KMS hosts so only your approved KMS hosts are listed.
Note: To prevent this from occurring in the future you can create a security group that contains your approved KMS host computers and set permissions on the _VLMCS record so only that group can update it.
Additional resources
Volume Activation Portal: http://technet.microsoft.com/en-us/windows/dd197314.aspx
How to troubleshoot Volume Activation error codes on Windows 7, Windows Server 2008 and Windows Vista-based computers
MAK and KMS Volume License Keys and Their Activation Limits
Top 5 Product Key Activation Challenges IT Pros Encountered and Solved
Microsoft Activation Centers Worldwide Telephone Numbers
KMS Client Setup Keys
Platform
Operating system edition
Product key
Windows 7 and Windows Server 2008 R2
Client
Windows 7 Professional
FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4
Windows 7 Professional N
MRPKT-YTG23-K7D7T-X2JMM-QY7MG
Windows 7 Professional E
W82YF-2Q76Y-63HXB-FGJG9-GF7QX
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
Server
Windows Server 2008 R2 Web
6TPJF-RBVHG-WBW2R-86QPH-6RTM4
Windows Server 2008 R2 HPC edition
FKJQ8-TMCVP-FRMR7-4WR42-3JCD7
Windows Server 2008 R2 Standard
YC6KT-GKW9T-YTKYR-T4X34-R7VHC
Windows Server 2008 R2 Enterprise
489J6-VHDMP-X63PK-3K798-CPX3Y
Windows Server 2008 R2 Datacenter
74YFP-3QFB3-KQT8W-PMXWJ-7M648
Windows Server 2008 R2 for Itanium-based Systems
GT63C-RJFQ3-4GMB6-BRFB9-CB83V
Windows Vista and Windows Server 2008
Windows Vista Business
YFKBB-PQJJV-G996G-VWGXY-2V3X8
Windows Vista Business N
HMBQG-8H2RH-C77VX-27R82-VMQBT
Windows Vista Enterprise
VKK3X-68KWM-X2YGT-QR4M6-4BWMV
Windows Vista Enterprise N
VTC42-BM838-43QHV-84HX6-XJXKV
Windows Web Server 2008
WYR28-R7TFJ-3X2YQ-YCY4H-M249D
Windows Server 2008 Standard
TM24T-X9RMF-VWXK6-X8JC9-BFGM2
Windows Server 2008 Standard without Hyper-V
W7VD6-7JFBR-RX26B-YKQ3Y-6FFFJ
Windows Server 2008 Enterprise
YQGMW-MPWTJ-34KDK-48M3W-X4Q6V
Windows Server 2008 Enterprise without Hyper-V
39BXF-X8Q23-P2WWT-38T2F-G3FPG
Windows Server 2008 HPC
RCTX3-KWVHP-BR6TB-RB6DM-6X7HP
Windows Server 2008 Datacenter
7M67G-PC374-GR742-YH8V4-TCBY3
Windows Server 2008 Datacenter without Hyper-V
22XQ2-VRXRG-P8D42-K34TD-G3QQC
Windows Server 2008 for Itanium-Based Systems
4DWFP-JF3DJ-B7DTH-78FJB-PDRHK
KMS Host Keys to Products Activated
Volume product group
Windows products
Key type
Products activated by key type
Windows Vista
Windows 7
Windows Server 2008 R2
Server Group A:
Windows Web Server® 2008 R2
Windows Server 2008 R2 HPC Edition
Windows HPC Server 2008 R2
KMS_A
Windows Server 2008 R2 Group A
Windows Server 2008 Group A
Windows Vista Volume Editions
Windows 7 Volume Editions
Server Group B
KMS_B
Windows Server 2008 R2 Group B
Windows Server 2008 Group B
Server Group C
Windows Server 2008 R2 for Itanium-Based Systems
KMS_C
Windows Server 2008 R2 Group C
Windows Server 2008 Group C
Scott McArthur Senior Support Escalation Engineer Microsoft Enterprise Platforms Support
3月の投稿が少ないのですが、実は書きたいことがたくさんありすぎて...でも書くための「詰め」作業時間が取れず...。 ひとまず数ある書きたいことの中から、KMSについて拾い集めた情報をまとめておきたいと思います。
If we already installed server 2008 using non VL media, can we convert our machines to KMS clients without re-installing? I tried simply putting in the KMS key using slmgr but all that did was make the machines KMS hosts - ack.
Scott, I believe the slmgr.vbs command options are preceded by a "/" rather than a "-"
e.g., slmgr.vbs /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
See technet.microsoft.com/.../ff793433.aspx.
Thanks,
Darryl
Darryl,
Dashes and slashes both work.
Regards,
Blake
This is absolutely ridiculous! I understand Anti-Piracy and security requirements, but Microsoft have totally ignored usability!
This is a VERY poor solution to say the least!!
I am not using a host. I purchased my copy through the MS agreement with our college's faculty and staff. I updated my pc from windows 7 home edition to windows 7 pro. That worked fine. So, when I purchased a laptop to use at meetings, I tried to do the same. It didn.t work at all, so I did a full install from my disk. Now I am getting this error. This is so infuriating!!! I am not an IT professional, so this article makes no sense to me at all. What can I do?