TFS 2012 license key

Hello,
i need to replace MSDN license key by a commercial key.
I used "TFSConfig License" command line, it reply :"There was an error registering Product Key XXXX-..."
thks in advance

I think there is a problem with the fact that the MSDN version is Pre-Pidded. Maybe there is a
registry setting that needs to be changed to remove the license and give you the ability to change the license key? Either way I think the best way to get your question answered at this point is to contact Microsoft Licensing at
http://www.microsoft.com/licensing/contact-us.aspx.
If you do get an answer from them that works, please post it. I'd like to know what they had to do.
Good Luck!
Alex

Similar Messages

  • How to get Windows Server 2012 trial license key?

    How to get Windows Server 2012 trial license key? I'm trying to install WinServer 2012 Trial on a VMWare Workstation 9. I'm asked for the product key during set up. If I ignore putting in the key (since I don't have one) The install fails stating no valid
    key. I tried this with Oracle's Virtual Box and the same thing happens. I tried using Majic JellyBean to find the key, but that only works on pre-installed OS. A Technet article said to use aaaa-bbbbb-ccccc-ddddd etc. in the spaces. That doesn't work either.
    Articles all over the web seem to have other people in the same boat. Please help :)

    Download the trial version from here -
    http://www.microsoft.com/en-us/server-cloud/evaluate/trial-software.aspx  It does not require a key.  If the software is asking for a key, it is not the trial copy.  Where did you get your copy?
    .:|:.:|:. tim

  • How to provide the license key after having the evaluation copy expired for SQL Server 2012 Standard?

    How to provide the license key after having evaluation copy expired for SQL Server 2012 Standard?
     I couldn’t figure out how to provide the license key after having
    evaluation copy expired for SQL Server 2012 Standard
     Thank you
     Best
     Jamal

    The following blog is on the topic: Upgrading from SQL Server 2012 Evaluation Edition
    Kalman Toth Database & OLAP Architect
    Free T-SQL Scripts
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Server 2012 St R2 Hyper-V guest OS license Key?

    Hello!
    Question, we have a new 2012 Standard R2 server, and are installing hyper-V on this.
    Do i use the same server 2012 DVD and License key on the guest OS?
    Thank you in advance.
    Aksel

    For the vOSE (that is 2 in a standard deployment) you would use the same key for those VM´s
    /regards
    Niklas

  • Server 2012 r2 Evaluation copy asking for license key?

    So, I'm an old dog trying to learn new tricks - the newest trick being to install Server 2012 R2 Standard with Hyper-V role. After a bit of fumbling around (good story for another time) I have managed to make it to the point of installing the OS onto the
    virtual machine I created. Sweet. My understanding from extensive internet research is that I should now use an ISO image of Server 2010 R2 (an ISO of the Evaluation Copy it seems being universally suggested), for installing the OS to the virtual
    machine and then subsequently change the license key to my OEM license key using the
    slmgr -rearm command. OK, if that is correct I can deal with it. But I have top get it installed first. I have downloaded the following ISO from Technet:
    9600.16384.WINBLUE_RTM.130821-1623_X64FRE_SERVER_SOLUTION_EN-US-IRM_SSSO_X64FRE_EN-US_DV5
    The setup installation starts up fine, but immediately presents a prompt screen for entering the product key. Huh? I thought evaluation copies did not require a product key to perform the installation. It will not accept my OEM product key, so I am
    stumped. Do I have the wrong ISO? I did try a couple of other copies/versions, but they conk out because Windows generates  errors saying something to the effect that they are not the right version for the SCSI Synthetic Adapter. So is there
    maybe some other ISO's I should be trying? Or, is there some place I am supposed to request a key for the ISO eval copy I have? And, if at some point I am able to get the evaluation copy installed, is my thinking correct about using my OEM key used
    to activate the physical host to change the evaluation installation into a regular installation? Or, should be  burning an ISO of my OEM installation disk to install from and use my OEM key directly to activate that when doing setup to the
    VM?

    The eval iso will not accept a oem key, this is by design, oem versions are designed for original hardware only, the eval can be activated with a volume key or I believe a retail key, the licensing agreement is different between the OEM and other
    versions.
    Appreciate your response. After a lot of late night mucking around was able to get a different evaluation copy to load: This one worked (but not without a bit of a struggle):
    9600.17050.WINBLUE_REFRESH.140317-1640_X64FRE_SERVER_EVAL_EN-US-IR3_SSS_X64FREE_EN-US_DV9
    Initially I could not get this evaluation to load as the virtual SCSI adapter kept generating a system error to the effect:  "Synthetic SCSI controller [...] Failed to Power on with Error: 'The version does not support this version of the file
    format'". Only after moving the ISO file onto the physical drive holding the VHXD containing the VM and messing with security settings on the file did it finally load. This version (vs the other ISO) begins loading by first presenting a list of OS versions
    (standard and datacenter variants) to load. From there on the installation pretty much proceeded as would a normal installation would. This version did not ask for an activation key and when finally installed shows a message on the desktop that it is good
    for 180 days usage (as Microsoft has stated should be the case). I did encounter two additional problems though that had to be dealt with before success was attained.
    1) the install crashed with an error  "Windows cannot find the Microsoft Software License Terms.  Make sure the installation sources are valid and restart the installation" . That was a head scratcher. After another an hour
    of research I came a cross a mention in another forum post about memory issues being the culprit in a similar situation of someone trying to install Windows 8 into a VM. My VM was set to a use dynamic memory with a minimum of 512 MB, which is pretty typically
    recommended in the install guides I have been consulting. Wrong. So, I bumped the minimum up to 1024 MB and the problem disappeared.
    2) The installation halted when asking for the drive where I wanted the installation to be placed. Problem? No available drives were shown to pick from, i.e. the virtual drive defined in the hyper-V setup simply did not appear. Another
    hour of digging online produced a suggestion that the VM install could not recognize the drivers for the raid controller in the physical server. Perplexing. But anyway I loaded a copy of the raid controller drivers onto a USB thumb drive and
    manage to mount the thumb drive as a hard drive in the VM settings after which the virtual drive appeared in the list and the installation managed to successfully complete.
    So, at this point  I have a functional VM operating - albeit with much hair pulling an teeth gnashing along the way. Will spend a bit of time pounding on the system to what else I can break, or breaks on its own. Hopefully nothing because I don't have
    much hair left or many teeth left to lose.  fingers crossed because I haven't tried to activate the VM OS yet.

  • Silent install application with varying license key (not with TS)

    Hi guys
    I want to deploy an application through sccm 2012 r2 with a license key in the command line. So far no problem, with the paramater
    ISX_SERIALNUMBER="XXX" I can handle that. So command line looks like: 
    msiexec /i "XY.msi" ISX_SERIALNUMBER="XXX"
    But here's the problem. That license key changes very often, usually a key can just be used for 2-3 installation. After that I get a new key which I have to use (we have no volume licensing... yes I know... do not ask...).
    I tried to create a machine variable (device - properties - variables) with the license key. but I didn't manage to get the variable in the command line correctly. I tried
    ISX_SERIALNUMBER="%variable%" but it didn't work. I realised that those variables just can be used with a TS. But I really don't want to use a TS for software deployments...
    After that I thought I'll try to get the variable with powershell and it worked. But just with an Administrator account who has access to the server. If i run the script in system context while deploying, it fails...
    Does anyone have another way to deploy Software with a Licence Key as a computer variable? Or any other way to specify a specific Licence key for a specific computer?
    thanks in advance
    p.s. I know I could entering it manually... but that's not an option at this time.

    I used the code in this link to achieve this in the past Worked very well.
    http://www.windows-noob.com/forums/index.php?/topic/4853-deploying-software-with-unique-keys/
    Basically you create a database to store your licences and it will update the fields to assign a computer object with the licence. Enter a column for Licences and one for Client. Set both to be type varchar(50) and allow for Null entries.
    Cheers
    Paul | sccmentor.wordpress.com
    That is pretty cool :)

  • What is my license key # ????

    What is my license key #.  I cannot open pdf documents withour it????

    Here is all I have on adobe.  If you can get a license key out
    of all this, your a better man than I.
    Rick
    Dear Richard Mann,
    To reset your password, click this link:
    https://createpdf.acrobat.com/?fp=BQZF115RKD1RYWT7FAD46R6798
    <https://createpdf.acrobat.com/?fp=BQZF115RKD1RYWT7FAD46R6798>
    If you cannot access this link, copy and paste the entire URL into your
    browser.
    Please note that resetting your password affects all Acrobat.com
    services including Adobe Acrobat.com, Adobe SendNow, Adobe CreatePDF,
    Adobe FormsCentral and Adobe CS Review.
    The Adobe Acrobat.com Services Team
    (c) 2011 Adobe Systems Incorporated. All rights reserved. 345 Park
    Avenue, San Jose, CA 95110 USA
    Renews annually 21.33  a year
    Adobe
    Login: <removed by moderator>
    Password: <removed by moderator>
    *     Order date: March 28, 2012
    *     Order number: AD004940808
    Dear Richard Mann,
    Thank you for joining Adobe CreatePDF <https://createpdf.acrobat.com/> .
    With your free Adobe CreatePDF account you can:
           Easily convert up to 5 files to Adobe PDF documents online by
    uploading them to the service.
    Configure a printer on your desktop to convert up to 5 files to
    Adobe PDF directly from your desktop.
    Need more PDF conversions?
    Upgrade your Adobe CreatePDF account by subscribing to our premium
    service to get unlimited PDF conversions and the ability to combine
    multiple files into a single PDF. Learn More
    <https://acrobat.com/redir/cpdf_email_upgrade?trackingid=HTEWS> 
    Help and feedback
    Get help from Adobe staff and the Adobe CreatePDF community on the
    Support Center
    <https://www.adobe.com/go/acrobat_com_email_supporthome_en>
    Your Opinion Counts
    We are consistently looking for ways to improve customer experience.
    Please take a moment to fill out our optional short survey
    <https://www.adobe.com/go/acom_welcome_survey_en>  so we can make our
    services better. Your responses are anonymous.
           Related services
    Send files up to 2GB and confirm receipt-fast and secure. Try Adobe
    SendNow <https://sendnow.adobe.com/> 
           Create and manage documents and collaborate through web
    conferencing.
    Try Adobe Acrobat.com <https://acrobat.com/> 
    The Adobe CreatePDF Team
    Convert documents to Adobe PDF online using Adobe CreatePDF
    <https://createpdf.acrobat.com/>  (https://createpdf.acrobat.com
    <https://createpdf.acrobat.com/> )
    (c) 2011 Adobe Systems Incorporated. All rights reserved. 345 Park
    Avenue, San Jose, CA 95110 USA
    Rick Mann
    <removed by moderator>

  • Windows 2012 License activation (MAK)

    I have a Windows Server 2012 Std - via OpenLicense (Physical Host + DC and a VM for Exchange 2013)
    Needed to add Remote Desktop Services - so purchased another License for Windows 2012 Std on the OpenLicense again.
    Installed Windows 2012 on another Physical box - when I try to activate using MAK key I get an error that key is not valid.
    Ok...I think its a R2 and NOT R2 issue!
    The original Licenses included Windows 2012 St and Windows 2012 R2 keys but the new license does not !
    because the 1st Server is Windows 2012 Std - (NOT R2)  the copy I installed is NOT R2 as I wanted to keep BOTH server running the same version. [When I have more time I intend to do a lab deploy of R2 and test]
    is there a way around this ? i.e. without doing a R2 install ??
    I really need to go live with this tomorrow (monday).
    Does anyone know - would it be legal to use the MAK supplied with my 1st order ?
    ChrisS

    Sorted...got non R2 keys issued...
    ChrisS

  • How to Sideload WinRT App in WinRT 8/8.1 Machine with Volume License Key

    Hi,
    I think I dont quite follow the documentations on Sideloading base on the following links :
    The documentations are base on Development-PC is joined to the Enterprise Domain.
    Configure PCs for Sideloading Requirements
    a) http://technet.microsoft.com/en-us/windows/jj874388.aspx
    b)
    http://technet.microsoft.com/en-us/library/hh852635.aspx#SideloadingRequirements
    What about the case of developing app on PC that not joined to the Enterprise Domain?
    We use the following method to write ,install and test App.
    1. We use VS 2012 Express for windows 8 and the PC is not joined to Enterprise Domain.
    2. After WinRT App and package created, We install the it in WinRT 8/8.1 machine without Volume License key this way.
    -2.1- Copy the AppPackage in WinRT8/8.1 machine.
    -2.2- Right click the Add-AppDevPackage of the WinRT app and run the powershell to install the app
    3. This kind of installation, the WinRT app has expiry date.
    Now, we have these questions on Installing App with Volume License Key
    Base on these conditions : 
    - We develop LOB App for businesses
    - assume we bought the license volume key
    - We develop WinRT App on VS 2012 Express for Windows 8 on PC not joined to Enterprise Domain
    - We need to install the App in 5 WinRT 8/8.1 machines that belong to our customer
    a) How to install WinRT App under this Condition? Please explain the steps.
    Thanks

    Hi,
    First of all, you must sideload the product key. You can enable sideloading for these scenarios by using the Windows Software Licensing Management Tool (Slmgr.vbs) and performing the following steps for each targeted device:
    1. Add the sideloading product activation key to the device by running the following command from an elevated command prompt (where <sideloading product key> is the 25-digit sideloading product activation key):
    Slmgr /ipk <sideloading product key>
    2. Activate the sideloading product activation key by running the following command from an elevated command prompt:
    Slmgr /ato ec67814b-30e6-4a50-bf7b-d55daf729d1e
    For mre details about this information, please refer to the link below:
    http://technet.microsoft.com/en-us/library/dn613835.aspx
    Roger Lu
    TechNet Community Support

  • SQL standard 2012 licenses for SCCM 2012 R2

    Hi,
    We are implementing SCCM R2 for customer, is the license for SQL standard 2012 included in price for SCCM licenses, we have around 5000 mahcines to be managed also a Secondary with express edition installed .
    can secondary and primary have different version of SQL for replication ? or it should be same version?
    is there a requirement for SQL standard like processor (How many number of processer can be used if this
    license is free of cost for SCCM2012  (any limitations ) )  Is license cost calculated based on processor ?
    also how many DB can be installed with standard on single instance ? can we use it for WSUS, MDT DB?
    how will i get this SQL standard free version from Microsoft any download location.
    Please advise.
    Thanks
    Shuaib

    SQL Server Standard is included with all System Center products. As Tim said CPUs are irrelevant in this case.
    You can use whatever versions of SQL you like as long as they are supported. However isn't it always best to standardise.
    You can install as many databases as you like as long as they are System Center related - the ones you mentioned are OK.
    The customer should download SQL from their Microsoft Volume Licensing Center. If they choose the SQL that is bundled with System Center it will be pre-populated with a license key.
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • I want to activate my windows 2008R2 64bit server getting error message is invalid license key

    i download the windows 2008R2 64bit media from microsoft site and install it after that try to activate my key but error message coming invalid license key. pls help me. 

    if you are using a key and download form same area of the license ports you may just have a corrupt down load you can try to download again, or if you burnt the disk try buring a new copy at a slower speed. otherwise you should call your Microsoft licensing
    professional to make sure the order went through as expected and you are downloading the proper image.
    I don't think you can buy a 2008 r2 license anymore so I also assume you purchased 2012 r2 licensing and are you using a 2008 r2 key? the 2012 r2 key will not work with downgraded OS you need to get the key that matches the os from the licensing portal.
     

  • Migration process License Key

    Hello,
    I've get an error during migration to Hana db.
    During Create ICM userstore phase I get and error, and the output of saplikey.log is:
    SAP License Key Administration  -  Copyright (C) 2003 - 2012 SAP AG
    Could not install temporary license key - error code: 2.
    E 96 likey_admin_clt: Couldn't get the list of all records from the persistence.
    There is the errors in log
    ERROR 2014-09-19 11:13:13.491
    MSC-04120  Creating a license signature failed:
    ===...could not load SSF library D:\usr\sap\\D00\exe\sapcrypto.dll .
    ERROR 2014-09-19 11:13:13.491
    MSC-04120  Creating a license signature failed: 543 wlikey_sign_for_installer: Couldn't load SAPSECULIB ("D:\usr\sap\\D00\exe\sapcrypto.dll") using function SsfSupInitEx (), rc = 10 (no library).
    ERROR 2014-09-19 11:13:13.491
    MSC-04120  Creating a license signature failed: 542 wlikey_sign_for_installer: At least one more attempt to load the SAPSECULIB will follow.
    Any suggestion?

    Thanks  Sriram,
    sapinst.log
    ERROR 2014-09-19 19:17:53.620
    MSC-04120  Creating a license signature faileE:
    ===...could not load SSF library E:\usr\sap\\D00\exe\sapcrypto.dll .
    ERROR 2014-09-19 19:17:53.620
    MSC-04120  Creating a license signature faileE: 543 wlikey_sign_for_installer: Couldn't load SAPSECULIB ("E:\usr\sap\\D00\exe\sapcrypto.dll") using function SsfSupInitEx (), rc = 10 (no library).
    ERROR 2014-09-19 19:17:53.620
    MSC-04120  Creating a license signature faileE: 542 wlikey_sign_for_installer: At least one more attempt to load the SAPSECULIB will follow.
    INFO 2014-09-19 19:17:53.932
    Switched to user: Domain\h00adm.
    INFO 2014-09-19 19:17:54.41
    Creating file C:\Program Files\sapinst_instdir\NW740\HDB\COPY\SYSTEM\STD\AS-ABAP\saplikey.log.
    INFO 2014-09-19 19:17:54.88
    Switched to user: Domain\h00adm.
    INFO 2014-09-19 19:17:54.228
    Output of E:\usr\sap\H00\SYS\exe\uc\NTAMD64\saplikey pf=\\SAPTEST\sapmnt\H00\SYS\profile\H00_DVEBMGS10_SAPTEST -install_first_temp Q1050047872 XXXXXX is written to the logfile saplikey.log.
    WARNING 2014-09-19 19:17:54.774
    Execution of the command "E:\usr\sap\H00\SYS\exe\uc\NTAMD64\saplikey pf=\\SAPTEST\sapmnt\H00\SYS\profile\H00_DVEBMGS10_SAPTEST -install_first_temp Q1050047872 XXXXXX" finished with return code 2. Output:
    SAP License Key Administration  -  Copyright (C) 2003 - 2012 SAP AG
    Could not install temporary license key - error code: 2.
    E 96 likey_admin_clt: Couldn't get the list of all records from the
      persistence.
    ERROR 2014-09-19 19:17:54.790
    CJS-30023  Process call 'E:\usr\sap\H00\SYS\exe\uc\NTAMD64\saplikey pf=\\SAPTEST\sapmnt\H00\SYS\profile\H00_DVEBMGS10_SAPTEST -install_first_temp Q1050047872 XXXXXX' exits with error code 2. For details see log file(s) saplikey.log, dev_slic.
    ERROR 2014-09-19 19:17:54.899
    FCO-00011  The step createTempLicense with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_CI_Instance|ind|ind|ind|ind|ci|0|NW_Temp_License_ABAP|ind|ind|ind|ind|lic|0|createTempLicense was executed with status ERROR ( Last error reported by the step: Creating a license signature faileE:
    ===...could not load SSF library E:\usr\sap\\D00\exe\sapcrypto.dll .).
    INFO 2014-09-19 19:17:55.383
    Creating file C:\Program Files\sapinst_instdir\NW740\HDB\COPY\SYSTEM\STD\AS-ABAP\__instana_tmp.xml.
    INFO 2014-09-19 19:17:57.177
    Removed file C:\Program Files\sapinst_instdir\NW740\HDB\COPY\SYSTEM\STD\AS-ABAP\instslana.xml.
    INFO 2014-09-19 19:17:57.177
    Creating file C:\Program Files\sapinst_instdir\NW740\HDB\COPY\SYSTEM\STD\AS-ABAP\instslana.xml.

  • Logon refused, valid license key not installed

    Hi all,
    Earlyer i posted one error on lisence key where i unable to login through a user. The error message comes like" logon refused( valid license not intalled)
    Infact while i was installing IDES 4.7 on OS 2003, after 9 to 10 hour i got an error message as here posted below...
    Changed working directory to C:\SAPinst DATABASE Instance.
    INFO 2012-06-16 02:50:25
    Changed working directory to C:\SAPinst DATABASE Instance.
    INFO 2012-06-16 02:50:26
    Creating file C:\SAPinst DATABASE Instance\brconnect.log.
    INFO 2012-06-16 02:50:26
    Changed working directory to C:\SAPinst DATABASE Instance.
    INFO 2012-06-16 02:50:28
    See 'D:\usr\sap\PRD\SYS\exe\run/brconnect -c -f crsyn -o SAPPRD' output in 'C:\SAPinst DATABASE Instance\brconnect.log'.
    INFO 2012-06-16 02:50:28
    'D:\usr\sap\PRD\SYS\exe\run/brconnect -c -f crsyn -o SAPPRD' returned with '0'.
    INFO 2012-06-16 02:50:28
    Creating file C:\SAPinst DATABASE Instance\brconnect.log.
    INFO 2012-06-16 02:50:28
    Changed working directory to C:\SAPinst DATABASE Instance.
    INFO 2012-06-16 03:46:17
    See 'D:\usr\sap\PRD\SYS\exe\run/brconnect -c -o summary -f stats -o SAPPRD' output in 'C:\SAPinst DATABASE Instance\brconnect.log'.
    ERROR 2012-06-16 03:46:17
    MOS-01012  PROBLEM: 'D:\usr\sap\PRD\SYS\exe\run/brconnect -c -o summary -f stats -o SAPPRD' returned with '5' which is not a defined as a success code.
    ERROR 2012-06-16 03:46:18
    FJS-00012  Error when executing script.
    when i Retry the installation it stopped automatically. The MMC started successfully. The only problem i got is license key is not valid through Tcode 'slicense'. The license expires status come with some invalid characters.
    I think the problem is in the installation.
      I am doing the installation on my laptop with an external harddisk. Is this the problem?? I tried the installation for two times but facing the same problem. please any one can suggest me how to overcome the problem.
    Thanks...

    after you've adjusted your date ("<b>2012</b>-06-16 02:50:25") you might be able to successfully end your installation...but somehow i do not think that sap will tolerate such "date pimping"
    GreetZ; AH

  • Distributed query for license key

    Hello,
    I have a distributed query that I'm hoping is retrieving the license key information below:
    USE master
    GO
    create table #version
    version_desc varchar(2000)
    insert #version
    select @@version
    if exists
    select 1
    from #version
    where version_desc like '%2005%'
    Begin
    DECLARE @Registry_Value_2005 VARCHAR(1000)
    EXEC xp_regread 'HKEY_LOCAL_MACHINE','SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\Setup','ProductCode',@Registry_Value_2005 OUTPUT --2005
    SELECT @@version as 'version',@Registry_Value_2005 as 'license_key'
    End
    else if exists
    select 1
    from #version
    where version_desc like '%express%'
    Begin
    DECLARE @Registry_Value_2008_express VARCHAR(1000)
    EXEC xp_regread 'HKEY_LOCAL_MACHINE','SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\Setup','ProductCode',@Registry_Value_2008_express OUTPUT -- 2008 express
    SELECT @@version as 'version',@Registry_Value_2008_express as 'license_key'
    End
    else if exists
    select 1
    from #version
    where version_desc like '%R2%'
    Begin
    DECLARE @Registry_Value_2008_R2 VARCHAR(1000)
    EXEC xp_regread 'HKEY_LOCAL_MACHINE','SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\Setup','ProductCode',@Registry_Value_2008_R2 OUTPUT -- 2008 R2
    SELECT @@version as 'version',@Registry_Value_2008_R2 as 'license_key'
    End
    else if exists
    select 1
    from #version
    where version_desc like '%2008%'
    Begin
    DECLARE @Registry_Value_2008 VARCHAR(1000)
    EXEC xp_regread 'HKEY_LOCAL_MACHINE','SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10.MSSQLSERVER\Setup','ProductCode',@Registry_Value_2008 OUTPUT -- 2008
    SELECT @@version as 'version',@Registry_Value_2008 as 'license_key'
    End
    else if exists
    select 1
    from #version
    where version_desc like '%2012%'
    Begin
    DECLARE @Registry_Value_2012 VARCHAR(1000)
    EXEC xp_regread 'HKEY_LOCAL_MACHINE','SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL11.MSSQLSERVER\Setup','ProductCode',@Registry_Value_2012 OUTPUT -- 2012
    SELECT @@version as 'version',@Registry_Value_2012 as 'license_key'
    End
    else
    Begin
    select 'version not recognized'
    End
    drop table #version
    I'm noticing the 'key' is coming back the same across our 2012 instances and I'm pretty sure this isn't right. Am I retrieving the right value from the registry? I want to get the actual key that is installed when SQL is installed. Please help also feel
    free to borrow this code if you like.
    Thanks!
    phil

    Hi phil,
    The following query will return the serial number in binary format, you can convert this binary value to product key as other post. For more details, please review this similar
    blog.
    use master
    GO
    exec xp_regread 'HKEY_LOCAL_MACHINE','SOFTWARE\Microsoft\Microsoft SQL Server\110\Tools\Setup','DigitalProductID'
    GO
    Regarding to the product code, SQL Server consists of different products registered in the Registry. Each product has a product code (a GUID) as well as an installation package code (also a GUID). For more details, please review this similar
    thread.
    Additionally, for license issues, please call
    1-800-426-9400,
    Monday through Friday, 6:00 A.M. to 6:00 P.M. (Pacific Time) to speak directly to a Microsoft licensing specialist. For international customers, please use the Guide to Worldwide Microsoft Licensing Sites to find contact information in your locations.
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • I can't find my license key, can I find it opening Lightroom app?

    I can't find my license key, can I find it opening Lightroom app?

    Please confirm if you want to get the serial number of the Adobe Photoshop Lightroom 4 Student and Teacher Edition that you had purchased in March 2012.
    If yes, then you can find it by following:
    http://helpx.adobe.com/x-productkb/global/find-serial-number.html
    Regards
    Rajshree

Maybe you are looking for

  • Javascript Example to Read Variable Value  in WAD 7.0

    Hi, I am looking for a JavaScript example of how to read the value of a variable in the 7.0 WAD.  If anyone has done this and would like to share that would appreciated. Thanks, Mel

  • So where can I get, if not design, themes for my 5...

    I'd really like to be able to customize to the fullest. I like the built in Nokia theme, but it's just TOO default for me,a nd besides, EVERYONE has it! Thanks, in advance!

  • GL account mass maintanence problem

    Dear Gurus, I need to change 150 GL accounts simultaniuosly and apply the tick on relevant to cash flow for all these accounts. I have gone to code OB_GLACC12, but there is no field of relevant to cash flow on the screen. I chose the select fields op

  • Photoshop issue with network login

    All my editors are having issues with photoshop and creating a new document. The program launches fine, but when they go to create a new document, they get the RWOD and it locks up and needs to be force quit. If I login to the local account I can lau

  • Optical mouse DC172B on HP Pavillion laptop

    Just purchased online HP USB 2 BUTTON OPTICAL MOUSE ALL DC172B . UNABLE TO UPDATE DRIVER TO ACCEPT IT ON MY HP PAVILION LAPTOP