Convert

If you are troubleshooting your PC, re-installing Windows on PC or virtual machine you will need Windows product key. The 25 long character is quite hard to memorize. You may store the key and forget about it. There are third-party apps available that can find your product key but why would do such hassle of searching and installing other apps when you can easily find your product key from the command prompt, Windows PowerShell or Windows Registry. Installation of such a third-party may cause privacy issues and you do not want that.

Windows Command Prompt

Upgrade to 10 Home; Change the product key to VK7JG-NPHTM-C97JM-9MPGT-3V66T and there will start a upgrade process to Pro edition. This key won't activate the OS!! After finished the upgrade process, you will have a Windows 10 Pro ready. Now change the key. You will need a Key for 7/8/8.1 Pro edition. Windows 7 keys currently still active Windows 10 installs, therefore you can you them as Windows 10 keys without having to do anything to them. This can also work in reverse for Windows 10 Pro keys. (Even if the resulting Windows 10 installation isn’t activated, you could just plug in your old Windows 7 or Windows 8.1 key after the upgrade process finishes.) Insert the installation media into the computer you want to upgrade, reboot, and boot from the installation media. Install Windows 10 normally. If you are installing Windows 10 on a PC running Windows XP or Windows Vista, or if you need to create installation media to install Windows 10 on a different PC, see Using the tool to create installation media (USB flash drive, DVD, or ISO file) to install Windows 10 on a different PC section below. Settings Update & Security Activation Click the option that reads Change product key and then input your Windows 7 license key. If everything is correct, then the process should be completed.

Convert Windows 7 Key To Windows 10

Command Prompt is a powerful command-line interpreter application used for executing different commands. It is officially called Windows Command Processor. The command lines you type are not case sensitive. Using CMD, you can do most of the action you do using GUI.

Windows PowerShell

Install Windows 10 With Windows 7 Key

Windows 7 key free activation keys

Windows PowerShell is a Windows command line designed especially for system administrators. This includes an interactive prompt and scripting environment. With PowerShell, you can access the file system, other data stores (Registry, Digital Signature), etc.

Windows Registry

According to Microsoft Computer Dictionary, Windows Registry is ‘a central hierarchical database used to store information that is necessary to configure the system for one or more users, applications and hardware devices’ Registry include data that Windows requires for an operation like user profile, applications installed on the computer, etc.

Windows

How to find Windows 7/8/10 product key using CMD, PowerShell, or Windows Registry?

Method 1: Windows 7/8/10 Product Key Using Command Prompt

  • Run Windows command prompt (cmd) as administrator.
    You can access the Windows command prompt in numerous ways. For more information, please read: 10 Cool Ways to Open Command Prompt in Windows!
  • Type the following command and press Enter.

wmic path softwarelicensingservice get OA3xOriginalProductKey

  • Your Windows product key will be displayed as shown.

Method 2: Windows 7/8/10 Product Key Using PowerShell

  • Click on Windows (flag) icon and type ‘Windows PowerShell’ and run it as administrator as shown below.
  • Type the following command and press Enter.
powershell “(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey”
  • Your Windows product key will be displayed as shown.

Method 3: Windows 7/8/10 Product Key Using Registry

  • Simply copy and paste the following code on the notepad and save it as productkey.vbs. While saving choose ‘All Files’ on the ‘Save as type’ option.
    This vbs script simply translates Registry values into readable format.
productkey.vbs

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

Double click on the file and it will display product as shown below.

You can choose any of the methods mentioned above on Windows 7/8/10. If you have any confusion/ querries regarding ‘How to find Windows Product Key’ please comment down. We will try our best to help you.

Next up in the line:

More on Tutorials: