{"id":647,"date":"2016-11-07T22:02:59","date_gmt":"2016-11-07T16:02:59","guid":{"rendered":"http:\/\/hasibul.info\/blog\/?p=647"},"modified":"2017-01-09T17:53:11","modified_gmt":"2017-01-09T11:53:11","slug":"solution-how-to-find-out-the-windows-key-used-in-the-computer","status":"publish","type":"post","link":"https:\/\/hasibul.info\/blog\/2016\/11\/07\/solution-how-to-find-out-the-windows-key-used-in-the-computer\/","title":{"rendered":"SOLUTION!! How to find out the Windows key used in the computer"},"content":{"rendered":"<p>YOU WANT TO KNOW THE WINDOWS SERIAL KEY &#8211; WHICH WAS USED TO ACTIVATE YOUR WINDOWS.<\/p>\n<p>Why?<\/p>\n<ul>\n<li>You may be planning to re-install the windows. You may have lost the key.<\/li>\n<li>You may be selling your computer and buying a new one &#8211; but want to retain your copy of windows.<\/li>\n<\/ul>\n<p>No Worries. You can retrieve your key from the computer. In this case you&#8217;ll need a running windows to get the key.<\/p>\n<p><strong>Copy and paste the following into a Notepad, save the text file and rename the file to &#8220;productkey.vbs&#8221;<\/strong>:<\/p>\n<blockquote>\n<pre>Set WshShell = CreateObject(\"WScript.Shell\")\r\nMsgBox ConvertToKey(WshShell.RegRead(\"HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\DigitalProductId\"))\r\n\r\nFunction ConvertToKey(Key)\r\nConst KeyOffset = 52\r\ni = 28\r\nChars = \"BCDFGHJKMPQRTVWXY2346789\"\r\nDo\r\nCur = 0\r\nx = 14\r\nDo\r\nCur = Cur * 256\r\nCur = Key(x + KeyOffset) + Cur\r\nKey(x + KeyOffset) = (Cur \\ 24) And 255\r\nCur = Cur Mod 24\r\nx = x -1\r\nLoop While x &gt;= 0\r\ni = i -1\r\nKeyOutput = Mid(Chars, Cur + 1, 1) &amp; KeyOutput\r\nIf (((29 - i) Mod 6) = 0) And (i &lt;&gt; -1) Then\r\ni = i -1\r\nKeyOutput = \"-\" &amp; KeyOutput\r\nEnd If\r\nLoop While i &gt;= 0\r\nConvertToKey = KeyOutput\r\nEnd Function<\/pre>\n<\/blockquote>\n<p>Now run the file &#8220;productkey.vbs&#8221;. You should see something like this:<\/p>\n<p><img class=\"alignnone\" src=\"http:\/\/hasibul.info\/blog\/wp-content\/uploads\/2016\/11\/how-to-retrieve-windows-serial-key.jpg\" alt=\"how to find out retrieve windows serial key from computer\" \/><\/p>\n<p>Note it down and save it somewhere. Good luck.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>YOU WANT TO KNOW THE WINDOWS SERIAL KEY - WHICH WAS USED TO ACTIVATE YOUR WINDOWS. Why? You may be planning to re-install the windows. You may have lost the key. You may be selling your computer and buying a new one - but want to retain your copy of windows. No Worries. You can&hellip;<\/p>","protected":false},"author":1,"featured_media":649,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5,13,6,12],"tags":[287,289,291,286,185,288,290],"how-to":[],"_links":{"self":[{"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/posts\/647"}],"collection":[{"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/comments?post=647"}],"version-history":[{"count":0,"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/posts\/647\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/media\/649"}],"wp:attachment":[{"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/media?parent=647"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/categories?post=647"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/tags?post=647"},{"taxonomy":"how-to","embeddable":true,"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/how-to?post=647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}