System Find Product Key in Windows 11


ShowKeyPlus_banner.webp

This tutorial will show you how to find and view your product key in Windows 10 and Windows 11.

A Windows product key is a 25-character code used to activate Windows. It looks like this:
  • PRODUCT KEY: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
Depending on how you got your copy of Windows 10 or Windows 11, you'll need either a 25-character product key or a digital license to activate it. A digital license (called a digital entitlement in Windows 10, Version 1511) is a method of activation in Windows 10 and Windows 11 that doesn't require you to enter a product key. Without one of these, you won't be able to activate your device.

Where to find your product key depends on how you got your copy of Windows.

A new PC running Windows
The product key is preinstalled on your PC, included with the packaging the PC came in, or included on the Certificate of Authenticity (COA) attached to the PC. For more info, contact your hardware manufacturer, and for pictures of authentic product keys and COA labels, see How to tell your hardware is genuine.​

A copy of Windows 10 or Windows 11 from an authorized retailer
The product key is on a label or card inside the box that Windows came in. For more info, contact the retailer that sold you Windows 10 or Windows 11. How to tell your software is genuine.​

A digital copy of Windows 10 or Windows 11 from an authorized retailer
Find your product key in the confirmation email you received after buying Windows 10 or Windows 11 in a digital locker accessible through the retailer’s website.​

A digital copy from a Microsoft website
The product key is in the confirmation email you received after buying your digital copy of Windows. Microsoft only keeps a record of product keys if you purchased from the Microsoft online store. You can find out if you purchased from Microsoft in your Microsoft account Order history.​

Free upgrade to Windows 10
If you upgraded to Windows 10 for free from Windows 7 or Windows 8.1, you should have a digital license instead of a product key.​

Microsoft Store App
If you bought Windows 10 or Windows 11 Pro upgrade in the Microsoft Store app, you'll receive a digital license instead of a product key in the confirmation email that was sent to confirm the purchase. That email address (MSA) will contain the digital license. You can use the digital license for activation.​

For more information about digital licenses and product keys in Windows 10 and Windows 11, see the “Methods of Activation” section in Activate Windows.​

Volume Licensing agreement or MSDN subscription
Your product key is available through the web portal for your program. For more information, see Volume Activation for Windows 10.​

References:



Here's How:

1 Perform one of the following actions to get the free ShowKeyPlus app created by our member @Superfly :
  • Download and install ShowKeyPlus app from Microsoft Store.

    Download

  • Download and run ShowKeyPlus exe file in a ZIP from GitHub.

    This is a standalone exe file that does not install anything on your computer.


    Download
2 You will now see your Windows product key. (see screenshot below)

Installed Key = This is the product key that Windows is currently activated with.

OEM Key = This is the key stored in the UEFI firmware chip on the motherboard. This key will not always be the same as the installed key. An OEM Key will only be available if this is for a computer purchased from an OEM (ex: HP, Dell, etc...).



ShowKeyPlus.png



That's it,
Shawn Brink


 
Last edited:
Or, open your registry editor (regedit), "Run as Administrator"

go to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform

and you'll see it. EASILY READABLE.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2 (OS Build 26100.4351)
    Computer type
    Laptop
    Manufacturer/Model
    Dell Precision Mobile Workstation
    CPU
    Intel(R) Xeon(R) CPU E3-1535M v5 @ 2.90 Max Turbo 3.80
    Motherboard
    00V5FJ
    Memory
    64GB DDR4 ECC (Error-Correcting Code memory)
    Graphics Card(s)
    NVIDIA Quadro M2000M 4GB GDDR5 & Intel(R) HD Graphics P530
    Sound Card
    Realtek Audio
    Monitor(s) Displays
    15.6" 4K UltraHD
    Screen Resolution
    3840x2160
    Hard Drives
    2TB Crucial NVMe & 2TB Seagate SATA
    PSU
    Dell 180W 19.5V-9.23A
    Keyboard
    Backlit
    Mouse
    Logitech G703
    Internet Speed
    WIFI: Intel(R) Dual Band Wireless-AC 8260
    Browser
    Mozilla Firefox
    Antivirus
    Windows Defender/Microsoft Security + additional Anti Spyware, Anti Malware, etc.
    Other Info
    Thunderbolt 3
  • Operating System
    Windows 11 Pro 24H2 (OS Build 26100.4061)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Precision Workstation T5610
    CPU
    Dual (X2) Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz Max Turbo 3.80
    Motherboard
    0WN7Y6
    Memory
    64GB DDR3 ECC (Error-Correcting Code memory)
    Graphics card(s)
    NVIDIA GeForce GTX 970 4GB of GDDR5
    Sound Card
    Realtek Audio & NVIDIA High Definition Audio
    Monitor(s) Displays
    3 Acer Monitors
    Screen Resolution
    1920x1080
    Hard Drives
    2 Seagate Barracuda ST2000DM008-2UB102 (RAID)
    Mouse
    Logitech G305
Or, open your registry editor (regedit), "Run as Administrator"

go to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform

and you'll see it. EASILY READABLE.
Registry may show a different key than CMD and PowerShell because of how Microsoft encodes the product key for different purposes (usually in relation to OEM keys).
Retail will typically show the same key in all locations/methods.
 

My Computer

System One

  • OS
    Windows 11 Pro
Registry may show a different key than CMD and PowerShell because of how Microsoft encodes the product key for different purposes (usually in relation to OEM keys).
Retail will typically show the same key in all locations/methods.
If I use ShowKeyPlus with my laptop it shows both the Windows 11 Home key (OEM) and the actual installed Windows 11 Pro key.

However, that does not work for my custom desktop computer with Windows 11 Pro.
If I run the scripts in CMD and PowerShell I get nothing.
In the registry I only see the generic Windows 11 Pro key, VK7JG-NPHTM-C97JM-9MPGT-3V66T.
If I run ShowKeyPlus it shows nothing for the OEM key and the same generic Windows 11 Pro key.

Note the desktop computer originally had Windows 10 Pro (Retail). I did a free in-place upgrade to Windows 11 Pro.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    Laptop
    Manufacturer/Model
    ASUS TUF Gaming A15 (2022)
    CPU
    AMD Ryzen 7 6800H with Radeon 680M GPU (486MB RAM)
    Memory
    Crucial DDR5-4800 (2400MHz) 32GB (2 x 16GB)
    Graphics Card(s)
    NVIDIA RTX 3060 Laptop (6GB RAM)
    Sound Card
    n/a
    Monitor(s) Displays
    15.6-inch
    Screen Resolution
    1920x1080 300Hz
    Hard Drives
    2 x Samsung 990 Evo Plus (2TB M.2 NVME SSD)
    PSU
    n/a
    Mouse
    Wireless Mouse M510
    Internet Speed
    2000Mbps/300Mbps
    Browser
    Firefox
    Antivirus
    Malwarebytes
  • Operating System
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom build
    CPU
    AMD Ryzen 7 5700X3D
    Motherboard
    ASUS ROG Strix B550-F Gaming WiFi II
    Memory
    G.SKILL Flare X 32GB (2x16GB) DDR4
    Graphics card(s)
    ASUS ROG-STRIX-RTX3060TI-08G-V2-GAMING (RTX 3060-Ti, 8GB RAM)
    Monitor(s) Displays
    Samsung G50D IPS 27"
    Screen Resolution
    1440p/180Hz
    Hard Drives
    2TB XPG SX8200 Pro (M2. PCIe SSD) || 2TB Intel 660P (M2. PCIe SSD)
    PSU
    Corsair RM750x (750 watts)
    Case
    Cooler Master MasterCase 5
    Cooling
    Scythe Mugen 6
    Mouse
    Logitech M310 (MK540 keyboard/mouse combo)
    Keyboard
    Logitech K520 (MK540 keyboard/mouse combo)
    Internet Speed
    2000 Mbps down / 300 Mbps up
    Browser
    Firefox, Edge, Chrome
    Antivirus
    Malwarebytes (Premium)
    Other Info
    ASUS Blu-ray Burner BW-16D1HT (SATA) || Western Digital Easystore 20TB USB 3.0 external hard drive used with Acronis True Image 2025 backup software || HP OfficeJet Pro 6975 Printer/Scanner
If I use ShowKeyPlus with my laptop it shows both the Windows 11 Home key (OEM) and the actual installed Windows 11 Pro key.

However, that does not work for my custom desktop computer with Windows 11 Pro.
If I run the scripts in CMD and PowerShell I get nothing.
In the registry I only see the generic Windows 11 Pro key, VK7JG-NPHTM-C97JM-9MPGT-3V66T.
If I run ShowKeyPlus it shows nothing for the OEM key and the same generic Windows 11 Pro key.

Note the desktop computer originally had Windows 10 Pro (Retail). I did a free in-place upgrade to Windows 11 Pro.
You talking about the Cmd/ps “OA3xOriginalProductKey” commands? Those are worthless. Run the .bat I uploaded on your desktop and see what it outputs
 

My Computer

System One

  • OS
    Windows 11 Pro
If I run the scripts in CMD and PowerShell I get nothing.
In the registry I only see the generic Windows 11 Pro key, VK7JG-NPHTM-C97JM-9MPGT-3V66T.
If I run ShowKeyPlus it shows nothing for the OEM key and the same generic Windows 11 Pro key.

Note the desktop computer originally had Windows 10 Pro (Retail). I did a free in-place upgrade to Windows 11 Pro.
That would be correct. Only a PC that was built for and supplied by the OEM with Windows 8 or later would have an OEM key embedded in its firmware in manufacturing. Your System Two says it is a custom build.

Also, the free upgrade from Windows 7 to 10 would not have retained the original W7 Pro key, it replaced it with the generic W10 Pro key (W11 uses the same generic keys as W10).
 

My Computers

System One System Two

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB Samsung EVO 870 SSD
    Internet Speed
    150 Mbps
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. A test migration ran Insider builds for 2 months. When 11 was released on 5th October 2021 it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October. Windows Update offered the 22H2 Feature Update on 20th September 2022. It got the 23H2 Feature Update on 4th November 2023 through Windows Update, and 24H2 on 3rd October 2024 through Windows Update by setting the Target Release Version for 24H2.

    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro.

    My SYSTEM FOUR is a 2-in-1 convertible Lenovo Yoga 11e 20DA, Celeron N2930, 8GB RAM, 256GB ssd. Unsupported device: currently running Win10 Pro, plus Win11 Pro RTM and Insider Dev, Beta, and RP 24H2 as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 8GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro, plus Insider Beta, Dev, and Canary builds (and a few others) as a native boot .vhdx.

    My SYSTEM SIX is a Dell Latitude 5550, Core Ultra 7 165H, 64GB RAM, 1TB NVMe SSD, supported device, Windows 11 Pro 24H2, Hyper-V host machine.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Latitude E4310
    CPU
    Intel® Core™ i5-520M
    Motherboard
    0T6M8G
    Memory
    8GB
    Graphics card(s)
    (integrated graphics) Intel HD Graphics
    Screen Resolution
    1366x768
    Hard Drives
    500GB Crucial MX500 SSD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround. In-place upgrade to 22H2 using ISO and a workaround. Feature Update to 23H2 by manually installing the Enablement Package. In-place upgrade to 24H2 using hybrid 23H2/24H2 install media. Also running Insider Beta, Dev, and Canary builds as a native boot .vhdx.

    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro.

    My SYSTEM FOUR is a 2-in-1 convertible Lenovo Yoga 11e 20DA, Celeron N2930, 8GB RAM, 256GB ssd. Unsupported device: currently running Win10 Pro, plus Win11 Pro RTM and Insider Dev, Beta, and RP 24H2 as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 8GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro, plus Insider Beta, Dev, and Canary builds (and a few others) as a native boot .vhdx.

    My SYSTEM SIX is a Dell Latitude 5550, Core Ultra 7 165H, 64GB RAM, 1TB NVMe SSD, supported device, Windows 11 Pro 24H2, Hyper-V host machine.
Or, open your registry editor (regedit), "Run as Administrator"

go to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform

and you'll see it. EASILY READABLE.
I tried this and it shows a completely different key than the Pro key the system is running on. And it doesn't match any of the generic keys either. The way I installed Windows on this computer was with a 23h2 Home ISO on a Rufus USB, then I upgraded to Pro afterward by simply changing the product key to a Pro product key. Do you suppose it's a product key from the Home ISO? If so, I wonder why that would still be there since I switched to a Pro key...

