vlmcsd.7.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421
  1. <!-- Creator : groff version 1.22.3 -->
  2. <!-- CreationDate: Sun Jun 5 14:31:10 2016 -->
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  4. "http://www.w3.org/TR/html4/loose.dtd">
  5. <html>
  6. <head>
  7. <meta name="generator" content="groff -Thtml, see www.gnu.org">
  8. <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
  9. <meta name="Content-Style" content="text/css">
  10. <style type="text/css">
  11. p { margin-top: 0; margin-bottom: 0; vertical-align: top }
  12. pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
  13. table { margin-top: 0; margin-bottom: 0; vertical-align: top }
  14. h1 { text-align: center }
  15. </style>
  16. <title>VLMCSD</title>
  17. </head>
  18. <body>
  19. <h1 align="center">VLMCSD</h1>
  20. <a href="#NAME">NAME</a><br>
  21. <a href="#SYNOPSIS">SYNOPSIS</a><br>
  22. <a href="#DESCRIPTION">DESCRIPTION</a><br>
  23. <a href="#AUTHOR">AUTHOR</a><br>
  24. <a href="#SEE ALSO">SEE ALSO</a><br>
  25. <hr>
  26. <h2>NAME
  27. <a name="NAME"></a>
  28. </h2>
  29. <p style="margin-left:11%; margin-top: 1em">vlmcsd&nbsp;&minus;&nbsp;a
  30. guide to KMS activation using vlmcsd</p>
  31. <h2>SYNOPSIS
  32. <a name="SYNOPSIS"></a>
  33. </h2>
  34. <p style="margin-left:11%; margin-top: 1em"><b>vlmcsd</b> [
  35. <i>options</i> ]</p>
  36. <h2>DESCRIPTION
  37. <a name="DESCRIPTION"></a>
  38. </h2>
  39. <p style="margin-left:11%; margin-top: 1em">This manual
  40. describes the concepts of Microsoft KMS activation using
  41. <b>vlmcsd</b>. For detailed usage of <b>vlmcsd</b> see
  42. <b>vlmcsd</b>(8).</p>
  43. <p style="margin-left:11%; margin-top: 1em"><b>What is
  44. KMS?</b> <br>
  45. KMS is a way to activate Microsoft products that was
  46. designed for medium and large businesses. In a standard SOHO
  47. environment you enter a product key during installation and
  48. then activate your product over the Internet. This is done
  49. by sending a request to a server at microsoft.com which then
  50. either grants or refuses activation.</p>
  51. <p style="margin-left:11%; margin-top: 1em">By entering a
  52. special key called General Volume License Key (<b>GVLK</b>),
  53. a.k.a &quot;KMS client key&quot;, the product no longer asks
  54. the Microsoft server for activation but a user-defined
  55. server (called the KMS server) which usually resides in a
  56. company&rsquo;s intranet. <b>vlmcsd</b> is an independent
  57. open source implementation of a KMS server that is available
  58. for everyone while Microsoft gives their KMS server only to
  59. corporations that signed a so called &quot;Select
  60. contract&quot;. In addition <b>vlmcsd</b> never refuses
  61. activation while the Microsoft KMS server only activates the
  62. products the customer has paid for.</p>
  63. <p style="margin-left:11%; margin-top: 1em">Product
  64. activation using <b>vlmcsd</b> is performed in three easy
  65. steps:</p>
  66. <table width="100%" border="0" rules="none" frame="void"
  67. cellspacing="0" cellpadding="0">
  68. <tr valign="top" align="left">
  69. <td width="11%"></td>
  70. <td width="3%">
  71. <p>1)</p></td>
  72. <td width="1%"></td>
  73. <td width="85%">
  74. <p>Run <b>vlmcsd</b> (or any other KMS emulator) on a
  75. computer in your network. This will be your KMS server. New
  76. users should simply run the program without any parameters.
  77. The defaults should fit the needs of most users.</p></td></tr>
  78. <tr valign="top" align="left">
  79. <td width="11%"></td>
  80. <td width="3%">
  81. <p>2)</p></td>
  82. <td width="1%"></td>
  83. <td width="85%">
  84. <p>Install your product and enter the GVLK when you are
  85. asked for a key</p></td></tr>
  86. <tr valign="top" align="left">
  87. <td width="11%"></td>
  88. <td width="3%">
  89. <p>3)</p></td>
  90. <td width="1%"></td>
  91. <td width="85%">
  92. <p>Configure your client (the machine where you installed
  93. your product) to use your KMS server.</p></td></tr>
  94. </table>
  95. <p style="margin-left:11%; margin-top: 1em">However, when
  96. it comes to the details, some things turn out to be more
  97. difficult than you might think.</p>
  98. <p style="margin-left:11%; margin-top: 1em">The most
  99. important thing to know is that KMS activation is not
  100. permanent. The computer remains activated for 180 days (30
  101. or 45 days with consumer-only products). KMS activation
  102. however is not an evaluation license. You can repeat the
  103. activation anytime and as often as you like to extend
  104. activation to another 180 days. This normally happens
  105. automatically. For this to work, you have to ensure that a
  106. KMS server is always reachable for the clients on your
  107. network.</p>
  108. <p style="margin-left:11%; margin-top: 1em">Beginning with
  109. Windows 8.1 the KMS server must be a different computer than
  110. the client. You cannot use <b>vlmcsd</b> on the same
  111. computer where you want to activate a product. If you have
  112. only one computer, you can run <b>vlmcsd</b> in a virtual
  113. machine. <b>vlmcsd</b> is also designed to run on
  114. &quot;always-on devices&quot;, for example a router. The
  115. router becomes your KMS server then.</p>
  116. <p style="margin-left:11%; margin-top: 1em"><b>How to get a
  117. GVLK?</b> <br>
  118. That is relatively simple. The GVLKs are published on
  119. Microsoft&rsquo;s Technet web site.</p>
  120. <p style="margin-left:11%; margin-top: 1em">Windows:
  121. http://technet.microsoft.com/en-us/library/jj612867.aspx
  122. <br>
  123. Office 2010:
  124. http://technet.microsoft.com/en-us/library/ee624355(v=office.14).aspx#section2_3
  125. <br>
  126. Office 2013:
  127. http://technet.microsoft.com/en-us/library/dn385360.aspx</p>
  128. <p style="margin-left:11%; margin-top: 1em">These lists
  129. only include products that Microsoft sells to corporations
  130. via volume license contracts. For Windows there are
  131. inofficial GVLKs that work with consumer-only versions of
  132. Windows. Here is a list:</p>
  133. <p style="margin-left:11%; margin-top: 1em">TX9XD&minus;98N7V&minus;6WMQ6&minus;BX7FG&minus;H8Q99
  134. - Windows 10 Home <br>
  135. 3KHY7&minus;WNT83&minus;DGQKR&minus;F7HPR&minus;844BM -
  136. Windows 10 Home N <br>
  137. 7HNRX&minus;D7KGG&minus;3K4RQ&minus;4WPJ4&minus;YTDFH -
  138. Windows 10 Home Single Language <br>
  139. PVMJN&minus;6DFY6&minus;9CCP6&minus;7BKTT&minus;D3WVR -
  140. Windows 10 Home Country Specific <br>
  141. 789NJ&minus;TQK6T&minus;6XTH8&minus;J39CJ&minus;J8D3P -
  142. Windows 8.1 Professional with Media Center <br>
  143. M9Q9P&minus;WNJJT&minus;6PXPY&minus;DWX8H&minus;6XWKK -
  144. Windows 8.1 Core <br>
  145. 7B9N3&minus;D94CG&minus;YTVHR&minus;QBPX3&minus;RJP64 -
  146. Windows 8.1 Core N <br>
  147. BB6NG&minus;PQ82V&minus;VRDPW&minus;8XVD2&minus;V8P66 -
  148. Windows 8.1 Core Single Language <br>
  149. NCTT7&minus;2RGK8&minus;WMHRF&minus;RY7YQ&minus;JTXG3 -
  150. Windows 8.1 Core Country Specific <br>
  151. GNBB8&minus;YVD74&minus;QJHX6&minus;27H4K&minus;8QHDG -
  152. Windows 8 Professional with Media Center <br>
  153. BN3D2&minus;R7TKB&minus;3YPBD&minus;8DRP2&minus;27GG4 -
  154. Windows 8 Core <br>
  155. 8N2M2&minus;HWPGY&minus;7PGT9&minus;HGDD8&minus;GVGGY -
  156. Windows 8 Core N <br>
  157. 2WN2H&minus;YGCQR&minus;KFX6K&minus;CD6TF&minus;84YXQ -
  158. Windows 8 Core Single Language <br>
  159. 4K36P&minus;JN4VD&minus;GDC6V&minus;KDT89&minus;DYFKP -
  160. Windows 8 Core Country Specific</p>
  161. <p style="margin-left:11%; margin-top: 1em">The above keys
  162. require activation renewal every 45 days (Win 8.1) or 30
  163. days (Win 8). All GVLKs from the Microsoft Technet web site
  164. require renewal every 180 days.</p>
  165. <p style="margin-left:11%; margin-top: 1em"><b>What are
  166. SLMGR and OSPP and how to use them?</b> <br>
  167. You will need these utilities later. So please continue
  168. reading this section.</p>
  169. <p style="margin-left:11%; margin-top: 1em">These are two
  170. Visual Basic script utilities that are used to control
  171. Microsoft&rsquo;s Software Protection system. To use them
  172. open a Windows Command Prompt. slmgr.vbs is for Windows.
  173. ospp.vbs is for Office 2010 and 2013. These utilities are
  174. installed with Windows and Office and you don&rsquo;t need
  175. to download them.</p>
  176. <p style="margin-left:11%; margin-top: 1em">slmgr.vbs
  177. resides in the system32 directory. So you just have to type
  178. &quot;slmgr&quot; in the Windows Command prompt to use it.
  179. To use ospp.vbs you&rsquo;ll have to change the current
  180. directory to your Office installation. This is usually
  181. something like
  182. &quot;C:\Program&nbsp;Files\Microsoft&nbsp;Office\Office14&quot;.
  183. You may type &quot;slmgr&quot; or &quot;cscript
  184. ospp.vbs&quot; without parameters to see help for these
  185. commands but this produces some rather confusing output for
  186. newbies.</p>
  187. <p style="margin-left:11%; margin-top: 1em"><b>How to get
  188. the GVLK into the product?</b> <br>
  189. Normally every product asks you to enter a key during
  190. installation. At this time simply enter the GVLK. If you
  191. skipped this step or entered some other key which later
  192. turned out to be non-working, you can use
  193. &quot;slmgr&nbsp;/ipk&nbsp;<i>GVLK</i>&quot; (Windows) or
  194. &quot;cscript ospp.vbs&nbsp;/inpkey:<i>GVLK</i>&quot;
  195. (Office) at any time. <b><br>
  196. Examples</b></p>
  197. <p style="margin-left:22%;">slmgr&nbsp;/ipk
  198. GCRJD&minus;8NW9H&minus;F2CDX&minus;CCM8D&minus;9D6T9 <br>
  199. cscript
  200. ospp.vbs&nbsp;/inpkey:YC7DK&minus;G2NP3&minus;2QQC3&minus;J6H88&minus;GVGXT</p>
  201. <p style="margin-left:11%; margin-top: 1em"><b>Why
  202. doesn&rsquo;t Office accpet a GVLK?</b> <br>
  203. You&rsquo;ll have to install a volume license (VL) version
  204. of Office. Office versions downloaded from MSDN and/or
  205. Technet are non-VL.</p>
  206. <p style="margin-left:11%; margin-top: 1em"><b>How to
  207. configure a client to use a KMS server?</b> <br>
  208. After you have installed a GVLK you can set your product to
  209. use your KMS server. <b>vlmcsd</b> or another KMS server
  210. must already be running on your server machine. <b><br>
  211. Windows</b></p>
  212. <p style="margin-left:11%; margin-top: 1em">Type
  213. &quot;slmgr&nbsp;/skms&nbsp;<i>kms-server</i>[:<i>tcp-port</i>]&quot;.
  214. Example: &quot;slmgr&nbsp;/skms&nbsp;192.168.1.17:1688&quot;
  215. <b><br>
  216. Office</b></p>
  217. <table width="100%" border="0" rules="none" frame="void"
  218. cellspacing="0" cellpadding="0">
  219. <tr valign="top" align="left">
  220. <td width="11%"></td>
  221. <td width="3%">
  222. <p>1)</p></td>
  223. <td width="1%"></td>
  224. <td width="85%">
  225. <p>Type &quot;cscript
  226. ospp.vbs&nbsp;/sethst:<i>kms-server</i>&quot;. Example
  227. &quot;cscript ospp.vbs&nbsp;/sethst:192.168.1.17&quot;</p></td></tr>
  228. <tr valign="top" align="left">
  229. <td width="11%"></td>
  230. <td width="3%">
  231. <p>2)</p></td>
  232. <td width="1%"></td>
  233. <td width="85%">
  234. <p>Type &quot;cscript
  235. ospp.vbs&nbsp;/setprt:<i>tcp-port</i>&quot;. Example:
  236. cscript ospp.vbs&nbsp;/setprt:1688</p></td></tr>
  237. </table>
  238. <p style="margin-left:11%; margin-top: 1em"><i>tcp-port</i>
  239. is usually 1688 unless you instructed <b>vlmcsd</b> to use a
  240. different port which is rarely necessary.</p>
  241. <p style="margin-left:11%; margin-top: 1em"><b>How to
  242. activate my product?</b> <br>
  243. If you have installed a product with GVLK and pointed it to
  244. working KMS server like <b>vlmcsd</b>, activation occurs
  245. automatically. This may take a while. <br>
  246. You may type</p>
  247. <p style="margin-left:22%;">slmgr&nbsp;/ato <br>
  248. &minus;or&minus; <br>
  249. cscript ospp.vbs&nbsp;/act</p>
  250. <p style="margin-left:11%; margin-top: 1em">at any time to
  251. speed up that process. You may repeat these commands later
  252. to extend your activation for another 180 (45) days.</p>
  253. <p style="margin-left:11%; margin-top: 1em"><b>Does vlmcsd
  254. work correctly?</b> <br>
  255. If something does not work, it may have the cause that
  256. vlmcsd does not work correctly although this is unlikely.
  257. You can test this with the KMS client <b>vlmcs</b>(1). First
  258. type &quot;vlmcs&quot; on the same machine where you started
  259. <b>vlmcsd</b>. If things are ok, you should see something
  260. like this:</p>
  261. <p style="margin-left:22%; margin-top: 1em">Connecting to
  262. 127.0.0.1:1688 ... successful <br>
  263. Sending&nbsp;activation&nbsp;request&nbsp;(KMS&nbsp;V4)&nbsp;1&nbsp;of&nbsp;1&nbsp;&minus;&gt;
  264. 06401&minus;00206&minus;296&minus;206344&minus;03&minus;5179&minus;9600.0000&minus;3432013</p>
  265. <p style="margin-left:11%; margin-top: 1em">If anything
  266. goes wrong, you&rsquo;ll see an error message. Next try
  267. &quot;vlmcs <i>kms-server</i>&quot; from another machine
  268. where <i>kms-server</i> is the hostname or IP address of
  269. your KMS server. If that fails while it works locally,
  270. you&rsquo;ll most likely have to configure your firewall
  271. that it accepts incoming connections on TCP port 1688.</p>
  272. <p style="margin-left:11%; margin-top: 1em"><b>Is there an
  273. easier way than using OSPP and SLMGR?</b> <br>
  274. Yes and no. KMS activation was designed for large
  275. corporations. Thus Microsoft designed KMS in a way that
  276. corporations can configure their network infrastructure to
  277. fully automate KMS activation. Since this involves DHCP and
  278. DNS, it is not that easy to accomplish that for home users.
  279. However, if you are using an open source router firmware
  280. like OpenWRT or DD-WRT, it is easy to customize DHCP and
  281. DNS.</p>
  282. <table width="100%" border="0" rules="none" frame="void"
  283. cellspacing="0" cellpadding="0">
  284. <tr valign="top" align="left">
  285. <td width="11%"></td>
  286. <td width="3%">
  287. <p>1)</p></td>
  288. <td width="1%"></td>
  289. <td width="85%">
  290. <p>Configure DHCP that it assigns a DNS domain name to your
  291. clients (if it doesn&rsquo;t already), e.g.
  292. my-home-net.local</p> </td></tr>
  293. <tr valign="top" align="left">
  294. <td width="11%"></td>
  295. <td width="3%">
  296. <p>2)</p></td>
  297. <td width="1%"></td>
  298. <td width="85%">
  299. <p>Create zone my-home-net.local in your DNS server (if it
  300. doesn&rsquo;t exist already).</p></td></tr>
  301. <tr valign="top" align="left">
  302. <td width="11%"></td>
  303. <td width="3%">
  304. <p>3)</p></td>
  305. <td width="1%"></td>
  306. <td width="85%">
  307. <p>Add the following records to your DNS</p></td></tr>
  308. </table>
  309. <p style="margin-left:15%; margin-top: 1em">_vlmcs._tcp.my-home-net.local.
  310. 10800 IN SRV 100 100 kms1.my-home-net.local. <br>
  311. kms1.my-home-net.local. 10800 IN A 192.168.1.17</p>
  312. <p style="margin-left:15%; margin-top: 1em">Replace
  313. 192.168.1.17 with the IP address of your KMS server. If you
  314. don&rsquo;t like a cache time of 10800 seconds (3 hours),
  315. replace it with another number.</p>
  316. <p style="margin-left:11%; margin-top: 1em">This causes
  317. that clients will find the KMS server automatically.</p>
  318. <h2>AUTHOR
  319. <a name="AUTHOR"></a>
  320. </h2>
  321. <p style="margin-left:11%; margin-top: 1em">This manual
  322. page was written by Hotbird64.</p>
  323. <h2>SEE ALSO
  324. <a name="SEE ALSO"></a>
  325. </h2>
  326. <p style="margin-left:11%; margin-top: 1em"><b>vlmcsd</b>(8),
  327. <b>vlmcs</b>(1)</p>
  328. <hr>
  329. </body>
  330. </html>