Windows 11 product key is here! In this article, we are going to show you how to locate or find a Windows product key.
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
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:
Step 1. Click "Windows" tab under the Registry Key.
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.
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.
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.
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.
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.
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.
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.
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.
Related Articles
How to Find Software License Key on Computer? 3 Methods for Help
How to See Facebook Password in Google Chrome
How to Find Windows Server 2016 Product Key
How to Change YouTube Password When You Forgot It [2024 Newest]