windowsボタン+R
regedit を入力
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Registration\2000.0x0000
PIDKEYをダブルクリックしてコピー
2005
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Registration\2000.0x0000
2008
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Registration\2000.0x0000
※プロダクトIDはVSのバージョン情報に記載があるので一致したものを選ぶ
参考サイト
https://codered10.wordpress.com/2010/12/16/find-your-visual-studio-product-key-through-the-registry/