how to find the license key of sharepoint server 2013 installed

Hi all,

I am using sharepoint 2013 server. I would like to know the license key of the server to confirm whether it is trial or licensed version. Since it is installed by someone else we are not aware. Please

July 17th, 2013 10:24am

http://URL_of_your_CAServer/_admin/Conversion.aspx
Free Windows Admin Tool Kit Click here and download it now
July 17th, 2013 11:44am

Hi

You can know the SharePoint Product Type by retrieving the registry key of the Installed SKU of SharePoint 2013.

Check the following article to see how to detect installed SKU of SharePoint 2013

How to: Detect the installed SKU of SharePoint 2013

Just execute the code and that's it.

Hope tha

July 17th, 2013 12:27pm

Hi

By using this power shell command let:

<#
.SYNOPSIS 
    Gets the SharePoint License Key 2013
.DESCRIPTION
    Gets the SharePoint License Key for 2013.  
.PARAMETER version
    Version of SharePoint installed.
.EXAMPLE
    Get-SPLicenseKey 2013
  
.NOTES
    AUTHOR: System Center Automation Team
    LASTEDIT: Dec 18, 2014 
#>
Param(
    [Parameter(Mandatory=$True,Position=1)]
    [string]
    $version
)


$map = "BCDFGHJKMPQRTVWXY2346789"
$property = @{"2007"="12.0";"2010"="14.0";"2013"="15.0"}

# Get Property
$value = (get-itemproperty "HKLM:\SOFTWARE\Microsoft\Office\$($property[$version])\Registration\{90$(($property[$version] -replace '\.',''))000-110D-0000-1000-0000000FF1CE}").digitalproductid[0x34..0x42] 

# Begin Parsing
$ProductKey = "" 
for ($i = 24; $i -ge 0; $i--) {
    $r = 0
    for ($j = 14; $j -ge 0; $j--) {
        $r = ($r * 256) -bxor $value[$j]
        $value[$j] = [math]::Floor([double]($r/24))
        $r = $r % 24
    }
    $ProductKey = $map[$r] + $ProductKey
    if (($i % 5) -eq 0 -and $i -ne 0) {
        $ProductKey = "-" + $ProductKey
    }
}


$ProductKey

Free Windows Admin Tool Kit Click here and download it now
August 1st, 2015 11:59pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics