Updated October 2026
Open an admin command prompt
- Right-click the Start button.
- Choose Terminal (Admin) or Command Prompt (Admin), then select Yes.
Install the key and activate
- Type
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXXwith your own key and press Enter. Wait for the confirmation window. - Type
slmgr /atoand press Enter to activate online. - Type
slmgr /xprto confirm. It should say the machine is permanently activated.
Other useful commands
| Command | What it does |
|---|---|
slmgr /dli | Shows the edition and last five characters of the key |
slmgr /upk | Removes the installed key |
slmgr /cpky | Clears the key from the registry |
slmgr /rearm | Resets the licensing status (rarely needed) |
If you get an error
Look up the code in Windows activation error codes. The most common cause is a key for a different edition, for example a Pro key on Home.
Keys mentioned in this guide
- Windows 11 Pro $24.99
- Windows 10 Pro $19.99
Still stuck?Send us a screenshot and your order number on the contact page. If a key we sold you won't activate, we fix it or send a replacement.