How Do I Change My Windows Product Key?

Change the product key in Windows 10, 8, 7, Vista, and XP

Changing the product key that you used to install Windows with might be necessary if you find out that your current product key is... well, illegal, and you've purchased a new copy of Windows to solve the problem.

While it's probably less common these days, many people still use product key generators or other illegal tools to get product keys that work to install Windows only to find out later, when they try to activate Windows, that their original plan isn't going to work out.

You could completely reinstall Windows using your new, valid key code, but changing the product key without reinstalling is considerably easier. You can change the product key manually by making certain registry changes or by using a wizard available in Control Panel.

The steps involved in changing your product key differ considerably depending on which Windows operating system you're using. See our article What Version of Windows Do I Have? if you're not sure.

How to Change the Product Key in Windows 10, 8, 7, and Vista

Since some versions of Windows use slightly different names for some menus and windows pay close attention to the differences that are called out in those steps.

  1. Open Control Panel.

  2. Click or tap on the System and Security link (10/8/7) or System and Maintenance link (Vista).

    System and Security link in Control Panel

    If you're viewing the Small icons or Large icons view (10/8/7) or Classic View (Vista) of Control Panel, you won't see this link. Simply open the System icon and proceed to Step 4.

  3. Click or tap on the System link.

    System Link in Control Panel for Windows 10
  4. In the Windows activation area of the System window (10/8/7) or View basic information about your computer window (Vista), you'll see the status of your Windows activation and your Product ID number.

    The Product ID is not the same as your product key. To display your product key, see How to Find Microsoft Windows Product Keys.

  5. Next to the Product ID, you should see an Activate Windows (Windows 10) link or Change product key (8/7/Vista) link. Click or tap on this link to start the process of changing your Windows product key.

    Change Product Key in Windows 10 System panel

    If you're using Windows 10, an extra step is required here. In the Settings window that opens next, choose Change product key.

  6. In Windows 10 and Windows 8, enter the product key into the Enter a product key window.

    Enter a product key dialog box in Windows 10

    In Windows 7 and Windows Vista, the key should be entered into a screen called Windows Activation.

    If you're using Windows 10 or Windows 8, the key will be submitted once all the characters have been entered. In Windows 7 and Vista, press Next to continue.

  7. Wait on the Activating Windows... message until the progress bar is complete. Windows is communicating with Microsoft to make sure that your product key is valid and to reactivate Windows.

  8. The Activation was successful message will appear after your product key has been validated and Windows has been activated.

  9. That's all there is to it! Your Windows product key has been changed.

Tap or click Close to close this window. You can now also close any other windows you opened in the above steps.

How to Change the Windows XP Product Key

A completely different process is required to change the Windows XP product key code because you have to make changes to the Windows Registry. It's important to take great care in making only the changes described below!

It's highly recommended that you back up the registry keys you're changing in these steps as an extra precaution.

If you're uncomfortable making registry changes in order to change your Windows XP product key, using the popular free product key finder program called Winkeyfinder is another option. It's an excellent alternative solution to changing the Windows XP product key code manually.

Prefer screenshots? Try our Step by Step Guide to Changing the Windows XP Product Key for an easy walkthrough!

  1. Open Registry Editor via Start > Run. From there, type regedit and click OK

  2. Locate the HKEY_LOCAL_MACHINE folder under My Computer and click on the plus sign (+) next the folder name to expand the folder.

  3. Continue to expand folders until you reach the following registry key:

  4. Click on the WPAEvents folder.

  5. In the results that appear in the window on the right, locate OOBETimer.

  6. Right-click on the OOBETimer entry and choose Modify from the resulting menu.

  7. Change at least one digit in the Value data text box and click OK. This will deactivate Windows XP.

    Feel free to close Registry Editor at this point.

  8. Click on Start and then Run.

  9. In the text box in the Run window, type the following command and click OK.

  10. When the Let's activate Windows window appears, choose Yes, I want to telephone a customer service representative to activate Windows and then click Next.

  11. Click the Change Product Key button at the bottom of the window.

    Don't worry about filling anything out on this screen. It's not necessary.

  12. Type your new, valid Windows XP product key in the New key: text boxes and then click the Update button.

  13. Now reactivate Windows XP by following the instructions on the Activate Windows by phone window, which you should now be seeing, or via the internet by clicking the Back button and following the instructions on that screen.

    If you'd rather postpone activating Windows XP until a later date, you can click the Remind me later button.

  14. After activating Windows XP, you can verify that activation was successful by repeating steps 9 and 10 above.

The Windows Product Activation window that appears should say "Windows is already activated. Click OK to exit."

Click OK and you're done!