{"id":474117,"date":"2022-07-14T23:00:00","date_gmt":"2022-07-14T20:00:00","guid":{"rendered":"https:\/\/en.buradabiliyorum.com\/how-to-find-your-windows-10-product-key-using-the-command-prompt\/"},"modified":"2022-07-14T23:00:00","modified_gmt":"2022-07-14T20:00:00","slug":"how-to-find-your-windows-10-product-key-using-the-command-prompt","status":"publish","type":"post","link":"https:\/\/buradabiliyorum.com\/en\/how-to-find-your-windows-10-product-key-using-the-command-prompt\/","title":{"rendered":"#How to Find Your Windows 10 Product Key Using the Command Prompt"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_84 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a245a1b0435d\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #dd3333;color:#dd3333\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #dd3333;color:#dd3333\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a245a1b0435d\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-find-your-windows-10-product-key-using-the-command-prompt\/#%E2%80%9CHow_to_Find_Your_Windows_10_Product_Key_Using_the_Command_Prompt%E2%80%9D\" >&#8220;How to Find Your Windows 10 Product Key Using the Command Prompt&#8221;<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-find-your-windows-10-product-key-using-the-command-prompt\/#Find_Your_Windows_10_Product_Key_Using_the_Command_Prompt\" >Find Your Windows 10 Product Key Using the Command Prompt<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-find-your-windows-10-product-key-using-the-command-prompt\/#Find_Your_Windows_10_Product_Key_Using_a_Windows_Registry_Method\" >Find Your Windows 10 Product Key Using a Windows Registry Method<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h1><span class=\"ez-toc-section\" id=\"%E2%80%9CHow_to_Find_Your_Windows_10_Product_Key_Using_the_Command_Prompt%E2%80%9D\"><\/span>&#8220;How to Find Your Windows 10 Product Key Using the Command Prompt&#8221;<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<div>\n<img loading=\"lazy\" decoding=\"async\" class=\"type:primaryImage alignnone size-full wp-image-734717\" data-pagespeed-no-defer=\"\" src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/06\/windows-10-logo-white-blue-background.jpeg?width=1198&amp;trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"White Windows 10 logo against a blue background.\" width=\"1200\" height=\"675\"\/><\/p>\n<p>If you\u2019re looking for your Windows 10 product key, you can find it by entering a quick command in the Command Prompt. Here\u2019s how\u2014plus a neat little trick for finding the product key using a Windows Registry method.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Find_Your_Windows_10_Product_Key_Using_the_Command_Prompt\"><\/span>Find Your Windows 10 Product Key Using the Command Prompt<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To find your Windows 10 product key using the Command Prompt, you\u2019ll need to open the command line <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/download-scripts-themes-apps\/\" data-internallinksmanager029f6b8e52c=\"9\" title=\"Download Scripts &amp; Themes &amp; Apps\" target=\"_blank\" rel=\"noopener\">app<\/a>lication with administrative privileges. To do this, type \u201ccmd\u201d in the Windows search bar.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-660519\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2020\/03\/type-cmd-in-search-bar.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Type &quot;cmd&quot; in search bar.\" width=\"387\" height=\"111\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/strong><\/p>\n<p>Command Prompt will appear in the search results. Right-click it and select \u201cRun As Administrator\u201d from the window that appears. If prompted, enter your Windows account password.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-660520\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2020\/03\/Run-as-admin-option.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"\" width=\"383\" height=\"267\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/strong><\/p>\n<p>Once open, copy and paste the following command and then hit the Enter key:<\/p>\n<pre>wmic path softwarelicensingservice get OA3xOriginalProductKey<\/pre>\n<p>The 25-digit product key will then appear.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-660521\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2020\/03\/Product-key-in-COmmand-prompt.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Product key in Command Prompt.\" width=\"649\" height=\"184\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/strong><\/p>\n<blockquote class=\"admonishment_note\"><p><strong>Note:<\/strong> This method displays the Windows product key stored in your computer\u2019s BIOS or UEFI firmware. In other words, it shows the original Windows key your computer came with. If you\u2019ve installed Windows with a different key since then (or acquired a digital license), it will be different from the current key in use on your PC. If you want the current key in use on your PC, <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.nirsoft.net\/utils\/product_cd_key_viewer.html\">NirSoft\u2019s ProduKey<\/a> or <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/click.linksynergy.com\/deeplink?id=2QzUaswX1as&amp;mid=24542&amp;u1=htg\/660517&amp;murl=https%3A%2F%2Fapps.microsoft.com%2Fstore%2Fdetail%2Fshowkeyplus%2F9PKVZCPRX9NV\">ShowKeyPlus<\/a>\u00a0from the Microsoft Store are good graphical tools for finding it.<\/p><\/blockquote>\n<p>That\u2019s all there is to it. This way is quick, but this isn\u2019t likely a code you\u2019ll remember very easily. If you\u2019d like a faster way of accessing your product key in the future, you can use the Windows Registry method instead.<\/p>\n<p><strong>RELATED:<\/strong> <strong><em>How to Find Your Windows 11 Product Key<\/em><\/strong><\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Find_Your_Windows_10_Product_Key_Using_a_Windows_Registry_Method\"><\/span>Find Your Windows 10 Product Key Using a Windows Registry Method<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<blockquote class=\"admonishment_update\"><p><strong>Update:<\/strong> This method is all over the web, but it doesn\u2019t seem to return a real usable key on the latest version of Windows 10. (For example, <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/click.linksynergy.com\/deeplink?id=2QzUaswX1as&amp;mid=24542&amp;u1=htg\/660517&amp;murl=https%3A%2F%2Fgallery.technet.microsoft.com%2Fscriptcenter%2FGet-Windows-Product-Key-v01-35defb0c\">this script in Microsoft\u2019s TechNet gallery<\/a> works differently, but also grabs output from \u201cDigitalProductId\u201d in the registry.) As of July 2020, we recommend you skip this section and use the above method instead.<\/p><\/blockquote>\n<p>The Windows Registry tip was initially posted by a user (whose account is no longer active) in the <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/click.linksynergy.com\/deeplink?id=2QzUaswX1as&amp;mid=24542&amp;u1=htg\/660517&amp;murl=https%3A%2F%2Fanswers.microsoft.com%2Fen-us%2Finsider%2Fforum%2Finsider_wintp-insider_repair%2Fhow-to-find-all-windows-version-serial-key%2Fa6d7e4eb-2adf-4e57-8ead-0bd85ec2758d%3Fauth%3D1\">Microsoft forum<\/a>.<\/p>\n<p>First, open Notepad by right-clicking anywhere on the desktop, hovering over \u201cNew,\u201d and then selecting \u201cText Document\u201d from the menu.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-660522\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2020\/03\/Open-a-new-text-file.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Open a new text file\" width=\"529\" height=\"349\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/strong><\/p>\n<p>Copy and paste this code into Notepad:<\/p>\n<pre>Set WshShell = CreateObject(\"WScript.Shell\")&#13;\nMsgBox ConvertToKey(WshShell.RegRead(\"HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\DigitalProductId\"))&#13;\n&#13;\nFunction ConvertToKey(Key)&#13;\nConst KeyOffset = 52&#13;\ni = 28&#13;\nChars = \"BCDFGHJKMPQRTVWXY2346789\"&#13;\nDo&#13;\nCur = 0&#13;\nx = 14&#13;\nDo&#13;\nCur = Cur * 256&#13;\nCur = Key(x + KeyOffset) + Cur&#13;\nKey(x + KeyOffset) = (Cur \\ 24) And 255&#13;\nCur = Cur Mod 24&#13;\nx = x -1&#13;\nLoop While x &gt;= 0&#13;\ni = i -1&#13;\nKeyOutput = Mid(Chars, Cur + 1, 1) &amp; KeyOutput&#13;\nIf (((29 - i) Mod 6) = 0) And (i &lt;&gt; -1) Then&#13;\ni = i -1&#13;\nKeyOutput = \"-\" &amp; KeyOutput&#13;\nEnd If&#13;\nLoop While i &gt;= 0&#13;\nConvertToKey = KeyOutput&#13;\nEnd Function<\/pre>\n<p>Next, click the \u201cFile\u201d tab and select \u201cSave As.\u201d<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-660523\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2020\/03\/save-as-in-notepad.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"\" width=\"299\" height=\"238\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/strong><\/p>\n<p>In File Explorer, set the \u201cSave As Type\u201d dropdown to \u201cAll Files\u201d and give your file a name. You can use any name, but it has to be a .vbs file. You can name it something like: <code>productkey.vbs<\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-660524\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2020\/03\/save-file-type-as-vbs-file.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Save file as a &quot;.vbs&quot; file. \" width=\"424\" height=\"156\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Once you\u2019ve entered a file name, save the file.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-660525\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2020\/03\/product-key-icon.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"\" width=\"194\" height=\"196\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/strong><\/p>\n<p>You can now view your Windows 10 product key at any time by opening the new file.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-660526\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2020\/03\/product-key.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Your Product Key. \" width=\"234\" height=\"140\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/strong><\/p>\n<\/div>\n<p><script>\n setTimeout(function(){\n  !function(f,b,e,v,n,t,s)\n  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n  n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n  if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n  n.queue=[];t=b.createElement(e);t.async=!0;\n  t.src=v;s=b.getElementsByTagName(e)[0];\n  s.parentNode.insertBefore(t,s) } (window, document,'script',\n  'https:\/\/connect.facebook.net\/en_US\/fbevents.js');\n   fbq('init', '335401813750447');\n   fbq('track', 'PageView');\n  },3000);\n<\/script><\/p>\n<blockquote><p><strong><span style=\"color: #ff6600;\">If you liked the article, do not forget to share it with your friends. Follow us on\u00a0<span style=\"color: #ff0000;\"><a style=\"color: #ff0000;\" href=\"https:\/\/news.google.com\/publications\/CAAqBwgKMLG0nwswvr63Aw\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Google News<\/a><\/span>\u00a0too, click on the star and choose us from your favorites.<\/span><\/strong><\/p><\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\">For forums sites go to <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/forum.buradabiliyorum.com\/\" target=\"_blank\" rel=\"noopener\">Forum.BuradaBiliyorum.Com<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\"><strong>If you want to read more like this article, you can visit our <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/en.buradabiliyorum.com\/technology\/\" target=\"_blank\" rel=\"noopener\">Technology category.<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<p><span style=\"color: black;\"><a style=\"color: #ff9900;\" href=\"https:\/\/www.howtogeek.com\/660517\/how-to-find-your-windows-10-product-key-using-the-command-prompt\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;How to Find Your Windows 10 Product Key Using the Command Prompt&#8221; If you\u2019re looking for your Windows 10 product key, you can find it by entering a quick command in the Command Prompt. Here\u2019s how\u2014plus a neat little trick for finding the product key using a Windows Registry method. Find Your Windows 10 Product&#8230;<\/p>\n","protected":false},"author":1,"featured_media":474118,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/06\/windows-10-logo-white-blue-background.jpeg?height=200p&trim=2,2,2,2","fifu_image_alt":"","footnotes":""},"categories":[18],"tags":[],"class_list":["post-474117","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology"],"_links":{"self":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/474117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/comments?post=474117"}],"version-history":[{"count":0,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/474117\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media\/474118"}],"wp:attachment":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media?parent=474117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/categories?post=474117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/tags?post=474117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}