sodcalculator

10 Tech How-To

Change Product Key After Installation in Windows 10

Guide 10-54012 · Updated · Step by step

Yes, you can change the product key after installing Windows 10, and it takes only a few minutes. You can do this through the Settings app, the Command Prompt, or PowerShell, and you don’t need to reinstall the operating system. This guide walks you through each method, explains when you might need to change a key, and covers common problems you may run into.

Why You Might Need to Change a Product Key

There are several common reasons to change a Windows 10 product key after installation:

  • Upgrading from Home to Pro: You may have installed Windows 10 Home and later bought a Pro license to unlock features like BitLocker, Remote Desktop, or Hyper-V.
  • Fixing activation errors: If Windows shows “Windows isn’t activated” or an error code like 0xC004F213, entering a valid key can resolve it.
  • Replacing a motherboard: After a major hardware change, Windows may no longer recognize your digital license. Re-entering your key can reactivate it.
  • Switching from a volume license to a retail key: Organizations sometimes need to move a machine from a KMS or MAK key to a retail license.
  • Correcting a typo: If the key entered during setup was mistyped, you can correct it without reinstalling.

What You Need Before You Start

Before changing your product key, make sure you have:

  • A valid product key: This is a 25-character code, usually formatted like XXXXX-XXXXX-XXXXX-XXXXX-XXXXX. It can be on a sticker, a retail card, an email, or in your Microsoft account under “Devices.”
  • Administrator privileges: You must be logged in with an account that has admin rights to change the key.
  • An internet connection: Windows will need to contact Microsoft’s activation servers to verify the key.

If you don’t have a key yet, you can still change it later. Windows will run in an unactivated state until you enter a valid key, but you won’t be able to personalize certain settings (like wallpaper) until it’s activated.

Method 1: Change Product Key in Settings (Easiest)

The most straightforward way is through the Settings app. This method is ideal for most users because it doesn’t require any command-line knowledge.

  1. Open Settings (press Windows + I).
  2. Go to Update & Security.
  3. Select Activation from the left sidebar.
  4. Click Change product key.
  5. Enter your new 25-character key in the pop-up window, then click Next.
  6. Follow the on-screen prompts. Windows will validate the key and activate your copy.

If the “Change product key” button is greyed out, it may be because your Windows edition is already activated with a digital license. In that case, you can still use the command-line methods below.

Method 2: Change Product Key Using Command Prompt

If you prefer the command line or the Settings method fails, you can use the slmgr tool. This is a built-in Windows activation script.

  1. Open Command Prompt as Administrator. Right-click the Start button and select “Command Prompt (Admin)” or “Windows PowerShell (Admin)”.
  2. Type the following command and press Enter:
    slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
    Replace the X’s with your actual product key.
  3. You should see a message saying “Installed product key”.
  4. To force activation, type:
    slmgr /ato and press Enter.

If you don’t know your key but want to see the current one, type slmgr /dli to display license information, or slmgr /dlv for more detail.

Method 3: Change Product Key Using PowerShell

PowerShell offers a similar approach, but with a slightly different command. This is useful if you prefer PowerShell over Command Prompt.

  1. Open PowerShell as Administrator (right-click Start and select “Windows PowerShell (Admin)”).
  2. Run the following command:
    slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
    Again, replace the X’s with your key.
  3. Then run slmgr /ato to activate.

You can also use the wmic command to change the key, but slmgr is the standard and most reliable.

What to Do If Activation Fails

Sometimes changing the product key doesn’t immediately activate Windows. Here are common issues and how to resolve them:

  • Error 0xC004F050: The product key is invalid or not for the correct edition. Double-check that the key matches your Windows version (Home vs. Pro).
  • Error 0xC004F074: The key is blocked or not genuine. Contact Microsoft support or the retailer where you bought the key.
  • Error 0x803F7001: The key is already in use on another device. If you’re moving it, you may need to deactivate the old device first.
  • No internet connection: Activation requires internet access. If you’re offline, you can use the phone activation option: run slui 4 in Command Prompt to open the phone activation dialog.

If you previously had a digital license linked to your Microsoft account, you can use the Activation Troubleshooter. Go to Settings > Update & Security > Activation and click Troubleshoot. This can help after hardware changes.

Changing the Edition (Home to Pro) – What’s Different?

If you’re upgrading from Windows 10 Home to Pro, the process is slightly different. You don’t just change the key; you need to install the Pro edition features first.

  1. Open Settings > Update & Security > Activation.
  2. Click Change product key and enter your Windows 10 Pro key.
  3. Windows will start the upgrade process, which may take 10-30 minutes and will restart your PC.
  4. After the upgrade, Windows will activate automatically.

This is the only scenario where changing the key triggers a feature update. For all other key changes (e.g., replacing a key with another of the same edition), the process is instant.

Frequently Asked Questions

Can I change the product key for free?

Yes, changing the product key itself is free. You only pay if you need to purchase a new license. If you already own a valid key, you can enter it at no cost.

Will changing the product key delete my files?

No. Changing the product key does not affect your personal files, installed programs, or settings. It only updates the license information in Windows.

How do I find my current product key before changing it?

You can use the command wmic path softwarelicensingservice get OA3xOriginalProductKey in Command Prompt (Admin) to display the original key. Alternatively, third-party tools like ProduKey can show it, but these are not officially endorsed by Microsoft.

What if I don’t have a product key at all?

You can still change the key later. Windows 10 will run unactivated, but you can enter a key anytime by following the methods above. Without activation, you’ll see a watermark and lose personalization options.

Can I change the key from a volume license to a retail key?

Yes. Use the same slmgr /ipk command with your retail key. After that, run slmgr /ato to activate. It’s a straightforward process, but make sure the retail key is for the same edition.

Is it legal to change the product key?

Yes, as long as you own the license for the key you’re entering. Using a key from another device or a pirated key is illegal and may result in activation failure.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →