{"id":149,"date":"2016-07-02T12:07:43","date_gmt":"2016-07-02T12:07:43","guid":{"rendered":"http:\/\/info.ffteixeira.net\/2016\/07\/02\/changing-the-product-key-in-server-2012-using-powershell\/"},"modified":"2016-07-02T12:07:43","modified_gmt":"2016-07-02T12:07:43","slug":"changing-the-product-key-in-server-2012-using-powershell","status":"publish","type":"post","link":"https:\/\/blog.ffteixeira.net\/?p=149","title":{"rendered":"Changing the Product Key in Server 2012 using PowerShell"},"content":{"rendered":"<p>I have come across a useful set of cmd&rsquo;s&nbsp;for when you need to change the Product Key in server 2012. When I went to active my new file server,&nbsp; I ran into an issue when trying to activate&nbsp;with the Product&nbsp; KMS key.<\/p>\n<p>Server 2012&rsquo;s system properties do not allow you&nbsp;to change the Product key.<\/p>\n<p>To change this you need to open power shell in privileged mode and enter the following cmd&rsquo;s.<\/p>\n<p>slmgr&nbsp;-upk (this removes the current Product Key)<\/p>\n<p>slmgr&nbsp;-ipk&nbsp;XXXX-XXXX-XXXX-XXXX (this installs the new Product Key)<\/p>\n<p>Please see Microsoft&rsquo;s&nbsp;Article ID: 2750773:<\/p>\n<p><a href=\"https:\/\/ryanmangansitblog.com\/2012\/09\/04\/changing-the-product-key-in-server-2012-using-powershell\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/support.microsoft.com\/kb\/2750773<\/a><\/p>\n<p><a href=\"https:\/\/ryanmangansitblog.com\/2012\/09\/04\/changing-the-product-key-in-server-2012-using-powershell\/\" target=\"_blank\" rel=\"noopener noreferrer\">Credits <\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have come across a useful set of cmd&rsquo;s&nbsp;for when you need to change the Product Key in server 2012. When I went to active my new file server,&nbsp; I ran into an issue when trying to activate&nbsp;with the Product&nbsp; &hellip; <a href=\"https:\/\/blog.ffteixeira.net\/?p=149\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-149","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/posts\/149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=149"}],"version-history":[{"count":0,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/posts\/149\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=149"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}