How to Change Product Key in Windows 10

To change the product key in Windows 10, go to Settings > Update & Security > Activation, click Change product key, enter the new 25-character key, and click Next, then Activate. You might need to if you bought a new license, want to upgrade from Home to Pro, or need to fix an activation error after replacing hardware. If Settings won't cooperate, there are command-line options too.

Windows 10 reached end of support in October 2025. Activation still works the same way, and a valid Windows 10 key can generally activate the same edition of Windows 11.

Before you start

  • Have the full key ready. It’s five groups of five letters and numbers.
  • Make sure the key matches the edition you want. A Pro key upgrades Home to Pro; a Home key won’t activate Pro.
  • Stay connected to the internet so Windows can activate right away.
  • Sign in with an administrator account.

Method 1: Change the key in Settings

  1. Press Windows + I to open Settings.
  2. Click Update & Security, then Activation in the left menu.
  3. Click Change product key. Click Yes if User Account Control asks.
  4. Type the new key and click Next.
  5. Click Activate. If the key is for a different edition, Windows may download and install the upgrade and restart.

Method 2: Use Command Prompt

If the Settings button does nothing or shows an error, use the Software Licensing tool:

When the old key turns out to be a KMS client key from an unofficial tool, follow how to remove KMS activation before entering the new one.

  1. Search Start for cmd, right-click Command Prompt, and choose Run as administrator.
  2. Install the key with slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX, using your key.
  3. Activate it with slmgr /ato.
  4. Check the result with slmgr /xpr, which shows whether Windows is permanently activated.

Each command shows a small confirmation window. Wait for it before running the next one.

Method 3: Upgrade edition with changepk

For Home-to-Pro upgrades that fail in Settings, run changepk.exe /ProductKey XXXXX-XXXXX-XXXXX-XXXXX-XXXXX in an administrator Command Prompt. Windows starts the edition upgrade with the key you supply.

Common activation errors

  • 0xC004F050: The key isn’t valid. Check for typos, and confirm the key is for Windows 10 or 11, not an older version.
  • 0xC004C003: The key is blocked or already used on too many PCs. Contact the seller or Microsoft.
  • 0xC004F074: Windows couldn’t reach an activation server. This often happens with volume license keys meant for business networks.
  • 0x803F7001: No valid license was found, often after replacing the motherboard.

For any error, click Troubleshoot on the Activation page. If you changed hardware and your license was linked to your Microsoft account, choose I changed hardware on this device recently.

Buying and finding keys

  • Avoid very cheap keys from unofficial sellers. They’re often volume or resold keys that can stop working later.
  • To find the key you’re replacing, see finding your Windows 10 product key.

Once the new key is in, confirm that Windows 10 shows as activated before you throw away the receipt.

Product key questions people ask

Will changing the product key erase my files?

No. Changing the key only changes the license. Upgrading from Home to Pro keeps your files and apps, though Windows restarts during the upgrade.

Can I use the same key on two PCs?

A retail key is licensed for one PC at a time. You can move it to a new PC after removing it from the old one. Keys that came preinstalled on a PC (OEM) usually stay with that PC.

Do I need a key if I reinstall Windows?

Often not. If the PC already has a digital license, Windows activates automatically after reinstalling the same edition. See installing Windows 10 without a product key.