-
Open an Elevated PowerShell Prompt
- Search for "PowerShell" in the Start menu.
- Right-click on "Windows PowerShell" and select Run as Administrator.
-
Run the Command
- In the elevated PowerShell window, enter:
(Get-CimInstance -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
- In the elevated PowerShell window, enter:
-
View the Output
- If the device has a firmware-embedded activation key, it will display in the output:
C:\Users\sumonhome_iv>powershell
Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. Try the new cross-platform PowerShell https://aka.ms/pscore6 PS ...>(Get-CimInstance -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
- If blank, there is no embedded key. Most modern OEM devices for Windows have this feature.
- If the device has a firmware-embedded activation key, it will display in the output:
Created
October 28, 2024 19:15
-
-
Save sumonst21/7428b4fdc13ce3e54dd34a455636d7d5 to your computer and use it in GitHub Desktop.
How to Retrieve Your Firmware-Embedded Windows Activation Key Using PowerShell
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment