2009-12-29

Find your Visual Studio 2008 Product Key

Have you ever wanted to find your Visual Studio 2008 product key after installation? For most people, you can just look on MSDN or on the CD that was provided with the product.

In my case, I didn't have those options. I needed to find the key that was installed on my physical machine so that I could install VS2008 on my virtual machine.

Most of my Google searches provided instructions for modifying the saved key that is provided with the installation files. I also found a site that provided a product for $5-10 that would find your Visual Studio key for you. No Thanks!

The registration key is stored in your registry under:

HKLM\Software\Wow6432Node\Microsoft\VisualStudio\9.0\Registration\1000.0x0000\PIDKEY

I found this by searching for the key 'PIDKEY' in the registry. I don't know if this is different for others. Please comment if you find this key in other locations within your registry.