Microsoft
July 12, 2017

Finding the OEM License

If your PC has an OEM license — in other words, if you purchased a computer that came with Windows preinstalled — you can find the license key using Command Prompt.

1
wmic path softwarelicensingservice get OA3xOriginalProductKey

Windows 11 Generic Keys

The Windows 11 generic keys are technically default keys that allows you to install the OS without activation. They don’t provide you with a licensed copy, but are great for testing new builds. If Windows 11 refuses to install without a product key, or installs a wrong edition, you can specify the appropriate generic key.

Windows 11 Edition Generic Key
Windows 11 Home YTMG3-N6DKC-DKB77-7M9GH-8HVX7
Windows 11 Home N 4CPRK-NM3K3-X6XXQ-RXX86-WXCHW
Windows 11 Home Home Single Language BT79Q-G7N6G-PGBYW-4YWX6-6F4BT
Windows 11 Home Country Specific N2434-X9D7W-8PF6X-8DV9T-8TYMD
Windows 11 Pro VK7JG-NPHTM-C97JM-9MPGT-3V66T
Windows 11 Pro N 2B87N-8KFHP-DKV6R-Y2C8J-PKCKT
Windows 11 Pro for Workstations DXG7C-N36C4-C4HTG-X4T3X-2YV77
Windows 11 Pro for Workstations N WYPNQ-8C467-V2W6J-TX4WX-WT2RQ
Windows 11 Pro Education 8PTT6-RNW4C-6V7J2-C2D3X-MHBPB
Windows 11 Pro Education N GJTYN-HDMQY-FRR76-HVGC7-QPF8P
Windows 11 Education YNMGQ-8RYV3-4PGQ3-C8XTP-7CFBY
Windows 11 Education N 84NGF-MHBT6-FXBX8-QWJK7-DRR8H
Windows 11 Enterprise XGVPP-NMH47-7TTHJ-W3FW7-8HV2C
Windows 11 Enterprise N WGGHN-J84D6-QYCPR-T7PJ7-X766F
Windows 11 Enterprise G N FW7NV-4T673-HF4VX-9X4MM-B4H4T

How to Change the product key in Windows 11

To change the product key in Windows 11 after installing it with a generic key, do the following.

Run the Windows Terminal (Admin) to run it as Administrator.

Type the below command with the <product key> that supports activation.

1
slmgr /ipk <product key>

If Windows 11 doesn’t active itself instantly, type the below command to force the activation process.

1
slmgr.vbs -ato