Are you upgrading from an older version of Windows to Windows 11, or reinstalling the operating system on a new PC? The question arises – how do I find my Windows product key? Stick with us as we look at a few Windows 11 product key finders.
Option 1. Find Windows Product Key with Third-Party Software
Option 2. Locate Windows Product Key with CMD
Option 3. Backup Windows 11 Product Key with VBScript
Option 4. Discover the Product Key Using PowerShell
Other Ways to Check Your Windows Product Key
Most guides will try to teach you manual methods. These solutions do work, but they take more than three steps. To quickly retrieve your Windows 11 product key, you can immediately use the well-reviewed Key Finder tool. It scans and copies your Windows, Adobe, and Office license keys – a standout feature that won't disappoint.
Download the software for free and follow these steps:
Step 1: Click the “Windows” key under the Registry Editor.
Step 2. Look for the Windows product key on the right. Click “Copy” to paste it, or choose one of the other two options:
"Save" - Save as a local PDF file.
"Print" - Click to print critical documents.
Step 1: On Windows 11, press "Windows + S" or click the Search icon to open the Windows Search.
Step 2: Type “CMD” in the search bar. When results appear, click “Run as administrator.”
Step 3. Type in the command and press Enter.
Use the WMIC command to query the OA3xOriginalProductKey under the SoftwareLicensingService path with the utf-8 encoding format.
Now, your Windows 11 product key will be displayed as the license number in the next line.
Please take a screenshot of the product key, or copy it to a location where you can easily find it.
How to Find Windows 11 Product Key Using CMD
Need your Windows 11 product key but can't locate it? Read on to learn how to find the Windows 11 product key using CMD. We'll 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. Right-click Notepad under Best match, and then click Run as administrator.
< strong > Step 3. When the User Account Control appears, click Yes to open Notepad.
Step 4: Copy and paste the code into Notepad.
Declare variables explicitly
Dim objshell, path, DigitalID, Result
Set objshell = CreateObject("WScript.Shell")
'Set the registry key path
Path = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\"
'Registry key value
DigitalID = objshell.RegRead(Path & "DigitalProductId")
Dim ProductName, ProductID, ProductKey, ProductData
'Get product name, product ID, and product key
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
'If saved to a file, display a message box
If vbYes = MsgBox(ProductData & vbLf & vbLf & "Save to a file?", vbYesNo + vbQuestion, "Backup Windows Key Information") Then
Save ProductData
End If
'Convert binary to characters
Function ConvertToKey(Key)
Const KeyOffset = 52
Dim isWin8, Maps, i, j, Current, KeyOutput, Last, keypart1, insert
'Check if operating system 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 username
UserName = objshell.ExpandEnvironmentStrings("%UserName%")
'Create a text file on the 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: Under “Save as type,” select “All Files.” In “Encoding,” choose “ANSI.” Name the file “Non-OA3-ProductKey.vbs.” We recommend saving it on your desktop for easy access. Click “Save.”
Step 7. Locate the VBS file on your desktop and double-click it to open.
Step 8: The backup information for your Windows keys will be displayed, showing you the installation key for Windows 11. Click “Yes” to save it to a file.
Step 1: Move to the taskbar and click the Search icon.
Step 2. Hover over the search box, and type PowerShell in it.
Step 3. Right-click on "Windows PowerShell" and select "Run as administrator" to open the program.
Step 4: User Account Control will ask you if you want to allow the changes. Click Yes to proceed.
Step 5: Type the command into the window and press Enter.
Alternatively, you can directly copy and paste the following content: `powershell "Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey"`
Your Windows 11 product key will be displayed.
If you bought a computer or laptop with Windows 11 pre-installed, you can usually find this information on a sticker on the case or bottom of the device.
Laptop - Check the bottom of the device.
Please check the monitor or panel rear.
If you bought Windows from the Microsoft Store or Amazon, they might have sent your product key in an email or on your order receipt. Check if you can find the key that way.
That's all there is to it. A Windows key finder app or reliable manual methods. Choose one that works for you.