I know the system is actually running on the Pro key because I did the 3 methods of confirming it, using Admin Command prompt (slmgr /xpr), Admin Command prompt (slmgr /dli), and Powershell (slmgr /dlv).
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2, Build: 22631.5335 (Retail)
    Computer type
    PC/Desktop
    CPU
    Intel Core i5-12600K
    Motherboard
    ASRock B760M PG Riptide
    Memory
    Crucial Classic DDR5-4800 16GB
    Monitor(s) Displays
    1 good old Benq model
    Hard Drives
    Kingston KC3000 SSD 512GB PCIe 4.0 M.2 2280 NVMe
    PSU
    Seasonic G12 GM 750Watt
    Case
    metal, 15+ years old, ATX/mATX
    Cooling
    Thermalright Peerless Assassin 120
    Keyboard
    Lenovo, wired
    Mouse
    Logitech, wired
    Browser
    Chrome
    Other Info
    First time DIY build.
  • Operating System
    Windows 11 Home 23H2, Build: 22631.4751 (OEM)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acer Aspire XC-1760
    CPU
    Intel Core i5-12400
    Motherboard
    Acer Andrew H610 (PCIe Gen 4)
    Memory
    8 GB DDR4
    Graphics card(s)
    Intel(R) UHD Graphics 730
    Sound Card
    Integrated, HD Audio
    Monitor(s) Displays
    old Samsung
    Screen Resolution
    1920x1080, 60 Hz
    Hard Drives
    M.2 PCIe NVMe SSD (WD or Kingston, not sure), 512GB, partitioned into C & D drives.
    PSU
    Brand unknown. 180W. (80 Plus Gold certification)
    Case
    Slim, DTX
    Cooling
    Brand unknown. Air cooling.
    Mouse
    Logitech (wired)
    Keyboard
    Lenovo (wired)
    Browser
    Chrome
    Other Info
    Extra CPU details:
    Intel UHD Graphics, 6 cores, 12 threads, 2.5 GHz, LGA1700, Intel H610 Chipset.
it shows a completely different key than the Pro key the system is running on. And it doesn't match any of the generic keys either. The way I installed Windows on this computer was with a 23h2 Home ISO on a Rufus USB, then I upgraded to Pro afterward by simply changing the product key to a Pro product key. Do you suppose it's a product key from the Home ISO?
Get ShowKeyPlus: ShowKeyPlus - Windows 10 Help Forums

It has a 'check edition' option where you can enter a key and it will tell you exactly what sort of key it is.
 

My Computers

System One System Two

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB Samsung EVO 870 SSD
    Internet Speed
    150 Mbps
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. A test migration ran Insider builds for 2 months. When 11 was released on 5th October 2021 it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October. Windows Update offered the 22H2 Feature Update on 20th September 2022. It got the 23H2 Feature Update on 4th November 2023 through Windows Update, and 24H2 on 3rd October 2024 through Windows Update by setting the Target Release Version for 24H2.

    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro.

    My SYSTEM FOUR is a 2-in-1 convertible Lenovo Yoga 11e 20DA, Celeron N2930, 8GB RAM, 256GB ssd. Unsupported device: currently running Win10 Pro, plus Win11 Pro RTM and Insider Dev, Beta, and RP 24H2 as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 8GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro, plus Insider Beta, Dev, and Canary builds (and a few others) as a native boot .vhdx.

    My SYSTEM SIX is a Dell Latitude 5550, Core Ultra 7 165H, 64GB RAM, 1TB NVMe SSD, supported device, Windows 11 Pro 24H2, Hyper-V host machine.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Latitude E4310
    CPU
    Intel® Core™ i5-520M
    Motherboard
    0T6M8G
    Memory
    8GB
    Graphics card(s)
    (integrated graphics) Intel HD Graphics
    Screen Resolution
    1366x768
    Hard Drives
    500GB Crucial MX500 SSD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround. In-place upgrade to 22H2 using ISO and a workaround. Feature Update to 23H2 by manually installing the Enablement Package. In-place upgrade to 24H2 using hybrid 23H2/24H2 install media. Also running Insider Beta, Dev, and Canary builds as a native boot .vhdx.

    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro.

    My SYSTEM FOUR is a 2-in-1 convertible Lenovo Yoga 11e 20DA, Celeron N2930, 8GB RAM, 256GB ssd. Unsupported device: currently running Win10 Pro, plus Win11 Pro RTM and Insider Dev, Beta, and RP 24H2 as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 8GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro, plus Insider Beta, Dev, and Canary builds (and a few others) as a native boot .vhdx.

    My SYSTEM SIX is a Dell Latitude 5550, Core Ultra 7 165H, 64GB RAM, 1TB NVMe SSD, supported device, Windows 11 Pro 24H2, Hyper-V host machine.
@Bree Ok. I just did that and it says this mystery key in the registry is a Win 10 RTM Professional Retail. So that nixes my theory of it being a key from the Home ISO, I guess. And it's strange, because the only Pro key we have does not match this one in the registry. The Pro key we have is the one that shows up when I do the 3 checks I mentioned previously, and the one we have also shows up as the key running the OS in the ShowKeyPlus tool. Funny, eh? I'm boggled. lol.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2, Build: 22631.5335 (Retail)
    Computer type
    PC/Desktop
    CPU
    Intel Core i5-12600K
    Motherboard
    ASRock B760M PG Riptide
    Memory
    Crucial Classic DDR5-4800 16GB
    Monitor(s) Displays
    1 good old Benq model
    Hard Drives
    Kingston KC3000 SSD 512GB PCIe 4.0 M.2 2280 NVMe
    PSU
    Seasonic G12 GM 750Watt
    Case
    metal, 15+ years old, ATX/mATX
    Cooling
    Thermalright Peerless Assassin 120
    Keyboard
    Lenovo, wired
    Mouse
    Logitech, wired
    Browser
    Chrome
    Other Info
    First time DIY build.
  • Operating System
    Windows 11 Home 23H2, Build: 22631.4751 (OEM)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acer Aspire XC-1760
    CPU
    Intel Core i5-12400
    Motherboard
    Acer Andrew H610 (PCIe Gen 4)
    Memory
    8 GB DDR4
    Graphics card(s)
    Intel(R) UHD Graphics 730
    Sound Card
    Integrated, HD Audio
    Monitor(s) Displays
    old Samsung
    Screen Resolution
    1920x1080, 60 Hz
    Hard Drives
    M.2 PCIe NVMe SSD (WD or Kingston, not sure), 512GB, partitioned into C & D drives.
    PSU
    Brand unknown. 180W. (80 Plus Gold certification)
    Case
    Slim, DTX
    Cooling
    Brand unknown. Air cooling.
    Mouse
    Logitech (wired)
    Keyboard
    Lenovo (wired)
    Browser
    Chrome
    Other Info
    Extra CPU details:
    Intel UHD Graphics, 6 cores, 12 threads, 2.5 GHz, LGA1700, Intel H610 Chipset.
I’m sot sure why this is worth investigating, unless you simply have an interest in it, which is awesome.
If you’ve lost the key, let me know.

As per your DM.

Here is a list of generic Windows 10 (and 11) keys from Microsoft. The key ending in what you sent me is not included in either of the following lists.
I don’t know where the one you showed me is from.
How did you setup Windows before you received your Pro key?
Did you use a key at all?
I know you don’t use a Microsoft Account so it’s likely not a digitally stored key.

Anyway, here are the lists:

Windows 10


Windows 11

 
Last edited:

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build 22631.5472
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    5 x LG 25MS500-B - 1 x 24MK430H-B - 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech: G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    1000/400Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 23H2 Build: 22631.4249
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.
Just to add. The ISO’s I gave you are from Microsoft and should not have a key within them, unless they are generic. I have no idea how it works, I’ve never asked or have had knowledge about keys in an ISO from Microsoft.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build 22631.5472
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    5 x LG 25MS500-B - 1 x 24MK430H-B - 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech: G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    1000/400Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 23H2 Build: 22631.4249
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.
@antspants Yeah, there wasn't any problem at all. Everything's working fine. :) As I mentioned, I was just looking at info about how to find the product key on the system. (We have the key written down, of course, in a secure place. But I thought it would be good for us to also know how to view it on the system itself.) So I tried the method of looking in the registry mentioned here in this thread and was surprised to see a key that didn't match the Pro product key we had, nor any of the generic keys Brink listed. That sparked my curiosity. I first wondered if maybe there had been a key in the Home ISO ('cos what do I know? lol.). But then putting this mystery key into the ShowKeyPlus tool, it said there that it was Pro RTM Retail.

It's a brand new self-built computer, never used before. We used a Rufus USB with the Home ISO for installation. I can't quite recall if I put in any generic key before we put in the Pro retail key, but I don't think I did.

Hubby and I are now pondering if Microsoft could've maybe made a new key during activation of Pro and put that in the registry. One that couldn't actually activate any other computer on its own. Like, maybe it's a sort of 'safe' way for them to note in the system that our Pro is legit without having the *actual* activating key (the Pro retail key) being quite so easy to find (in case of hackers/malware). No idea. But as newbies, it's the next best guess we could think of as to why it might be there. I might contact Microsoft to ask them about it tomorrow, if I don't forget after work, just 'cos it's a little puzzle that intrigues me.

