Unique information about SQL server installation

  • Where can I find unique information about SQL server installation?

    For SQL 2000 is propagated a solution like this:

    USE master

    EXEC xp_regread 'HKEY_LOCAL_MACHINE',

    'SOFTWARE\Microsoft\Microsoft SQL

    Server\80\registration', 'CD_KEY'

    But what about SQL 2005 and SQL 2008?

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\90\ProductID ProductIDNNNNN?

  • It looks like you have the correct path for 2005.

    I am just guessing but it looks like for 2008 it is

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\100\Tools\Setup\ProductID

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply