KMS Server: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 2: Line 2:
To remove KMS from a server you need to reset the license key back to the default, this is achieved by running the following command;
To remove KMS from a server you need to reset the license key back to the default, this is achieved by running the following command;
<pre>
<pre>
cscript c:\windows\system32\slmgr.vbs –upk
slmgr –upk
cscript c:\windows\system32\slmgr.vbs /ipk <license key goes here>
slmgr -ipk <license key goes here>
</pre>
</pre>


Line 72: Line 72:


<pre>
<pre>
cscript c:\windows\system32\slmgr.vbs /ipk YFKBB-PQJJV-G996G-VWGXY-2V3X8
slmgr -ipk YFKBB-PQJJV-G996G-VWGXY-2V3X8
cscript c:\windows\system32\slmgr.vbs -ato  
slmgr -ato  
</pre>
</pre>


Line 81: Line 81:


<pre>
<pre>
cscript c:\windows\system32\slmgr.vbs –skms myserver.domain.com
slmgr –skms myserver.domain.com
cscript c:\windows\system32\slmgr.vbs -ato  
slmgr -ato  
</pre>
</pre>


For further information review the [http://www.microsoft.com/downloads/details.aspx?familyid=9893F83E-C8A5-4475-B025-66C6B38B46E3&displaylang=en Deployment Guide]
For further information review the [http://www.microsoft.com/downloads/details.aspx?familyid=9893F83E-C8A5-4475-B025-66C6B38B46E3&displaylang=en Deployment Guide]
[[Category: Windows 2008 Server Core]]
[[Category: Windows 2008 Server Core]]

Revision as of 02:33, 23 August 2010

Reset to Default

To remove KMS from a server you need to reset the license key back to the default, this is achieved by running the following command;

slmgr –upk
slmgr -ipk <license key goes here>
Operating System Edition Product Key
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 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
Windows Server 2008 Enterprise YQGMW-MPWTJ-34KDK-48M3W-X4Q6V
Windows Server 2008 Enterprise without Hyper-V 39BXF-X8Q23-P2WWT-38T2F-G3FPG
Windows Server 2008 Standard TM24T-X9RMF-VWXK6-X8JC9-BFGM2
Windows Server 2008 Standard without Hyper-V W7VD6-7JFBR-RX26B-YKQ3Y-6FFFJ
Windows Web Server 2008 WYR28-R7TFJ-3X2YQ-YCY4H-M249D
Windows 7 Professional FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4
Windows 7 Enterprise 33PXH-7Y6KF-2VJC9-XBBR8-HVTHH
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

So to reset the license key for a Vista client you would run this command;

slmgr -ipk YFKBB-PQJJV-G996G-VWGXY-2V3X8
slmgr -ato 

Set KMS

While we wait for the incorrect KMS servers to be removed from the domain, you can manually direct the Vista client you are having trouble with to a specific server running KMS by running this command;


slmgr –skms myserver.domain.com
slmgr -ato 

For further information review the Deployment Guide