(I find myself even more interested in all this kind of stuff than I knew I would be. GPEditor, Registry Editor, Terminal, etc. it's quite fascinating, in a way that reminds me of my youth and when I first 'fell in love' with complex algebra puzzles. lol. I hope to keep learning more great stuff here and on Microsoft's learning/support pages, to broaden my understanding about it all.) :)
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2, Build: 22631.5335 (Retail)
    Computer type
    PC/Desktop
    CPU
    Intel Core i5-12600K
    Motherboard
    ASRock B760M PG Riptide
    Memory
    Crucial Classic DDR5-4800 16GB
    Monitor(s) Displays
    1 good old Benq model
    Hard Drives
    Kingston KC3000 SSD 512GB PCIe 4.0 M.2 2280 NVMe
    PSU
    Seasonic G12 GM 750Watt
    Case
    metal, 15+ years old, ATX/mATX
    Cooling
    Thermalright Peerless Assassin 120
    Keyboard
    Lenovo, wired
    Mouse
    Logitech, wired
    Browser
    Chrome
    Other Info
    First time DIY build.
  • Operating System
    Windows 11 Home 23H2, Build: 22631.4751 (OEM)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acer Aspire XC-1760
    CPU
    Intel Core i5-12400
    Motherboard
    Acer Andrew H610 (PCIe Gen 4)
    Memory
    8 GB DDR4
    Graphics card(s)
    Intel(R) UHD Graphics 730
    Sound Card
    Integrated, HD Audio
    Monitor(s) Displays
    old Samsung
    Screen Resolution
    1920x1080, 60 Hz
    Hard Drives
    M.2 PCIe NVMe SSD (WD or Kingston, not sure), 512GB, partitioned into C & D drives.
    PSU
    Brand unknown. 180W. (80 Plus Gold certification)
    Case
    Slim, DTX
    Cooling
    Brand unknown. Air cooling.
    Mouse
    Logitech (wired)
    Keyboard
    Lenovo (wired)
    Browser
    Chrome
    Other Info
    Extra CPU details:
    Intel UHD Graphics, 6 cores, 12 threads, 2.5 GHz, LGA1700, Intel H610 Chipset.
Windows 11 reports as Windows 10 more often than not in majority of its aspects, so no surprise there.
Check post #10 and run that PowerShell code. I haven’t seen it fail to report the correct key yet and I’ve used it many times.
 

My Computer

System One

  • OS
    Windows 11 Pro
I first wondered if maybe there had been a key in the Home ISO

The ISO installs depending on the key you supply it. If you install using a Home key, you will get home. If you install with a Pro key…

GPEditor, Registry Editor, Terminal, etc. it's quite fascinating
❤️

I really couldn’t tell you how that key is showing unless you put it there, so yes, there must be some relationship between Windows (Microsoft) and “That Key”

Try the PowerShell in post 10 as dacrone suggests.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build 22631.5472
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    5 x LG 25MS500-B - 1 x 24MK430H-B - 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech: G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    1000/400Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 23H2 Build: 22631.4249
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.
Do I just copy and paste that big block of code from post 10 into Powershell? I saw, @dacrone , that you mentioned a .bat file a couple times, but I didn't see a .bat file in the thread here. I should just open Powershell and paste the copied code from post 10 just exactly as it is?
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2, Build: 22631.5335 (Retail)
    Computer type
    PC/Desktop
    CPU
    Intel Core i5-12600K
    Motherboard
    ASRock B760M PG Riptide
    Memory
    Crucial Classic DDR5-4800 16GB
    Monitor(s) Displays
    1 good old Benq model
    Hard Drives
    Kingston KC3000 SSD 512GB PCIe 4.0 M.2 2280 NVMe
    PSU
    Seasonic G12 GM 750Watt
    Case
    metal, 15+ years old, ATX/mATX
    Cooling
    Thermalright Peerless Assassin 120
    Keyboard
    Lenovo, wired
    Mouse
    Logitech, wired
    Browser
    Chrome
    Other Info
    First time DIY build.
  • Operating System
    Windows 11 Home 23H2, Build: 22631.4751 (OEM)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acer Aspire XC-1760
    CPU
    Intel Core i5-12400
    Motherboard
    Acer Andrew H610 (PCIe Gen 4)
    Memory
    8 GB DDR4
    Graphics card(s)
    Intel(R) UHD Graphics 730
    Sound Card
    Integrated, HD Audio
    Monitor(s) Displays
    old Samsung
    Screen Resolution
    1920x1080, 60 Hz
    Hard Drives
    M.2 PCIe NVMe SSD (WD or Kingston, not sure), 512GB, partitioned into C & D drives.
    PSU
    Brand unknown. 180W. (80 Plus Gold certification)
    Case
    Slim, DTX
    Cooling
    Brand unknown. Air cooling.
    Mouse
    Logitech (wired)
    Keyboard
    Lenovo (wired)
    Browser
    Chrome
    Other Info
    Extra CPU details:
    Intel UHD Graphics, 6 cores, 12 threads, 2.5 GHz, LGA1700, Intel H610 Chipset.
