{"id":1175,"date":"2017-01-24T23:42:21","date_gmt":"2017-01-24T23:42:21","guid":{"rendered":"http:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/?p=1175"},"modified":"2017-01-24T23:42:21","modified_gmt":"2017-01-24T23:42:21","slug":"building-a-kms-server-via-command-line","status":"publish","type":"post","link":"https:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/2017\/01\/24\/building-a-kms-server-via-command-line\/","title":{"rendered":"Windows Server 2016 KMS Server"},"content":{"rendered":"<p>\t\t\t\t&lt;![CDATA[<strong>Windows Server 2016 KMS &#8211; Office 2016 &amp;\u00a0Server16\/Win10 KMS<\/strong><br \/>\nRecently, we found that Server 2016 standard was having issues using the volume activation tools that are built in. \u00a0Instead of using the VAT role, we elected to build our KMS server through command line. \u00a0In this tutorial, I will walk you through the steps necessary to complete your new KMS install using Server 2016 Standard.<br \/>\nWe are installing a KMS server for Server 2016,\u00a0Windows 10, and Office 2016 Pro Plus clients. \u00a0(Other versions also activate as it is backwards compatible.)<br \/>\nNote:\u00a0 We are using VMware Hypervisor 6.5 (Free), and our KMS server is running as a VM using Windows Server 2016 Standard (with desktop experience). \u00a0Screen capture images can be browsed here.\u00a0-&gt; <a href=\"http:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/1\/\" target=\"_blank\" rel=\"noopener noreferrer\">Steps<\/a><\/p>\n<hr \/>\n<ol>\n<li>\u00a0Create a Windows Server 2016 Server (any edition).\n<ul>\n<li>Set the timezone, name (and join) your server with your\u00a0Active Directory.<\/li>\n<li>Enable Remote Desktop and set a static IP address\u00a0(optional)<\/li>\n<li>Check for, and install, all windows updates.<\/li>\n<li>Reboot the server<\/li>\n<\/ul>\n<\/li>\n<li>Install the Volume Activation Services Role through the server manager. \u00a0Click next through the entire process leaving the defaults. \u00a0(This GUI is what crashes for us, which is why we are using command line.)\n<ul>\n<li>Reboot the server once the installation completes.<\/li>\n<\/ul>\n<\/li>\n<li>Visit the Microsoft Volume Licensing Center and obtain your KMS keys for Office 2016 and Server 2016. \u00a0Keep these for future reference. \u00a0While on the volume site, download &#8220;Office Professional Plus 2016 Key Management Service Host&#8221;. \u00a0It will be an ISO file.\n<ul>\n<li>Extract the ISO to C:\\kms or an appropriate location.<\/li>\n<\/ul>\n<\/li>\n<li>Use an elevated command prompt for all of the following steps\n<ul>\n<li>Install the Office 2016 KMS Host pack (What we extracted to C:\\kms)\n<ol>\n<li>cd c:\\kms<\/li>\n<li>cscript kms_host.vbs<\/li>\n<li>After the VAT popup appears, close VAT and hit enter twice to return to a standard command line.<\/li>\n<\/ol>\n<\/li>\n<li>Install the KMS keys for Windows and Office, one at a time, waiting for the confirmation that the key has been installed prior to continuing to the next.\n<ol>\n<li>slmgr.vbs -ipk &lt;insert Server 2016 key here&gt;<\/li>\n<li>slmgr.vbs -ipk &lt;insert Office 2016 key here&gt;<\/li>\n<\/ol>\n<\/li>\n<li>Export the licensing information. \u00a0This is for two reasons. \u00a0First, to make sure both keys have been inserted correctly, and to obtain the activation ID.\n<ol>\n<li>cd c:\\windows\\system32<\/li>\n<li>cscript slmgr.vbs -dlv all &gt;C:\\kms\\export.txt\n<ul>\n<li>cscript must be used to export the information into a txt file.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<\/li>\n<li>Open the recently created export.txt file, and scroll to the licensed products. \u00a0Copy the <strong>Activation ID<\/strong>&#8216;s for both products and keep for the next step. \u00a0NOTE: \u00a0The Activation ID and Application ID are NOT the same, so make sure you obtain the correct ID. \u00a0The easiest way to find the correct product is to locate the Installation ID. \u00a0It will only be present on the two products that we have installed a key on (even though we will not be using the Installation ID.)<\/li>\n<li>Activate your product keys. \u00a0Do each command one at a time, waiting for the confirmation before moving to the next.\n<ol>\n<li>slmgr.vbs -ato &lt;insert Activation ID for Server 2016 here with the dashes&gt;<\/li>\n<li>slmgr.vbs -ato &lt;insert Activation ID for Office\u00a02016 here with the dashes&gt;<\/li>\n<\/ol>\n<\/li>\n<li>Confirm that your products are activated and licensed.\n<ol>\n<li>cscript slmgr.vbs -dlv all &gt;C:\\kms\\export2.txt\n<ul>\n<li>Confirm that the two products identified before have &#8220;licensed&#8221; as their licensing status.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<\/li>\n<li>Now your server is licensing clients. \u00a0There are thresholds that will determine when activation starts.\n<ul>\n<li>Windows Server will activate after a count of 5.<\/li>\n<li>Windows 10 will activate after a count of 25.<\/li>\n<li>Office 2016 will activate after a count of 5.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<hr \/>\n<p>Additional Information about KMS:<br \/>\nA Server 2016 KMS key will activate all server editions up to 2016. \u00a0It will also activate all Windows Client editions up to Windows 10 including 7, 8 and 8.1. \u00a0The Office 2016 Professional Plus key will activate both Pro Plus and Standard Office 2016 installations.]]&gt;\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&lt;![CDATA[Windows Server 2016 KMS &#8211; Office 2016 &amp;\u00a0Server16\/Win10 KMS Recently, we found that Server 2016 standard was having issues using the volume activation tools that are built in. \u00a0Instead of using the VAT role, we elected to build our KMS server through command line. \u00a0In this tutorial, I will walk you through the steps necessary &hellip; <a href=\"https:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/2017\/01\/24\/building-a-kms-server-via-command-line\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Windows Server 2016 KMS Server<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":43,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,5],"tags":[],"class_list":["post-1175","post","type-post","status-publish","format-standard","hentry","category-it-support","category-tech-reviews"],"_links":{"self":[{"href":"https:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/wp-json\/wp\/v2\/posts\/1175","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/wp-json\/wp\/v2\/users\/43"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/wp-json\/wp\/v2\/comments?post=1175"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/wp-json\/wp\/v2\/posts\/1175\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/wp-json\/wp\/v2\/media?parent=1175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/wp-json\/wp\/v2\/categories?post=1175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/wp-json\/wp\/v2\/tags?post=1175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}