vlmcsd.7.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416
  1. <!-- Creator : groff version 1.22.3 -->
  2. <!-- CreationDate: Fri Oct 21 03:17: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;-&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-98N7V-6WMQ6-BX7FG-H8Q99
  134. - Windows 10 Home <br>
  135. 3KHY7-WNT83-DGQKR-F7HPR-844BM - Windows 10 Home N <br>
  136. 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH - Windows 10 Home Single
  137. Language <br>
  138. PVMJN-6DFY6-9CCP6-7BKTT-D3WVR - Windows 10 Home Country
  139. Specific <br>
  140. 789NJ-TQK6T-6XTH8-J39CJ-J8D3P - Windows 8.1 Professional
  141. with Media Center <br>
  142. M9Q9P-WNJJT-6PXPY-DWX8H-6XWKK - Windows 8.1 Core <br>
  143. 7B9N3-D94CG-YTVHR-QBPX3-RJP64 - Windows 8.1 Core N <br>
  144. BB6NG-PQ82V-VRDPW-8XVD2-V8P66 - Windows 8.1 Core Single
  145. Language <br>
  146. NCTT7-2RGK8-WMHRF-RY7YQ-JTXG3 - Windows 8.1 Core Country
  147. Specific <br>
  148. GNBB8-YVD74-QJHX6-27H4K-8QHDG - Windows 8 Professional with
  149. Media Center <br>
  150. BN3D2-R7TKB-3YPBD-8DRP2-27GG4 - Windows 8 Core <br>
  151. 8N2M2-HWPGY-7PGT9-HGDD8-GVGGY - Windows 8 Core N <br>
  152. 2WN2H-YGCQR-KFX6K-CD6TF-84YXQ - Windows 8 Core Single
  153. Language <br>
  154. 4K36P-JN4VD-GDC6V-KDT89-DYFKP - Windows 8 Core Country
  155. Specific</p>
  156. <p style="margin-left:11%; margin-top: 1em">The above keys
  157. require activation renewal every 45 days (Win 8.1) or 30
  158. days (Win 8). All GVLKs from the Microsoft Technet web site
  159. require renewal every 180 days.</p>
  160. <p style="margin-left:11%; margin-top: 1em"><b>What are
  161. SLMGR and OSPP and how to use them?</b> <br>
  162. You will need these utilities later. So please continue
  163. reading this section.</p>
  164. <p style="margin-left:11%; margin-top: 1em">These are two
  165. Visual Basic script utilities that are used to control
  166. Microsoft&rsquo;s Software Protection system. To use them
  167. open a Windows Command Prompt. slmgr.vbs is for Windows.
  168. ospp.vbs is for Office 2010 and 2013. These utilities are
  169. installed with Windows and Office and you don&rsquo;t need
  170. to download them.</p>
  171. <p style="margin-left:11%; margin-top: 1em">slmgr.vbs
  172. resides in the system32 directory. So you just have to type
  173. &quot;slmgr&quot; in the Windows Command prompt to use it.
  174. To use ospp.vbs you&rsquo;ll have to change the current
  175. directory to your Office installation. This is usually
  176. something like
  177. &quot;C:\Program&nbsp;Files\Microsoft&nbsp;Office\Office14&quot;.
  178. You may type &quot;slmgr&quot; or &quot;cscript
  179. ospp.vbs&quot; without parameters to see help for these
  180. commands but this produces some rather confusing output for
  181. newbies.</p>
  182. <p style="margin-left:11%; margin-top: 1em"><b>How to get
  183. the GVLK into the product?</b> <br>
  184. Normally every product asks you to enter a key during
  185. installation. At this time simply enter the GVLK. If you
  186. skipped this step or entered some other key which later
  187. turned out to be non-working, you can use
  188. &quot;slmgr&nbsp;/ipk&nbsp;<i>GVLK</i>&quot; (Windows) or
  189. &quot;cscript ospp.vbs&nbsp;/inpkey:<i>GVLK</i>&quot;
  190. (Office) at any time. <b><br>
  191. Examples</b></p>
  192. <p style="margin-left:22%;">slmgr&nbsp;/ipk
  193. GCRJD-8NW9H-F2CDX-CCM8D-9D6T9 <br>
  194. cscript
  195. ospp.vbs&nbsp;/inpkey:YC7DK-G2NP3-2QQC3-J6H88-GVGXT</p>
  196. <p style="margin-left:11%; margin-top: 1em"><b>Why
  197. doesn&rsquo;t Office accpet a GVLK?</b> <br>
  198. You&rsquo;ll have to install a volume license (VL) version
  199. of Office. Office versions downloaded from MSDN and/or
  200. Technet are non-VL.</p>
  201. <p style="margin-left:11%; margin-top: 1em"><b>How to
  202. configure a client to use a KMS server?</b> <br>
  203. After you have installed a GVLK you can set your product to
  204. use your KMS server. <b>vlmcsd</b> or another KMS server
  205. must already be running on your server machine. <b><br>
  206. Windows</b></p>
  207. <p style="margin-left:11%; margin-top: 1em">Type
  208. &quot;slmgr&nbsp;/skms&nbsp;<i>kms-server</i>[:<i>tcp-port</i>]&quot;.
  209. Example: &quot;slmgr&nbsp;/skms&nbsp;192.168.1.17:1688&quot;
  210. <b><br>
  211. Office</b></p>
  212. <table width="100%" border="0" rules="none" frame="void"
  213. cellspacing="0" cellpadding="0">
  214. <tr valign="top" align="left">
  215. <td width="11%"></td>
  216. <td width="3%">
  217. <p>1)</p></td>
  218. <td width="1%"></td>
  219. <td width="85%">
  220. <p>Type &quot;cscript
  221. ospp.vbs&nbsp;/sethst:<i>kms-server</i>&quot;. Example
  222. &quot;cscript ospp.vbs&nbsp;/sethst:192.168.1.17&quot;</p></td></tr>
  223. <tr valign="top" align="left">
  224. <td width="11%"></td>
  225. <td width="3%">
  226. <p>2)</p></td>
  227. <td width="1%"></td>
  228. <td width="85%">
  229. <p>Type &quot;cscript
  230. ospp.vbs&nbsp;/setprt:<i>tcp-port</i>&quot;. Example:
  231. cscript ospp.vbs&nbsp;/setprt:1688</p></td></tr>
  232. </table>
  233. <p style="margin-left:11%; margin-top: 1em"><i>tcp-port</i>
  234. is usually 1688 unless you instructed <b>vlmcsd</b> to use a
  235. different port which is rarely necessary.</p>
  236. <p style="margin-left:11%; margin-top: 1em"><b>How to
  237. activate my product?</b> <br>
  238. If you have installed a product with GVLK and pointed it to
  239. working KMS server like <b>vlmcsd</b>, activation occurs
  240. automatically. This may take a while. <br>
  241. You may type</p>
  242. <p style="margin-left:22%;">slmgr&nbsp;/ato <br>
  243. -or- <br>
  244. cscript ospp.vbs&nbsp;/act</p>
  245. <p style="margin-left:11%; margin-top: 1em">at any time to
  246. speed up that process. You may repeat these commands later
  247. to extend your activation for another 180 (45) days.</p>
  248. <p style="margin-left:11%; margin-top: 1em"><b>Does vlmcsd
  249. work correctly?</b> <br>
  250. If something does not work, it may have the cause that
  251. vlmcsd does not work correctly although this is unlikely.
  252. You can test this with the KMS client <b>vlmcs</b>(1). First
  253. type &quot;vlmcs&quot; on the same machine where you started
  254. <b>vlmcsd</b>. If things are ok, you should see something
  255. like this:</p>
  256. <p style="margin-left:22%; margin-top: 1em">Connecting to
  257. 127.0.0.1:1688 ... successful <br>
  258. Sending&nbsp;activation&nbsp;request&nbsp;(KMS&nbsp;V4)&nbsp;1&nbsp;of&nbsp;1&nbsp;-&gt;
  259. 06401-00206-296-206344-03-5179-9600.0000-3432013</p>
  260. <p style="margin-left:11%; margin-top: 1em">If anything
  261. goes wrong, you&rsquo;ll see an error message. Next try
  262. &quot;vlmcs <i>kms-server</i>&quot; from another machine
  263. where <i>kms-server</i> is the hostname or IP address of
  264. your KMS server. If that fails while it works locally,
  265. you&rsquo;ll most likely have to configure your firewall
  266. that it accepts incoming connections on TCP port 1688.</p>
  267. <p style="margin-left:11%; margin-top: 1em"><b>Is there an
  268. easier way than using OSPP and SLMGR?</b> <br>
  269. Yes and no. KMS activation was designed for large
  270. corporations. Thus Microsoft designed KMS in a way that
  271. corporations can configure their network infrastructure to
  272. fully automate KMS activation. Since this involves DHCP and
  273. DNS, it is not that easy to accomplish that for home users.
  274. However, if you are using an open source router firmware
  275. like OpenWRT or DD-WRT, it is easy to customize DHCP and
  276. DNS.</p>
  277. <table width="100%" border="0" rules="none" frame="void"
  278. cellspacing="0" cellpadding="0">
  279. <tr valign="top" align="left">
  280. <td width="11%"></td>
  281. <td width="3%">
  282. <p>1)</p></td>
  283. <td width="1%"></td>
  284. <td width="85%">
  285. <p>Configure DHCP that it assigns a DNS domain name to your
  286. clients (if it doesn&rsquo;t already), e.g.
  287. my-home-net.local</p> </td></tr>
  288. <tr valign="top" align="left">
  289. <td width="11%"></td>
  290. <td width="3%">
  291. <p>2)</p></td>
  292. <td width="1%"></td>
  293. <td width="85%">
  294. <p>Create zone my-home-net.local in your DNS server (if it
  295. doesn&rsquo;t exist already).</p></td></tr>
  296. <tr valign="top" align="left">
  297. <td width="11%"></td>
  298. <td width="3%">
  299. <p>3)</p></td>
  300. <td width="1%"></td>
  301. <td width="85%">
  302. <p>Add the following records to your DNS</p></td></tr>
  303. </table>
  304. <p style="margin-left:15%; margin-top: 1em">_vlmcs._tcp.my-home-net.local.
  305. 10800 IN SRV 100 100 kms1.my-home-net.local. <br>
  306. kms1.my-home-net.local. 10800 IN A 192.168.1.17</p>
  307. <p style="margin-left:15%; margin-top: 1em">Replace
  308. 192.168.1.17 with the IP address of your KMS server. If you
  309. don&rsquo;t like a cache time of 10800 seconds (3 hours),
  310. replace it with another number.</p>
  311. <p style="margin-left:11%; margin-top: 1em">This causes
  312. that clients will find the KMS server automatically.</p>
  313. <h2>AUTHOR
  314. <a name="AUTHOR"></a>
  315. </h2>
  316. <p style="margin-left:11%; margin-top: 1em">This manual
  317. page was written by Hotbird64.</p>
  318. <h2>SEE ALSO
  319. <a name="SEE ALSO"></a>
  320. </h2>
  321. <p style="margin-left:11%; margin-top: 1em"><b>vlmcsd</b>(8),
  322. <b>vlmcs</b>(1)</p>
  323. <hr>
  324. </body>
  325. </html>