How To Find The License Key On A Windows 10 Computer

How To Find The License Key On A Windows 10 Computer
Share It
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

If you could find the Windows Key you just bought, it would be worth it if you could restore it to your existing computer. But there is no easy way to do it. Although Windows XP may recall this, I am sure no one remembers the Windows 10 Key. In this article ” How To Find The License Key On A Windows 10 Computer “, we are going to explain some of them.

Types of License Key

Microsoft has introduced several of their License Keys. Depending on the release, they will vary as follows.

  • OEM – These are wholesale of the Original Equipment Manufacturer. They send one to each computer. Once activated (often they do), you cannot reuse them to another computer. On some modern computers, UEFI / BIOS will automatically deploy them during Windows installation.
  • Retail – as it is called, is a retail buy. We can buy these from Microsoft or another authorized representative. The prices are slightly higher than the wholesale price and Rs. 10,000 – 20,000 or more (depending on the volume type).
  • Digital – Retails Keys is the name for activating Windows 10 online. They are often associated with Microsoft account. Sometimes, services offered by services such as BizPark, which are available for free upgrading from Windows 7/8, are considered in this category.

You can see your key type in Settings> Update & Security> Activation

By using Command Prompt

By using Command Prompt
cmd

You can use Microsoft’s own CLI program to use Windows Management Instrumentation to view the License Key. It’s called wmic.exe and you can run it through the Command Prompt. You will need an administrator-approved account for this.

From the Windows Key + R, run the Run command box. Type “cmd” and give Enter, then popup the Command Prompt. Then copy the command below and right click on the CMD. Then it’s Paste.

wmic path softwarelicensingservice get OA3xOriginalProductKey

Now press the Enter key and the License Key will appear.

By using Powershell

By using Powershell
powershell

How To Find The License Key On A Windows 10 Computer by using powershell?

Even if Windows Management Instrumentation is used for this purpose, the code that must be provided will change. It retrieves the License Key from a query code like SQL from WmiObject. You will need an administrator-approved account for this.

Right-click the Start button, and then click Windows PowerShell (Admin). Then copy the code below and right click on the CMD. Then it’s Paste.

(Get-WmiObject -query ‘select * from
SoftwareLicensingService’).OA3xOriginalProductKey

Now press the Enter key and the License Key will appear.

If you want to run it in the Command Prompt, change the powershell to “(Software-LicensingService Code from Get-WmiObject – Query *). OA3xOriginalProductKey“. The command given in the above partition CMD is also valid for PowerShell.

By using VBS file

By using VBS file
How To Find The License Key On A Windows 10 Computer

Even though the License Key is stored in the registry, it is not visible directly from the Binary. There is a VBS code that can be converted to fonts and the key can be viewed with a single click instead of the CLIs listed above.

To set the file, open Notepad. Copy the code below and paste it.

Set WshShell = CreateObject("WScript.Shell")
MsgBox ConvertToKey(WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId"))

Function ConvertToKey(Key)

Const KeyOffset = 52

    i = 28

    Chars = "BCDFGHJKMPQRTVWXY2346789"

    Do

    Cur = 0

    x = 14

    Do

    Cur = Cur * 256

    Cur = Key(x + KeyOffset) + Cur

    Key(x + KeyOffset) = (Cur \ 24) And 255

    Cur = Cur Mod 24

    x = x -1

    Loop While x >= 0

    i = i -1

    KeyOutput = Mid(Chars, Cur + 1, 1) & KeyOutput

    If (((29 - i) Mod 6) = 0) And (i <> -1) Then

    i = i -1

    KeyOutput = "-" & KeyOutput

    End If

    Loop While i >= 0

    ConvertToKey = KeyOutput

    End Function

Now go to File> Save As and save all the files for Save As Type using a preferred filename and .vbs (eg showlicensekey.vbs). When you open that file, a dialog box will appear in the Key.

Other software that can be used

The following software can be easily used to view the License Key.

ShowKeyPlus – This can be downloaded through the Microsoft Store. It costs 5.8 MB to download. It has many other features like type of Windows version, type key and see what version it is.

NirSoft – This is the key to Windows as well as the Office package. This data is also obtained from the Registry. The download cost as little as 63 KB.

Windows 10 OEM Product Key Tool – This is from NeoSmart, an amazing software maker like EasyBCD. There are not many features, but the VBS we have set up and the Dialog Box shows the Key. It can also be copied. It costs 1.38 MB to download.

Related : Best android games in 2020

Leave a Reply

Your email address will not be published. Required fields are marked *