How to change Windows 10 product key

If you need to change the product key of the installed OS, for example. suppose you have installed Windows 10 initially with a generic key, and then wish to change it to an authentic key that you purchased, this can be done quickly without reinstalling. You don't need any third party tools or complex Registry tweaks. Note: This trick also works in Windows 8.1, Windows 8, Windows 7 and Windows Vista. Follow the steps below.

Change the product key in Windows 10

  1. Open an elevated command prompt. See: How to open elevated command prompt in Windows 10.
  2. Type the following command to install a new product key and press Enter:
    slmgr.vbs -ipk 11111-11111-11111-11111-11111

    Replace "111" with your actual product key.

  3. To activate Windows after changing the key, you need to run the following command:
    slmgr.vbs -ato

Wait for a few seconds and the check System Properties window in Control Panel\System and Security\System. It should say that Windows 10 is activated.
That's it.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

25 thoughts on “How to change Windows 10 product key”

  1. Excellent one, Sergey. I updated with Windows 10 tech preview with my Windows 8 authentic product key. Thank you. :)

  2. hello,
    i got problem when i try to enter my genuie OEM key i het message: ERROR: 0xC004F050 Software Lisence Service reported that key is invalid. What i have to do ? Try to replaced key by slui, by this command and ms toolkit/kmsspico. Nothing helped. Please contact me by mail.

  3. I had to use slmgr.vbs /ipk instead of -ipk. Not sure if this is a new Windows 10 thing, I’ve been used to – instead of /

  4. Thanks! I had to use this in Windows 10 (worked just like you listed with the -ipk). When I tried to change my product key using the standard Settings – Activation – Change Key I kept hearing a chime but nothing came up. Almost as if the dialog was appearing behind my window but there was no indication of it or any way to switch to it.

    This worked like a charm. :)

  5. am using windows 10 home sibgle lang x64 but the slmgr did not activate it but it was able to change d product key

  6. I purchased a Win10 Pro install DVD with an SSD from an authorized retailer. Upon scratching the concealment sticker on the micro COA, it damaged some of the characters to make them illegible. The OS is installed but cannot be activated. I’ve called Microsoft technical support, but they have been of no help at all. Suggestions (without spending money again for same OS)?

  7. my computer is coming up with window expire soon activation key I try activating it is not working I will appreciate if you help me out thanks

  8. i has tried to deactivated windows license’s, i filled again use same license and “eror product not found”. am i lose my windows license. could you help to maked my windows license activated again. thanks

  9. does this work with windows ten pro “slmgr.vbs -ato” because am getting this message
    “activating windows(R), professional edition
    Error: 0×80072EE7 On a computer running Microsoft Windows non-core
    edition, run ‘slui.exe 0×2a 0×80072EE7’ to display the error text

  10. Dear Sergey, I apreciate ++ your contribution.
    I want to move a virtualbox machine with windows 10 retail between 2 real physical computers
    That virtualbox machine has in the past been activated at least once via internet with those physical computers (at diferent times). It never resided in both physical machine at the same time.
    I want to use your method to move the virtual machine between those 2 physical computers without having to need an internet connection.
    slmgr.vbs -ato
    require an internet connection to activate or will it even succeed offline in this case?

    1. Since I am using microsoft server then I would need the internet.
      But I am wondering: when I will be moving it will I need to reactivate it? (Windows 10 is on the virtual machine on physical computer A and I am moving the virtual machine to physical computer B (file transfer))
      Does the activation algorithm of Microsoft use the serial number of the physical computer and/or the serial number of the physical drive or does it only use the virtual machine network mac (which will remain the same)?
      Even if it uses the serial number of the physical computer and/or drive, will the changes be considered significant enough (even if mac remains the same) for windows to request that it be reactivated?

  11. A friend gave me his desktop and it gave me a free upgrade to windows 10 with digital license. I intend to give it to a club up the road, as they are OAPs. It has been sitting in the bedroom, so before giving it away I thought I would update it, but it would not start, the cmos battery was flat which I replaced, now I have been working on getting it going, so far one of the hard drives is broken, the registry was corrupt, and bios is still having problems, I eventually managed to get a fresh copy of win10 on to it, but so much has gone wrong. It has a digital license so I thought it would auto go back on when I went online, but it’s lost the WiFi, and so it goes on. I found a license in registry, but it just won’t activate at all. I have spent so many days and hours trying to fix it, think I should have dumped it, but trying to do a good deed to help some others out. I don’t know where the digital license is stored, so can’t get to it, the only thing I found was a generic one but that won’t activate, is there any hope or should I take it to the tip, thanks.

Leave a Reply

Your email address will not be published.

Exit mobile version
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.