Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Change sql server product key through programming

Change sql server product key through programming

Scheduled Pinned Locked Moved C#
csharpdatabasesql-serversysadminquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dalbhide bipin
    wrote on last edited by
    #1

    Hi, Is there any way to change SQL server 2008 product key (Using C# or command prompt)? Thanks

    G 1 Reply Last reply
    0
    • D dalbhide bipin

      Hi, Is there any way to change SQL server 2008 product key (Using C# or command prompt)? Thanks

      G Offline
      G Offline
      Goutam Patra
      wrote on last edited by
      #2

      And setup a software piracy business?

      D 1 Reply Last reply
      0
      • G Goutam Patra

        And setup a software piracy business?

        D Offline
        D Offline
        dalbhide bipin
        wrote on last edited by
        #3

        No. I just want to change product key.

        P 1 Reply Last reply
        0
        • D dalbhide bipin

          No. I just want to change product key.

          P Offline
          P Offline
          phil o
          wrote on last edited by
          #4

          Hi, AFAIK, with previous releases of SQL Server there was a registry key named CD_KEY where the initial activation code was stored. I did verify on our own server : this activation key is no longer stored in the registry. Now there are just ProductID, DigitalProductID and checksum keys. So I don't think it will be possible to change it without support from Microsoft. I'm not aware of any tool that could allow you to change it on the fly. If this really is a problem for you, you should contact Microsoft's Activation Center, and explain them your issue.

          D 1 Reply Last reply
          0
          • P phil o

            Hi, AFAIK, with previous releases of SQL Server there was a registry key named CD_KEY where the initial activation code was stored. I did verify on our own server : this activation key is no longer stored in the registry. Now there are just ProductID, DigitalProductID and checksum keys. So I don't think it will be possible to change it without support from Microsoft. I'm not aware of any tool that could allow you to change it on the fly. If this really is a problem for you, you should contact Microsoft's Activation Center, and explain them your issue.

            D Offline
            D Offline
            dalbhide bipin
            wrote on last edited by
            #5

            I checked WMI classes, in which i found a class "SqlServer" but which allows me only to modify certificate not productID i.e PID. Thanks for your help.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups