How to Change Your Windows Product Key: Three ways to change the product key in Windows 11 or Windows 10, whether you are upgrading to Pro or fixing activation.
You might need to change your Windows product key when upgrading from Home to Pro, replacing a key that does not work, or switching away from a company key. Here are three methods.
Method 1: Settings
- Open Settings > System > Activation (Windows 10: Update & Security > Activation).
- Select Change product key.
- Enter the new key and select Next.
Method 2: changepk
Press Windows + R, type changepk.exe, press Enter and type the new key.
Method 3: Command Prompt (slmgr)
- Open Command Prompt as administrator.
- Run
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXXto install the new key. - Run
slmgr /atoto activate.
When the key is for a different edition
Entering a Pro key on Home upgrades the edition, see upgrade Windows 11 Home to Pro. A Home key cannot downgrade Pro; that needs a clean install.
If activation fails
Use phone activation: how to activate Windows by phone. Check common errors in our activation guide.
FAQs: How to Change Your Windows Product Key
Will changing the key delete my files?
No. Changing the key does not affect your files or apps.
Can I change from a KMS key to a retail key?
Yes, see how to fix error 0xC004F074.
Do I need to restart?
Only when upgrading the edition, such as Home to Pro.
Further reading
For official guidance, see Microsoft Support: activation help. You may also find these guides useful: Office “Product Activation Failed”: How to Fix It and Windows Activation Error 0xC004C008: Key Already Used.
