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.
    change product key windows 10

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

    activate product key windows 10

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.

23 thoughts on “How to change Windows 10 product key

  1. Shyam Reddy

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

    Reply
    1. Sergey Tkachenko Post author

      heh, you are welcome :)

      Reply
  2. Jan

    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.

    Reply
  3. Greg

    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 /

    Reply
  4. Matt

    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. :)

    Reply
  5. moses

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

    Reply
  6. moses

    error msg;
    no key management service could be contacted

    Reply
  7. muath

    run cmd as administrator

    Reply
  8. kksilvery

    Hi,
    Yes, You’re method worked for me . Thank you for awesome post.

    Reply
  9. Murali

    nice information about how to change windows 10 product key thanks for sharing

    Reply
  10. Divya Prakash Mishra

    Please provide me another product key of windows 10 pro

    Reply
  11. Spicy Flier

    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)?

    Reply
    1. Muneer

      Which code ou want to tell?

      Reply
  12. wild

    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

    Reply
  13. miqdad

    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

    Reply
  14. tanaka

    I cant change my product key

    Reply
  15. kemdirim Martins

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

    Reply
    1. Sergey Tkachenko Post author

      Type slui.exe 0×2a 0×80072EE7 in the Win+R (Run) Dialog and see what it says.

      Reply
  16. frank

    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.
    Does:
    slmgr.vbs -ato
    require an internet connection to activate or will it even succeed offline in this case?

    Reply
    1. Sergey Tkachenko Post author

      it depends on the activation server you use. Microsoft’s servers are on the internet.

      Reply
    2. frank

      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?

      Reply
      1. Sergey Tkachenko Post author

        It will require you to re-activate it due to hardware changes.

        Reply

Leave a Reply

Your email address will not be published. Required fields are marked *