What you see
You type or paste your new product key into the Activation settings — and Windows refuses it:
The product key you entered didn’t work. (0x80041023)
This error shows up most often in one specific situation: a brand-name PC or laptop (the kind that came with Windows pre-installed), or a PC that was reset or reinstalled. But it can appear on any machine where Windows is still holding a different key than the one you’re trying to enter.
Why this happens
Most PCs that ship with Windows have their original licence stored in the motherboard’s firmware. If that stored key is for Windows الصفحة الرئيسية and you now enter a Pro key through the normal Settings screen, Windows keeps tripping over the old key — and your new key gets rejected with 0x80041023, even though the key itself is perfectly good.
The same error can also appear when:
- The key you’re entering doesn’t match the installed edition (Pro key, Home system — the classic mix-up).
- A previous key is still installed and Windows is trying to activate with that one instead.
- The key was entered with a typo.
One honest note: the code alone doesn’t prove which of these it is on your PC. The good news is you don’t need to know. The fix below removes whatever key Windows is currently holding and installs your key directly, using Microsoft’s own licensing tool — which resolves the common cases either way. It does not require a new key.
Step 1 — Check which edition you have installed
- Press the Windows key + I to open Settings.
- Go to System → About and look at Edition.
- Compare it with the key you bought. If your PC runs Windows Home and your key is for Pro, the editions have to be switched first — follow Steps 3–4 of our 0xC004F050 guide (it uses Microsoft’s generic key to switch Home to Pro, offline), then come back here if 0x80041023 still appears.
- If the edition already matches your key, continue to Step 2.
Step 2 — Remove the key Windows is currently holding
- Right-click the Start button and choose Terminal (Admin) أو Command Prompt (Admin).
(Or press Windows key + R, typecmd, then press Ctrl + Shift + Enter.) - Type this command and press Enter:
slmgr /upk - A small window confirms: “Uninstalled product key successfully.” Click OK.
- Restart your PC. This clears out the old key so it stops interfering.
Don’t worry — removing the installed key doesn’t delete anything else, and it can’t damage your system. You’re simply telling Windows to forget the licence it was clinging to.
Step 3 — Install your key directly, then activate
- Open Terminal (Admin) / Command Prompt (Admin) again, the same way as Step 2.
- Type this command, replacing the example with your key from your delivery email, and press Enter:
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
A window confirms the key was installed successfully. Click OK. - Now type this and press Enter:
slmgr /ato - You should see “Windows is activated successfully.” Restart once more for good measure, then check Settings → System → Activation — it should now show Windows as activated.
Step 4 — Run the Activation Troubleshooter
If the error is still there after Steps 2–3:
- Go to Settings → System → Activation and click Troubleshoot.
- Let Windows check the activation state and apply any fix it offers.
- Install any pending Windows Updates, restart, and try Step 3 once more.
Still seeing 0x80041023?
If you checked the edition, cleared the old key, installed yours with the commands above and ran the troubleshooter — and the error still won’t go away — send us these three things and we’ll work through it with you:
- Your order number
- A screenshot of the error
- A screenshot of Settings → System → About (so we can see your edition)
Email: [email protected]
Quick answers
Does 0x80041023 mean my new key is bad?
Usually not. In most reports the key is fine — Windows was still holding the PC’s previous (often factory-installed) key and refusing to take the new one through Settings. Installing your key directly with slmgr /ipk (Step 3) is exactly the workaround Microsoft’s own support answers suggest.
I reset my PC and now my new key won’t work. Is that this?
Very likely, yes. A reset/reinstall is the classic trigger: Windows reactivates itself against the factory key stored in the firmware. Steps 2–3 were written for precisely this situation.
The commands say my key was installed, but Windows still isn’t activated. Now what?
Double-check the edition match (Step 1) — a key can install successfully yet fail to activate if it’s for a different edition than the one installed. If the edition matches, run Step 3’s slmgr /ato once more after a restart, then Step 4.
Use the next step that matches your setup
Stay with the Windows and Office routes we actively maintain most. Choose the guide, troubleshooting path, or hub that answers the next real question instead of jumping into an unrelated product page.
Use the live guide or product page as the source of truth for delivery, redemption, and post-sale support details.




