Back up important files before any big step such as a reset or restore. Don't download 'repair' programs suggested online; use only official tools from Microsoft, Apple, Google or your device maker. On work or school devices, ask your IT admin first.
Likely causes
- Typo in the key, or hyphens replaced by other characters when pasting
- The key is for a different Windows version
- A beta key used on a released version
- Activation servers were busy right after an upgrade
Steps you can try
Did that fix it?
Great! If the code comes back, repeat the same steps from the start.
If the steps didn't help, don't push further. See the help section below.
When to get help
Contact Microsoft Support if a free upgrade isn't activated and no major hardware change happened. On company PCs, contact IT.
Sources
This page is based on official sources from Microsoft, Apple, Google and other makers, written in our own words. Code meanings can differ between versions.