I can't quite recall if I put in any generic key before we put in the Pro retail key, but I don't think I did.

I think you’d know if you did. Was windows registered when you started the PC up after install? If no, who knows. But “That Key” isn’t one I have been able to find in any list.

EDIT: This is what I have just found;

A Windows 11 product key ending in FX8XG is likely a Windows Home Single Language key. This type of key is typically associated with computers that came pre-installed with Windows Home Single Language.

  • Generic Keys:
    If the key is 6NVT3-XG2B2-468M9-2R8CC-FX8XG, it's likely a generic key that won't activate Windows
  • Windows Home Single Language:
    This key is meant for activation on a machine where Windows Home Single Language is already installed.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build 22631.5472
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    5 x LG 25MS500-B - 1 x 24MK430H-B - 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech: G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    1000/400Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 23H2 Build: 22631.4249
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.
open powershell ise, paste that code and then save it as a .ps1
open powershell as administrator, change the directory to where you saved the .ps1, then type
Code:
.\
and press tab until it shows the name of the .ps1
press enter to run it

*you can just use the "Play"/"Run" button inside ISE to run it, but depending on if a powershell code requires -ExecutionPolicy to be changed on your system, you may see issues with it (for future knowledge)
 

My Computer

System One

  • OS
    Windows 11 Pro
I was just reading through all my notes again about what all was done for the BIOS, OS and driver installations. I'm surprised at what I forgot. Turns out, there were generic keys involved. I wrote in my notes for hubby:

"On May 4, 2025, I disconnected the internet from the tower. There was a key already there in Windows Home (a generic one, I think? -which I guess must've come from either Rufus, the Windows installation process, or else from the ISO antspants gave us 'cos it wasn't one I myself put in). So I changed that already-present key to a generic Pro key that I got from the elevenforum.com tutorial (about upgrading from Home to Pro) so that Windows would upgrade itself from Home to Pro version. (This was possible because the ISO had been a multi-edition one, so that Pro coding was already present upon installation, just not being used, making an upgrade possible without having to reinstall using a different Pro ISO.)

I disconnected the internet because I wasn't sure how the change from Home to Pro would go, and I wanted to make sure there wouldn't be any issues during the change regarding microsoft pushing a microsoft account, and, of course, wanting to prevent BitLocker if I could.

I changed the product key through 'SETTINGS' > System > Activation > Change Product Key.

I used the generic key I got from the forum first, because I wanted to make sure the change to Pro would go okay and be usable for us (and safe, BitLocker-wise) before putting in the actual digital product key for Pro that we got. ('Cos if we weren't going to be able to use Pro, then I thought there should be a chance for the key to be given to someone else.) But the change went fine.

It did turn out that I couldn't prevent Bitlocker from being in the Pro version. It's impossible to remove it, it seems. But at least it was turned off because of the things I'd done to limit it (using Rufus for the original ISO installation, only having a local account instead of a Microsoft account, and not having internet connection at the time Home was being upgraded to Pro). We'll just have to be VERY careful not to accidentally turn it on."

