How to retrieve your Windows Product Key from Registry

Sometimes it can be convenient to be able to retrieve the Windows Product key from an active Windows installation e.g. if you have lost your Windows COA Sticker or if you can’t read the sticker anymore because it has been damage. I have developed a little tool in Visual Basic that can help you to retrieve your Windows Product key from the registry on an active Windows installation. With this tool you can find your Product Key before you reinstall your system to be sure that you are able to reactivate your Windows license. No installation is required and there is no catch like in form of toolbars or hidden ads. It is just a single .exe file that you can put on a USB stick and bring with you wherever you go.


The format of a Windows Product key is in most cases a 25 characters looking like this:

Download GetWinKey

You can download GetWinKey from my download section *

*.Net Framework 3.5 is required to run this tool.

Supported platform:

  • Windows 7
  • Windows server 2008
  • Windows Server 2008 R2

Both x86 and x64 platform is supported

If you have any comments regarding this program or maybe you have a suggesting for an improvement just leave me a comment below.

About the author:
I am an IT Professional that has this blog as a hobby project in my spare time. I have been in the IT business since 1996 and want to share some of the thing I have picked up over the years, with people who visit this blog.

>>Subscribe to my Newsletter<<

20 Responses to How to retrieve your Windows Product Key from Registry

  1. Jijin Mohan says:

    Thanks Thomas for showing the tutorial. So helpful to all we windows users.

  2. Tushar says:

    I was searching all over internet for “how to get my windows product key” and couldn’t find a simple solution, But this post helped me a lot and I was successful to collect my product key, Thanks

  3. Karl says:

    Thank you very much! You saved my day.

    Best wishes

  4. Kayla says:

    It is an awesome post, I was searching for my lost Windows Xp key. Thanks

  5. Nalashaa says:

    Oh well… this is what I needed today morning!

  6. rocky says:

    thanks for info…its work perfactly fine for me…

  7. John Paul says:

    I was looking for the same around the web, and there are lot of crap solutions I found which didn’t work probably. But this worked perfectly for me to get my Windows product key.

    Thanks a lot

  8. Thanks for sharing this. I faced lots of trouble because of this. Now I can find my Windows key.

  9. Zeeshan Shaukat says:

    So Actually I Found What I am Searching For…
    I want To Reflash My Computer Due to Some Virus Infected Files So I Will Grab My Own Window Activation Key To Renew My Windows Activation 🙂 Thanks

  10. Harshil says:

    Thanks a lot Thomas. I will remember you for a long time for this post, because this helped me a lot.

  11. It is really helpful for me. Now I can easily retrieve my windows key. Thanks to you for that.

  12. I can’t explain how helpful this article was to me. Though it doesn’t matter, I just wanted to ensure whether this trick is legit. I mean will I have to face other problems in future? Anyway thanks for sharing.

    • Thomas says:

      This trick is totally legit. All this tool does is to read your key out of the registry where it is stored encrypted. It is the same key as the one you entered when you installed Windows.

  13. Qasim says:

    Thanks Thomas you saved my day. I have laptop which comes with Windows 7. I always wanted to fresh install Windows on it but I feared the key. Now I will retrieve the key using your method. Thanks a lot again.

  14. Amit Kumar says:

    I was thinking that retrieving Windows Product Key from Registry is quite impossible for me.
    But thanks to this article i became able to easily retrieve MY Windows Product Key from Registry.


  15. souvik ghosh says:

    Good info and it works fine. I tried “slmgr /dli all” in ‘CMD’ but it is not working.

  16. samba siva says:

    A very good application. I lost my windows 7 key and I want to reinstall it. I have searched many ways to install windows 7, but none of them works. now I found my product key

Leave a Reply to John Paul Cancel reply

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