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 out of it. Although Windows XP may recall this, I am sure no one remembers the Windows 10 Key. In this article, we are going to explain some of them
Types of License Key


Microsoft has introduced several of their Licence Keys. Depending on the release date they will be as follows.
OEM
These are wholesalers 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 machines, UEFI / BIOS will automatically deploy them during Windows installation.
Retail
As the name implies, they can be purchased in retail. 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
This is called Retails Keys when you activate Windows 10 online. They are often associated with Microsoft account. Sometimes the services provided by services such as BizPark, which are available from Windows 7/8 when you upgrade to Free, are considered in this category.
– You can see your key type in Settings> Update & Security> Activation.
How To Find The License Key
By Command Prompt


You can use Microsoft’s own CLI program to use Windows Management Instrumentation to view the Licence 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 press Enter to open 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 Windows 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.
Through a VBS file


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 and Paste the following code.
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 with the key.
Other software that can be used


The following software can be easily used to view the License Key.
ShowKeyPlus
It 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
You can see the key provided in the Windows package 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 and Dialog box we set up show the key. It can also be copied. It costs 1.38 MB to download.
If you are interested in a script built from VBS rather than a third party software or CLI command, here’s a look at some of the fun things that Notepad can do. There are a lot of scripts on it, like talking to the computer, opening the CD-ROM drive.
-Other Useful Links – Should flip phones be brought back to modern use?
-Other Useful Links – How hackers poison DNS cache & steal your data
-Other Useful Links – WhatsApp has exceeded two billion users