{"id":95,"date":"2021-01-08T21:17:26","date_gmt":"2021-01-08T21:17:26","guid":{"rendered":"http:\/\/merserver.com\/?p=95"},"modified":"2021-01-08T21:17:26","modified_gmt":"2021-01-08T21:17:26","slug":"get-the-actual-windows-10-license-when-labtech-shows-the-free-upgrade-license","status":"publish","type":"post","link":"http:\/\/merserver.com\/index.php\/2021\/01\/08\/get-the-actual-windows-10-license-when-labtech-shows-the-free-upgrade-license\/","title":{"rendered":"Get the Actual Windows 10 License When Labtech Shows the Free Upgrade License"},"content":{"rendered":"\n<ul class=\"wp-block-list\"><li>Windows 10 Enterprise: NPPR9-FWDCX-D2C8J-H872K-2YT43<\/li><li>Windows 10 Pro: VK7JG-NPHTM-C97JM-9MPGT-3V66T<\/li><li>Windows 10 Home: TX9XD-98N7V-6WMQ6-BX7FG-H8Q99<\/li><\/ul>\n\n\n\n<p>wscript windowsLicense.vbs<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Set WshShell = CreateObject(\"WScript.Shell\")\nMsgBox ConvertToKey(WshShell.RegRead(\"HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\DigitalProductId\"))\n\nFunction ConvertToKey(Key)\non error resume next \nConst KeyOffset = 52\ni = 28\nChars = \"BCDFGHJKMPQRTVWXY2346789\"\nDo\nCur = 0\nx = 14\nDo\nCur = Cur * 256\nCur = Key(x + KeyOffset) + Cur\nKey(x + KeyOffset) = (Cur \\ 24) And 255\nCur = Cur Mod 24\nx = x -1\nLoop While x >= 0\ni = i -1\nKeyOutput = Mid(Chars, Cur + 1, 1) &amp;amp;amp; KeyOutput\nIf (((29 - i) Mod 6) = 0) And (i &lt;> -1) Then \ni = i -1\nKeyOutput = \"-\" &amp;amp;amp; KeyOutput\nEnd If\nLoop While i >= 0\nConvertToKey = KeyOutput\nEnd Function<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Windows 10 Enterprise: NPPR9-FWDCX-D2C8J-H872K-2YT43 Windows 10 Pro: VK7JG-NPHTM-C97JM-9MPGT-3V66T Windows 10 Home: TX9XD-98N7V-6WMQ6-BX7FG-H8Q99 wscript windowsLicense.vbs<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-95","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/merserver.com\/index.php\/wp-json\/wp\/v2\/posts\/95","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/merserver.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/merserver.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/merserver.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/merserver.com\/index.php\/wp-json\/wp\/v2\/comments?post=95"}],"version-history":[{"count":1,"href":"http:\/\/merserver.com\/index.php\/wp-json\/wp\/v2\/posts\/95\/revisions"}],"predecessor-version":[{"id":96,"href":"http:\/\/merserver.com\/index.php\/wp-json\/wp\/v2\/posts\/95\/revisions\/96"}],"wp:attachment":[{"href":"http:\/\/merserver.com\/index.php\/wp-json\/wp\/v2\/media?parent=95"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/merserver.com\/index.php\/wp-json\/wp\/v2\/categories?post=95"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/merserver.com\/index.php\/wp-json\/wp\/v2\/tags?post=95"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}