sql-server-2005product-key

SQL Server 2005 cd Key


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'

Solution

  • We bought a product that retrieves cd keys.