In order to extract the Product key from SQL Server 2005, change the following two lines in the previous post:
$regPath = "SOFTWARE\Microsoft\Microsoft SQL Server\100\Tools\Setup"
$regValue1 = "DigitalProductId"
To:
$regPath = "SOFTWARE\Microsoft\Microsoft SQL Server\90\ProductID"
$regValue1 = "DigitalProductID77591"
Monday, November 15, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment