tag:blogger.com,1999:blog-7168655058770805398.post3797525594332417806..comments2018-04-24T17:06:21.005+05:30Comments on Jk-Point →complete← Share-Point: Retrieve your SharePoint Product key from server [2007 / 2010 / 2013]Girish jkhttp://www.blogger.com/profile/02741669927058302968noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-7168655058770805398.post-24150676997318214392015-12-31T18:04:51.262+05:302015-12-31T18:04:51.262+05:30#This one should work SP-2013
function Get-SP2013P...#This one should work SP-2013<br />function Get-SP2013ProductKey { <br /> $map="BCDFGHJKMPQRTVWXY2346789"<br /> $value = (get-itemproperty "HKLM:\SOFTWARE\Microsoft\Office\15.0\Registration\{90150000-110D-0000-1000-0000000FF1CE}").digitalproductid<br /> $baseAddress = 808<br /> $needsN = ($value[$baseAddress + 14] -shl 3) -and 1;<br /> <br /> $ProductKey = "" <br /> for ($i = 24; $i -ge 0; $i--) { <br /> $r = 0 <br /> for ($j = 13; $j -ge 0; $j--) { <br /> $test = $value[$baseAddress + $j] <br /> $r = ($r * 256) -bxor $value[$baseAddress + $j] <br /> $floor = [math]::Floor([double]($r/24))<br /> $value[$baseAddress + $j] = $floor<br /> $r = $r % 24<br /> }<br /> $ProductKey = $map[$r] + $ProductKey<br /> }<br /> <br /> if($needsN)<br /> {<br /> $firstLetterIndex = 0<br /><br /> for ($i = 0; $i -lt $ProductKey.Length; $i++) { <br /> if($ProductKey[0] -eq $map[$i])<br /> {<br /> $firstLetterIndex = $i<br /> break<br /> }<br /> } <br /><br /> $ProductKeyWithN = $ProductKey = $ProductKey.substring(1) # Remove first character<br /> $ProductKeyWithN = $ProductKeyWithN.SubString(0, $firstLetterIndex) + "N" + $ProductKeyWithN.SubString($firstLetterIndex)<br /> $ProductKeyWithN = $ProductKeyWithN.SubString(0, 5) + "-" + $ProductKeyWithN.SubString(5, 5) + "-" + $ProductKeyWithN.SubString(10, 5) + "-" + $ProductKeyWithN.SubString(15, 5) + "-" + $ProductKeyWithN.SubString(20, 5)<br /> }<br /> $ProductKeyWithN<br /> }<br />Get-SP2013ProductKey<br /><br />PAUSEKEMiCZAhttps://www.blogger.com/profile/08718329670755500659noreply@blogger.comtag:blogger.com,1999:blog-7168655058770805398.post-85369888872505570072014-03-24T22:50:32.915+05:302014-03-24T22:50:32.915+05:30Hi CPfenn,
i tested in my SharePoint 2013 environ...Hi CPfenn,<br /><br />i tested in my SharePoint 2013 environment, it was retriving a key which was not entered by me during installation.<br /><br />if i found a right way i will surly update.<br /><br />Thanks,<br />JkGirish jkhttps://www.blogger.com/profile/02741669927058302968noreply@blogger.comtag:blogger.com,1999:blog-7168655058770805398.post-72844557022067659942014-03-13T04:31:09.309+05:302014-03-13T04:31:09.309+05:302013 is not working2013 is not workingAnonymoushttps://www.blogger.com/profile/02407015171833179572noreply@blogger.comtag:blogger.com,1999:blog-7168655058770805398.post-44988476588626535532014-02-27T19:16:13.723+05:302014-02-27T19:16:13.723+05:30Thanks. It helped me a lot.Thanks. It helped me a lot.Ajeethttps://www.blogger.com/profile/03217761079680181419noreply@blogger.comtag:blogger.com,1999:blog-7168655058770805398.post-70015408063179427712014-01-03T10:23:15.625+05:302014-01-03T10:23:15.625+05:30Hi Senglory,
Thanks for your update with version ...Hi Senglory,<br /><br />Thanks for your update with version 2013, i will update it to my post.<br /><br />Thanks,<br />JKGirish jkhttps://www.blogger.com/profile/02741669927058302968noreply@blogger.comtag:blogger.com,1999:blog-7168655058770805398.post-78795833295252697132013-12-30T22:11:45.504+05:302013-12-30T22:11:45.504+05:30And here's the code for Sharepoint 2013
funct...And here's the code for Sharepoint 2013<br /><br />function Get-SP2013ProductKey { <br /> $map="BCDFGHJKMPQRTVWXY2346789" <br /> $value = (get-itemproperty "HKLM:\SOFTWARE\Microsoft\Office\15.0\Registration\{90150000-110D-0000-1000-0000000FF1CE}").digitalproductid[0x34..0x42] <br /> $ProductKey = "" <br /> for ($i = 24; $i -ge 0; $i--) { <br /> $r = 0 <br /> for ($j = 14; $j -ge 0; $j--) { <br /> $r = ($r * 256) -bxor $value[$j] <br /> $value[$j] = [math]::Floor([double]($r/24)) <br /> $r = $r % 24 <br /> } <br /> $ProductKey = $map[$r] + $ProductKey <br /> if (($i % 5) -eq 0 -and $i -ne 0) { <br /> $ProductKey = "-" + $ProductKey <br /> } <br /> } <br /> $ProductKey<br />} <br />#Call the function<br />Get-SP2013ProductKeysengloryhttps://www.blogger.com/profile/03391109124595100900noreply@blogger.comtag:blogger.com,1999:blog-7168655058770805398.post-59688395062761191072013-11-01T13:38:18.674+05:302013-11-01T13:38:18.674+05:30Nice trick! I have recovered my Office product key...Nice trick! I have recovered my Office product key using KeyFinder Plus.Anonymoushttps://www.blogger.com/profile/01650580562299473878noreply@blogger.comtag:blogger.com,1999:blog-7168655058770805398.post-58657679309416126312013-08-01T12:29:47.786+05:302013-08-01T12:29:47.786+05:30Thank you Saladeen, i will append these Power Shel...Thank you Saladeen, i will append these Power Shell script at my post. :) Girish jkhttps://www.blogger.com/profile/02741669927058302968noreply@blogger.comtag:blogger.com,1999:blog-7168655058770805398.post-8975668710690117242013-07-31T20:37:25.138+05:302013-07-31T20:37:25.138+05:30You can Recover SharePoint 2007 / 2010 Product Key...You can Recover SharePoint 2007 / 2010 Product Key using PowerShell. Here is the Script:<br /><br />http://www.sharepointdiary.com/2013/07/recover-sharepoint-2007-2010-product-key.html#ixzz2adRukrTR<br />Salaudeen Rajackhttps://www.blogger.com/profile/05907410863523688056noreply@blogger.com