SQL Server 2005 cd Key

DForck42 picture DForck42 · Jul 18, 2009 · Viewed 18.2k times · Source

I need to get the cd key of my installed instance of SQL Server 2005. I've used the following code and it doesn't work, most likely because I think it was for SQL Server 2000. Please help.

USE master
USE master
EXEC xp_regread 'HKEY_LOCAL_MACHINE',
'SOFTWARE\Microsoft\Microsoft SQL Server\80\registration',
'CD_KEY'

Answer

alodia picture alodia · Apr 25, 2012

Use ProduKey.It'll find all the serial key of Microsoft Office products installed on a user machine.