vlmcsd.7.unix.txt 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. VLMCSD(7) KMS Activation Manual VLMCSD(7)
  2. NAME
  3. vlmcsd - a guide to KMS activation using vlmcsd
  4. SYNOPSIS
  5. vlmcsd [ options ]
  6. DESCRIPTION
  7. This manual describes the concepts of Microsoft KMS activation using
  8. vlmcsd. For detailed usage of vlmcsd see vlmcsd(8).
  9. What is KMS?
  10. KMS is a way to activate Microsoft products that was designed for
  11. medium and large businesses. In a standard SOHO environment you enter a
  12. product key during installation and then activate your product over the
  13. Internet. This is done by sending a request to a server at micro‐
  14. soft.com which then either grants or refuses activation.
  15. By entering a special key called General Volume License Key (GVLK),
  16. a.k.a "KMS client key", the product no longer asks the Microsoft server
  17. for activation but a user-defined server (called the KMS server) which
  18. usually resides in a company's intranet. vlmcsd is an independent open
  19. source implementation of a KMS server that is available for everyone
  20. while Microsoft gives their KMS server only to corporations that signed
  21. a so called "Select contract". In addition vlmcsd never refuses activa‐
  22. tion while the Microsoft KMS server only activates the products the
  23. customer has paid for.
  24. Product activation using vlmcsd is performed in three easy steps:
  25. 1) Run vlmcsd (or any other KMS emulator) on a computer in your net‐
  26. work. This will be your KMS server. New users should simply run the
  27. program without any parameters. The defaults should fit the needs of
  28. most users.
  29. 2) Install your product and enter the GVLK when you are asked for a key
  30. 3) Configure your client (the machine where you installed your product)
  31. to use your KMS server.
  32. However, when it comes to the details, some things turn out to be more
  33. difficult than you might think.
  34. The most important thing to know is that KMS activation is not perma‐
  35. nent. The computer remains activated for 180 days (30 or 45 days with
  36. consumer-only products). KMS activation however is not an evaluation
  37. license. You can repeat the activation anytime and as often as you like
  38. to extend activation to another 180 days. This normally happens auto‐
  39. matically. For this to work, you have to ensure that a KMS server is
  40. always reachable for the clients on your network.
  41. Beginning with Windows 8.1 the KMS server must be a different computer
  42. than the client. You cannot use vlmcsd on the same computer where you
  43. want to activate a product. If you have only one computer, you can run
  44. vlmcsd in a virtual machine. vlmcsd is also designed to run on "always-
  45. on devices", for example a router. The router becomes your KMS server
  46. then.
  47. How to get a GVLK?
  48. That is relatively simple. The GVLKs are published on Microsoft's Tech‐
  49. net web site.
  50. Windows: http://technet.microsoft.com/en-us/library/jj612867.aspx
  51. Office 2010: http://technet.microsoft.com/en-
  52. us/library/ee624355(v=office.14).aspx#section2_3
  53. Office 2013: http://technet.microsoft.com/en-us/library/dn385360.aspx
  54. These lists only include products that Microsoft sells to corporations
  55. via volume license contracts. For Windows there are inofficial GVLKs
  56. that work with consumer-only versions of Windows. Here is a list:
  57. TX9XD-98N7V-6WMQ6-BX7FG-H8Q99 - Windows 10 Home
  58. 3KHY7-WNT83-DGQKR-F7HPR-844BM - Windows 10 Home N
  59. 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH - Windows 10 Home Single Language
  60. PVMJN-6DFY6-9CCP6-7BKTT-D3WVR - Windows 10 Home Country Specific
  61. 789NJ-TQK6T-6XTH8-J39CJ-J8D3P - Windows 8.1 Professional with Media
  62. Center
  63. M9Q9P-WNJJT-6PXPY-DWX8H-6XWKK - Windows 8.1 Core
  64. 7B9N3-D94CG-YTVHR-QBPX3-RJP64 - Windows 8.1 Core N
  65. BB6NG-PQ82V-VRDPW-8XVD2-V8P66 - Windows 8.1 Core Single Language
  66. NCTT7-2RGK8-WMHRF-RY7YQ-JTXG3 - Windows 8.1 Core Country Specific
  67. GNBB8-YVD74-QJHX6-27H4K-8QHDG - Windows 8 Professional with Media Cen‐
  68. ter
  69. BN3D2-R7TKB-3YPBD-8DRP2-27GG4 - Windows 8 Core
  70. 8N2M2-HWPGY-7PGT9-HGDD8-GVGGY - Windows 8 Core N
  71. 2WN2H-YGCQR-KFX6K-CD6TF-84YXQ - Windows 8 Core Single Language
  72. 4K36P-JN4VD-GDC6V-KDT89-DYFKP - Windows 8 Core Country Specific
  73. The above keys require activation renewal every 45 days (Win 8.1) or 30
  74. days (Win 8). All GVLKs from the Microsoft Technet web site require
  75. renewal every 180 days.
  76. What are SLMGR and OSPP and how to use them?
  77. You will need these utilities later. So please continue reading this
  78. section.
  79. These are two Visual Basic script utilities that are used to control
  80. Microsoft's Software Protection system. To use them open a Windows Com‐
  81. mand Prompt. slmgr.vbs is for Windows. ospp.vbs is for Office 2010 and
  82. 2013. These utilities are installed with Windows and Office and you
  83. don't need to download them.
  84. slmgr.vbs resides in the system32 directory. So you just have to type
  85. "slmgr" in the Windows Command prompt to use it. To use ospp.vbs you'll
  86. have to change the current directory to your Office installation. This
  87. is usually something like "C:\Program Files\Microsoft Office\Office14".
  88. You may type "slmgr" or "cscript ospp.vbs" without parameters to see
  89. help for these commands but this produces some rather confusing output
  90. for newbies.
  91. How to get the GVLK into the product?
  92. Normally every product asks you to enter a key during installation. At
  93. this time simply enter the GVLK. If you skipped this step or entered
  94. some other key which later turned out to be non-working, you can use
  95. "slmgr /ipk GVLK" (Windows) or "cscript ospp.vbs /inpkey:GVLK" (Office)
  96. at any time.
  97. Examples
  98. slmgr /ipk GCRJD-8NW9H-F2CDX-CCM8D-9D6T9
  99. cscript ospp.vbs /inpkey:YC7DK-G2NP3-2QQC3-J6H88-GVGXT
  100. Why doesn't Office accpet a GVLK?
  101. You'll have to install a volume license (VL) version of Office. Office
  102. versions downloaded from MSDN and/or Technet are non-VL.
  103. How to configure a client to use a KMS server?
  104. After you have installed a GVLK you can set your product to use your
  105. KMS server. vlmcsd or another KMS server must already be running on
  106. your server machine.
  107. Windows
  108. Type "slmgr /skms kms-server[:tcp-port]". Example:
  109. "slmgr /skms 192.168.1.17:1688"
  110. Office
  111. 1) Type "cscript ospp.vbs /sethst:kms-server". Example "cscript
  112. ospp.vbs /sethst:192.168.1.17"
  113. 2) Type "cscript ospp.vbs /setprt:tcp-port". Example: cscript
  114. ospp.vbs /setprt:1688
  115. tcp-port is usually 1688 unless you instructed vlmcsd to use a differ‐
  116. ent port which is rarely necessary.
  117. How to activate my product?
  118. If you have installed a product with GVLK and pointed it to working KMS
  119. server like vlmcsd, activation occurs automatically. This may take a
  120. while.
  121. You may type
  122. slmgr /ato
  123. -or-
  124. cscript ospp.vbs /act
  125. at any time to speed up that process. You may repeat these commands
  126. later to extend your activation for another 180 (45) days.
  127. Does vlmcsd work correctly?
  128. If something does not work, it may have the cause that vlmcsd does not
  129. work correctly although this is unlikely. You can test this with the
  130. KMS client vlmcs(1). First type "vlmcs" on the same machine where you
  131. started vlmcsd. If things are ok, you should see something like this:
  132. Connecting to 127.0.0.1:1688 ... successful
  133. Sending activation request (KMS V4) 1 of 1 ->
  134. 06401-00206-296-206344-03-5179-9600.0000-3432013
  135. If anything goes wrong, you'll see an error message. Next try "vlmcs
  136. kms-server" from another machine where kms-server is the hostname or IP
  137. address of your KMS server. If that fails while it works locally,
  138. you'll most likely have to configure your firewall that it accepts
  139. incoming connections on TCP port 1688.
  140. Is there an easier way than using OSPP and SLMGR?
  141. Yes and no. KMS activation was designed for large corporations. Thus
  142. Microsoft designed KMS in a way that corporations can configure their
  143. network infrastructure to fully automate KMS activation. Since this
  144. involves DHCP and DNS, it is not that easy to accomplish that for home
  145. users. However, if you are using an open source router firmware like
  146. OpenWRT or DD-WRT, it is easy to customize DHCP and DNS.
  147. 1) Configure DHCP that it assigns a DNS domain name to your clients (if
  148. it doesn't already), e.g. my-home-net.local
  149. 2) Create zone my-home-net.local in your DNS server (if it doesn't
  150. exist already).
  151. 3) Add the following records to your DNS
  152. _vlmcs._tcp.my-home-net.local. 10800 IN SRV 100 100 kms1.my-home-
  153. net.local.
  154. kms1.my-home-net.local. 10800 IN A 192.168.1.17
  155. Replace 192.168.1.17 with the IP address of your KMS server. If you
  156. don't like a cache time of 10800 seconds (3 hours), replace it with
  157. another number.
  158. This causes that clients will find the KMS server automatically.
  159. AUTHOR
  160. This manual page was written by Hotbird64.
  161. SEE ALSO
  162. vlmcsd(8), vlmcs(1)
  163. Hotbird64 March 2016 VLMCSD(7)