From LedHed's Wiki
Jump to: navigation, search
(Created page with "== General Notes == Key Management Server allows you to handle Volume License activations for its various products. == Windows OS == A newly installed KMS server will not ac...")
 
 
Line 7: Line 7:
  
 
=== slmgr.vbs ===
 
=== slmgr.vbs ===
slmgr /ato  -  Activate
+
slmgr /ato  -  Activate
 
+
slmgr /dli  -  Display information about the active KMS Host license
 +
slmgr /dli all  -  Display information about all KMS Host licenses
 +
slmgr /dlv
 +
slmgr /upk  -  Uninstall the KMS Host Key (thus deactivating KMS services)
 +
slmgr /ipk:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx  -  Change Product Key
  
 
== Office ==
 
== Office ==
Line 23: Line 27:
  
 
  cscript ospp.vbs /act  -  Activate
 
  cscript ospp.vbs /act  -  Activate
 
+
  cscript ospp.vbs /sethst:<YourKMSFQDN>  -  Manually set the KMS hostname
  cscript ospp.vbs /sethst:<YourKMSFQDN>  -  Activate
+
 
Where <YourKMSFQDN> is the fully qualified domain name of your KMS server, something like ''kms.yourdomain.com''
 
Where <YourKMSFQDN> is the fully qualified domain name of your KMS server, something like ''kms.yourdomain.com''
 +
cscript ospp.vbs /inpkey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx - Change Product Key
 +
Where xxxxx-xxxxx-xxxxx-xxxxx-xxxxx is the product key.
 +
cscript ospp.vbs /dcmid  -  Show the current installation ID
  
 
=== ospprearm.exe ===
 
=== ospprearm.exe ===
Line 33: Line 39:
 
or
 
or
 
  C:\Program Files (x86)\Common Files\Microsoft Shared\OfficeSoftwareProtectionPlatform\
 
  C:\Program Files (x86)\Common Files\Microsoft Shared\OfficeSoftwareProtectionPlatform\
 +
 +
 +
== References ==
 +
https://technet.microsoft.com/en-us/library/ff793434.aspx
  
  
 
[[Category:Microsoft_KMS]]
 
[[Category:Microsoft_KMS]]

Latest revision as of 19:01, 18 March 2016

General Notes

Key Management Server allows you to handle Volume License activations for its various products.


Windows OS

A newly installed KMS server will not activate clients until there are 25 or more unique activation requests. If your KMS server has received fewer requests, the clients will get the following error 0xC004F038 more info can be found in the following article: KMS Activation Error

slmgr.vbs

slmgr /ato  -  Activate
slmgr /dli  -  Display information about the active KMS Host license
slmgr /dli all  -  Display information about all KMS Host licenses
slmgr /dlv
slmgr /upk  -  Uninstall the KMS Host Key (thus deactivating KMS services)
slmgr /ipk:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx  -  Change Product Key

Office

ospp.vbs

Typically located in:

C:\Program Files\Microsoft Office\<OfficeVersion>\

or

C:\Program Files (x86)\Microsoft Office\<OfficeVersion>\

Where <OfficeVersion> is:

  • Office14 - Office 2010
  • Office15 - Office 2013
  • Office16 - Office 2016
cscript ospp.vbs /act  -  Activate
cscript ospp.vbs /sethst:<YourKMSFQDN>  -  Manually set the KMS hostname

Where <YourKMSFQDN> is the fully qualified domain name of your KMS server, something like kms.yourdomain.com

cscript ospp.vbs /inpkey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx - Change Product Key

Where xxxxx-xxxxx-xxxxx-xxxxx-xxxxx is the product key.

cscript ospp.vbs /dcmid  -  Show the current installation ID

ospprearm.exe

This utility will re-arm the office installation ID (CMID)
Typically located in:

C:\Program Files\Common Files\Microsoft Shared\OfficeSoftwareProtectionPlatform\

or

C:\Program Files (x86)\Common Files\Microsoft Shared\OfficeSoftwareProtectionPlatform\


References

https://technet.microsoft.com/en-us/library/ff793434.aspx