Table of Contents

Updated by Cici on Nov 22, 2023
Written by Tracy King

Have you upgraded from the old Windows version to Windows 11? Or do you want to reinstall the OS to the new PC? Here the problem comes - how to locate my Windows product key? Stay with us and check several Windows 11 product key finders.

Option 1. Using the Third-party Software to Find Windows Product Key
Option 2. Using the Windows Product Key Finder CMD
Option 3. Apply VBScript to Back Up Windows 11 Product Key
Option 4. Run PowerShell to Locate Product Key
Other Options to Check Product Key for Windows

Option 1. Using the Third-party Software to Find Windows Product Key

Most guides are trying to teach you manual ways. These solutions truly work but consume your time with more than 3 steps. Taken 2 steps to quickly get the product key for Windows 11, EaseUS Key Finder is the user-praised product key you can use right now. Scanning and copying your Windows, Adobe, Office license key, this salient function won't let your down.

Free download software and do as follows:

  Free Download

Support Windows 11/10/8/7

Step 1. Click "Windows" tab under the Registry Key.

find windows product key 1

Step 2. Check Windows product key on the right side. Click "Copy" to paste. Or select other two options:

"Save" - Save to local as a PDF file.

"Print" - Click to print key file.

find windows product key 2

Option 2. Using the Windows Product Key Finder CMD

Step 1. On Windows 11, press "Windows + S" or click the search icon to open the Windows Search.

Step 2. Type CMD on the search box. Once the result shows up, click Run as administrator.

Step 3. Type the command line and press Enter.

wmic path SoftwareLicensingService get OA3xOriginalProductKey

Now your Windows 11 product key will show your license number on the next line.

Take a screenshot or copy the product key to a location that you can easily find.

product key in command prompt

related articles

How to Find Windows 11 Product Key Using CMD

Are you in need of your Windows 11 product key but can't find it? Learn how to find the Windows 11 product key using CMD in this article. Besides, we will also introduce the best Windows Key Finder to solve your problem.

cmd

Option 3. Apply VBScript to Back Up Windows 11 Product Key

Step 1. Click the Search icon and type notepad in the search box.

Step 2. Under the Best match, right-click Notepad and click on Run as administrator.

Step 3. Click Yes to open Notepad when User Account Control shows up.

Step 4. Copy and paste the code to Notepad.

Option Explicit

 

Dim objshell,path,DigitalID, Result

Set objshell = CreateObject("WScript.Shell")

'Set registry key path

Path = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\"

'Registry key value

DigitalID = objshell.RegRead(Path & "DigitalProductId")

Dim ProductName,ProductID,ProductKey,ProductData

'Get ProductName, ProductID, ProductKey

ProductName = "Product Name: " & objshell.RegRead(Path & "ProductName")

ProductID = "Product ID: " & objshell.RegRead(Path & "ProductID")

ProductKey = "Installed Key: " & ConvertToKey(DigitalID)

ProductData = ProductName  & vbNewLine & ProductID  & vbNewLine & ProductKey

'Show messbox if save to a file

If vbYes = MsgBox(ProductData  & vblf & vblf & "Save to a file?", vbYesNo + vbQuestion, "BackUp Windows Key Information") then

   Save ProductData

End If

 

'Convert binary to chars

Function ConvertToKey(Key)

    Const KeyOffset = 52

    Dim isWin8, Maps, i, j, Current, KeyOutput, Last, keypart1, insert

    'Check if OS is Windows 8

    isWin8 = (Key(66) \ 6) And 1

    Key(66) = (Key(66) And &HF7) Or ((isWin8 And 2) * 4)

    i = 24

    Maps = "BCDFGHJKMPQRTVWXY2346789"

    Do

           Current= 0

        j = 14

        Do

           Current = Current* 256

           Current = Key(j + KeyOffset) + Current

           Key(j + KeyOffset) = (Current \ 24)

           Current=Current Mod 24

            j = j -1

        Loop While j >= 0

        i = i -1

        KeyOutput = Mid(Maps,Current+ 1, 1) & KeyOutput

        Last = Current

    Loop While i >= 0

    keypart1 = Mid(KeyOutput, 2, Last)

    insert = "N"

    KeyOutput = Replace(KeyOutput, keypart1, keypart1 & insert, 2, 1, 0)

    If Last = 0 Then KeyOutput = insert & KeyOutput

    ConvertToKey = Mid(KeyOutput, 1, 5) & "-" & Mid(KeyOutput, 6, 5) & "-" & Mid(KeyOutput, 11, 5) & "-" & Mid(KeyOutput, 16, 5) & "-" & Mid(KeyOutput, 21, 5)

End Function

'Save data to a file

Function Save(Data)

    Dim fso, fName, txt,objshell,UserName

    Set objshell = CreateObject("wscript.shell")

    'Get current user name

    UserName = objshell.ExpandEnvironmentStrings("%UserName%")

    'Create a text file on desktop

    fName = "C:\Users\" & UserName & "\Desktop\WindowsKeyInfo.txt"

    Set fso = CreateObject("Scripting.FileSystemObject")

    Set txt = fso.CreateTextFile(fName)

    txt.Writeline Data

    txt.Close

End Function

Step 5. Click the File tab and choose Save As...

Step 6. Choose "Save as type" as "All Files". Set Encoding as ANSI. Type File name as "Non-OA3-ProductKey.vbs". We recommend you save this file on the Desktop for easy finding. Click the Save button.

Step 7. Locate the VBS file on the Desktop and double-click it to open.

Step 8. The Backup Windows Key Information will show up, and you can see your Installed Key for Windows 11. Click Yes to save to a file.

product key

Option 4. Run PowerShell to Locate Product Key

Step 1. Move to Taskbar and click the Search icon.

Step 2. Hover on the search box, type PowerShell on it.

Step 3. When the Windows PowerShell shows up, right-click PowerShell and choose Run as administrator to open the program.

Step 4. Then the User Account Control will pop up. Click on Yes to prompt.

Step 5. Type the command in the window and hit Enter.

Or you can copy and paste in a straight way: powershell "Get-WmiObject - query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey"

Your Windows 11 product key will show up.

Other Options to Check Product Key for Windows

1 - Check the sticker on preinstalled Windows 11 PC

If you bought a preinstalled Windows 11 computer, mostly you can get the information from the PC or laptop packaging.

Laptop - Check the bottom of your device.

PC - See the back of the monitor or panel.

2 - Check Email or Recipes

If you bought Windows from Amazon or Microsoft store, they may send emails or orders to you. Check if you can get a product key.

Close Thoughts

So that is all we've talked about on this page. One Windows key finder program and other reliable manual ways. Choose the one you can use.

Was This Page Helpful?

Updated by Cici

Cici is the junior editor of the writing team of EaseUS. She accepted the systematic training on computers at EaseUS for over one year. Now, she wrote a lot of professional articles to help people resolve the issues of hard drive corruption, computer boot errors, and disk partition problems.

Read full bio

Written by Tracy King

Tracy became a member of the EaseUS content team in 2013. Being a technical writer for over 10 years, she is enthusiastic about sharing tips to assist readers in resolving complex issues in disk management, file transfer, PC & Mac performance optimization, etc., like an expert.

Read full bio

About EaseUS Key Finder

EaseUS Key Finder offers complete solutions for you to efficiently find Windows or Windows Server product keys, discover Offce, Adobe, and other installed software serials, and find WiFi codes, etc, successfully in simple clicks.

Product Reviews