@antspants The last 5 characters are the same, but all the rest of the code is different than the one you found. I guess it must be a generic key that was there upon the Home installation. Whether that key came from Rufus, from Microsoft itself putting it there, or from the ISO, I have no idea. But after just digging out and rereading my notes above, it sparked a memory of seeing a product key already there well before I ever entered the generic Pro, and later retail Pro. I wonder if the system shows people the generic product keys and maybe it's only the paid-for keys that aren't readily shown.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2, Build: 22631.5335 (Retail)
    Computer type
    PC/Desktop
    CPU
    Intel Core i5-12600K
    Motherboard
    ASRock B760M PG Riptide
    Memory
    Crucial Classic DDR5-4800 16GB
    Monitor(s) Displays
    1 good old Benq model
    Hard Drives
    Kingston KC3000 SSD 512GB PCIe 4.0 M.2 2280 NVMe
    PSU
    Seasonic G12 GM 750Watt
    Case
    metal, 15+ years old, ATX/mATX
    Cooling
    Thermalright Peerless Assassin 120
    Keyboard
    Lenovo, wired
    Mouse
    Logitech, wired
    Browser
    Chrome
    Other Info
    First time DIY build.
  • Operating System
    Windows 11 Home 23H2, Build: 22631.4751 (OEM)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acer Aspire XC-1760
    CPU
    Intel Core i5-12400
    Motherboard
    Acer Andrew H610 (PCIe Gen 4)
    Memory
    8 GB DDR4
    Graphics card(s)
    Intel(R) UHD Graphics 730
    Sound Card
    Integrated, HD Audio
    Monitor(s) Displays
    old Samsung
    Screen Resolution
    1920x1080, 60 Hz
    Hard Drives
    M.2 PCIe NVMe SSD (WD or Kingston, not sure), 512GB, partitioned into C & D drives.
    PSU
    Brand unknown. 180W. (80 Plus Gold certification)
    Case
    Slim, DTX
    Cooling
    Brand unknown. Air cooling.
    Mouse
    Logitech (wired)
    Keyboard
    Lenovo (wired)
    Browser
    Chrome
    Other Info
    Extra CPU details:
    Intel UHD Graphics, 6 cores, 12 threads, 2.5 GHz, LGA1700, Intel H610 Chipset.

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build 22631.5472
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    5 x LG 25MS500-B - 1 x 24MK430H-B - 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech: G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    1000/400Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 23H2 Build: 22631.4249
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.
Just had to delete a comment, because I wrote it wrong. Here's what it should have said:

I guess it can't be a generic Home key because when I put that mystery key into ShowKeyPlus, ShowKeyPlus said the mystery key was a Win 10 RTM Professional Retail key. I forgot that for a few minutes, but I had already written it above, in response to bree.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2, Build: 22631.5335 (Retail)
    Computer type
    PC/Desktop
    CPU
    Intel Core i5-12600K
    Motherboard
    ASRock B760M PG Riptide
    Memory
    Crucial Classic DDR5-4800 16GB
    Monitor(s) Displays
    1 good old Benq model
    Hard Drives
    Kingston KC3000 SSD 512GB PCIe 4.0 M.2 2280 NVMe
    PSU
    Seasonic G12 GM 750Watt
    Case
    metal, 15+ years old, ATX/mATX
    Cooling
    Thermalright Peerless Assassin 120
    Keyboard
    Lenovo, wired
    Mouse
    Logitech, wired
    Browser
    Chrome
    Other Info
    First time DIY build.
  • Operating System
    Windows 11 Home 23H2, Build: 22631.4751 (OEM)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acer Aspire XC-1760
    CPU
    Intel Core i5-12400
    Motherboard
    Acer Andrew H610 (PCIe Gen 4)
    Memory
    8 GB DDR4
    Graphics card(s)
    Intel(R) UHD Graphics 730
    Sound Card
    Integrated, HD Audio
    Monitor(s) Displays
    old Samsung
    Screen Resolution
    1920x1080, 60 Hz
    Hard Drives
    M.2 PCIe NVMe SSD (WD or Kingston, not sure), 512GB, partitioned into C & D drives.
    PSU
    Brand unknown. 180W. (80 Plus Gold certification)
    Case
    Slim, DTX
    Cooling
    Brand unknown. Air cooling.
    Mouse
    Logitech (wired)
    Keyboard
    Lenovo (wired)
    Browser
    Chrome
    Other Info
    Extra CPU details:
    Intel UHD Graphics, 6 cores, 12 threads, 2.5 GHz, LGA1700, Intel H610 Chipset.
as far as the registry entry goes:
  • Fun Fact:
    This key might differ from what CMD and PowerShell reveal. The reason stems from how Microsoft encodes the product key for different purposes, especially with OEM (Original Equipment Manufacturer)-installed versions of Windows.
for whatever that's worth. mine has the correct last 5 but different first 20, like yours

side note, this old .vbs still works and reports correctly as well lol

Code:
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 
    
    If (isWin8 = 1) Then
        keypart1 = Mid(KeyOutput, 2, Last)
        insert = "N"
        KeyOutput = Replace(KeyOutput, keypart1, keypart1 & insert, 2, 1, 0)
        If Last = 0 Then KeyOutput = insert & KeyOutput
    End If     
    
 
    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
 

My Computer

System One

  • OS
    Windows 11 Pro
Back
Top Bottom