View Full Version : [APP] Halo CD Key Recovery Tool
TheGhost
September 12th, 2006, 11:37 PM
AN UPDATE FOR THIS APPLICATION HAS BEEN RELEASED.
THE UPDATE IS IMMEDIATELY BELOW.
Created by Limited, TheGhost
Original Post: http://www.modacity.net/forums/showpost.php?p=385487&postcount=98
http://img24.imageshack.us/img24/9710/cdkeyscreenie.png
Instructions
To use this program, simply download the .exe file and run it. The CD key will appear automatically.
Double click the key to copy it to the clipboard.
Updated v2.0 - Works for both 32bit and 64bit.
> > Download HERE (http://files.h2vista.net/apps/hkr/HaloKeyRecoverer_v2.exe) < <
> > Download Mirror (http://files.filefront.com/Halo+CD+Key+Recoveryrar/;13584459;/fileinfo.html) < <
ORIGINAL APPLICATION IS BELOW (v1.00)
I needed a small project to brush up on some C# programming, so I wrote this in a few hours. It's a program that parses your encrypted Halo CD key from the registry in case you've lost it.
Halo CD Key Recovery Tool
by TheGhost
http://files.h2vista.net/software/hkr/gui.gif
(Note: The CD key above is not real)
Lost your CD key? This program can help you if you've already installed Halo on your computer.
Your CD key is stored encrypted in the computer's registry. This program parses and decodes the digital
product ID, leaving you with your original CD key as it appeared on your CD case or manual.
Download the program here (http://files.h2vista.net/software/hkr/HaloKeyRecoverer.exe).
Instructions:
To use this program, simply download the .exe file and run it. The CD key will appear automatically.
Note: You must have the .NET Framework 2.0 (http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en) installed in order to run this program.
Original inspiration came from -Laser- from a thread of his (http://gbxforums.gearboxsoftware.com/showthread.php?t=57316) on the GBX forums. I ended up using different process than he did, but I figured this was a useful thing to be able to do, and doing it by hand was really quite a pain in the ass.
~A.
September 13th, 2006, 12:05 AM
Awesome man, this is going to be really helpful for alot of people.
I remember my CD-Key from the top of me head =p
V0Lt4Ge
September 13th, 2006, 01:34 AM
Awesome. =D
Limited
September 13th, 2006, 02:10 AM
How does it encode it, is it MD5 hash because that would be impossible to get back into a key, words are hard enough :P
Original inspiration came from -Laser- from a thread of his (http://gbxforums.gearboxsoftware.com/showthread.php?t=57316) on the GBX forums. I ended up using different process than he did, but I figured this was a useful thing to be able to do, and doing it by hand was really quite a pain in the ass.
Actually you did it the same way but oh well.
+REP
StankBacon
September 13th, 2006, 03:56 AM
nice ghosty :D
Rescudo
September 13th, 2006, 07:30 AM
I think rec0 found a way to get CD keys from key hashes iirc, but of course a method like that should absolutely not be public.
As for the application, I don't see me needing it, but it's still cool :)
TheGhost
September 13th, 2006, 11:54 AM
Actually you did it the same way but oh well.
What? You can't even see the code. How do you know how I'm doing it?
Rescudo
September 13th, 2006, 03:12 PM
He could have disassembled the program... - but for some reason I doubt he did. :p
Rosco
September 13th, 2006, 03:29 PM
hehe, nice app, I actually glued my cd key to my keyboard, but this will come in handy :)
+ rep for joo, in return, I want as many red boxes as you can. :D
Sco
September 14th, 2006, 07:42 PM
Finally! :D
Bad Waffle
September 15th, 2006, 01:03 AM
Uh oh, it says no halo registry values found >_>
Limited
September 16th, 2006, 08:46 AM
What? You can't even see the code. How do you know how I'm doing it?
Some things have to be done in the same way no matter if the "idea" is maybe different.
The code maybe done differently, but the process is exactly the same.
Thats just my thoughts. Whos cares if you did do it same way? this is faster and easier because its a program.
=D
TheGhost
September 16th, 2006, 09:35 AM
I'm not trying to like take credit away from him or something, I'm just stating that you're absolutely wrong by saying that the decoding was done the exact same way. This isn't a matter of opinion or something, it's a fact.
Limited
September 16th, 2006, 06:15 PM
I'm not trying to like take credit away from him or something, I'm just stating that you're absolutely wrong by saying that the decoding was done the exact same way. This isn't a matter of opinion or something, it's a fact.
Ok okay =D
Show your code then, maybe some one else can help you make it more user friendly :O
TheGhost
September 16th, 2006, 06:41 PM
Wait, what do you mean? All you do is run the progam and it gets the key for you. How could it be more user friendly?
Rescudo
September 16th, 2006, 07:18 PM
It needs to know when someone has lost their CD-key, then it automatically downloads itself to that PC and runs the application... >_>
I don't see how it could be improved in anyway (except for the fact that a lot of users apparently haven't been able to use this properly...)
Limited
September 17th, 2006, 08:16 AM
Wait, what do you mean? All you do is run the progam and it gets the key for you. How could it be more user friendly?
Does it go straight to C key, because other ppl have it installed in say D.
etc, maybe theres a way you can get hte user to input the letter or the location of key or whatever idk
:O
TheGhost
September 17th, 2006, 10:51 AM
It checks the registry. In the registry it doesn't matter what drive you've installed it to. When you install Halo, I was under the assumption that it always put the key in the same place: HLKM\Software\Microsoft\Microsoft Games\Halo. For everyone who's said it "doesn't work" they've never been able to show me anywhere else that it's installed in the registry.
Arteen
September 20th, 2006, 05:07 PM
It worked just fine for me. Great program!
StankBacon
September 21st, 2006, 07:15 PM
workd fine for me, and i have halo's installed in my D hard drive.
TheGhost
September 21st, 2006, 08:07 PM
=D
It can also do your Windows XP CD-Key if I point it to the Windows directory. :p
Rescudo
September 22nd, 2006, 07:26 AM
Someone else already did that... ;)
Elite Killa
September 27th, 2006, 07:30 PM
Sorry to bump, but man, that would help me a lot. I forget things most of the time and that app can help me. =D
Rescudo
September 28th, 2006, 07:55 AM
What, the Halo CD Key Recovery tool, or the one for Windows XP?
Digikid
October 14th, 2006, 09:39 AM
How you figured out how to extract your key if you do NOT have Halo PC Installed? Halo CE Only perhaps?
That would be MORE useful since a lot of ppl may not have PC installed.
TheGhost
October 14th, 2006, 12:39 PM
It works for CE and PC. The program checks for both. If you have one, or the other, or both, it will display it.
mined
October 14th, 2006, 12:55 PM
This is definitely a cool tool. I have had to find my AutoCAD code in the registry files a couple of times at home. (The official copy is a t work and I didn't feel like going up there to get it.) For the life of me, I get lost every time. This will be a time saver if I ever lose the codes to the programs you mentioned.
BTW, since it works for XP, shouldn't it work for most other programs or does the registry file directory vary too much for other programs?
TheGhost
October 14th, 2006, 01:27 PM
It should theoretically work for anything encoded with a Microsoft Product ID - they use the same encryption.
Digikid
October 14th, 2006, 08:15 PM
it does not work for me though...... :(
TheGhost
October 14th, 2006, 09:56 PM
Go to HKLM > Software > Microsoft Games > HaloCE, what do you see?
Digikid
October 14th, 2006, 10:53 PM
the same as usual.
"No Halo registry values found"
Rescudo
October 15th, 2006, 10:23 AM
It works for CE and PC. The program checks for both. If you have one, or the other, or both, it will display it.
What if you installed Halo PC and Halo CE with different keys? :p
TheGhost
October 15th, 2006, 10:33 AM
the same as usual.
"No Halo registry values found"
I want you to physically open up your registry editor and navigate to that directory.
TheGhost
October 15th, 2006, 10:33 AM
What if you installed Halo PC and Halo CE with different keys? :p
I believe it looks for PC first :p
Digikid
October 15th, 2006, 10:09 PM
I want you to physically open up your registry editor and navigate to that directory.
okay...I did that and the directory is not there at all...yet haloCE is indeed installed and working fine..
WTF? :confused:
\EDIT: oh you left out the MICROSOFT in that....it is supposed to be:
HKLM > Software > Microsoft > Microsoft Games > HaloCE and even there I do not see any key.
Rescudo
October 16th, 2006, 07:39 AM
...you aren't supposed to see a key, but some hexadecimal numbers... isn't there a key called "DigitalProductID"?
Rescudo
November 26th, 2006, 03:37 PM
This application was really useful for me yesterday - Halo PC was screwed over and exceptioned when I started it, so I decided to reinstall it. That's when I needed to find my CD-key, 'cause I didn't have the cover at the time... thank you, Ghost! :)
TheGhost
November 27th, 2006, 10:14 PM
=)
I find it most helpful when I'm LANing with a bunch of people and a lot of us are using the same keys (I have a bunch that we used to install it on all of the computers). Sometimes there is a conflict and this is the easiest way to figure out which two people are using the same one.
imkopaka
January 13th, 2007, 06:35 PM
This works great! Now can you make one for serious sam: FE?
Pooky
January 13th, 2007, 06:41 PM
Suppose you HAD CE installed but then uninstalled it and want to reinstall but can't find your CD key?
WhÎþLå§h ÐÆmØÑ
January 13th, 2007, 06:52 PM
Then lets hope you have halo PC installed. >_>
Btd69
January 13th, 2007, 09:12 PM
Is there a way to change the CD Key in the registry?
TheGhost
January 14th, 2007, 03:57 AM
Yes, there is. But right now it seems easier to uninstall and reinstall than to write an app to encrypt the key and change it in the registry. =(
Limited
January 14th, 2007, 12:19 PM
Yes, there is. But right now it seems easier to uninstall and reinstall than to write an app to encrypt the key and change it in the registry. =(
It converts the binary to some format doesnt it ghost?
If so it would just require doing the steps backwards and adding a bit of code
TheGhost
January 14th, 2007, 01:46 PM
Yes, essentially. But doing things backwards isn't always incredibly easy. Take for example MD5 encryption. It's open source how the encryption is done, but it's impossible to just "do the steps backwards" to get the original string before it's hashed. I might look into it.
Patrickssj6
January 14th, 2007, 02:03 PM
If you guys are talking about a "keygenerator" type thing that's very hard to do.You have to find the relation from one key to another.
Limited
January 14th, 2007, 02:10 PM
Yes, essentially. But doing things backwards isn't always incredibly easy. Take for example MD5 encryption. It's open source how the encryption is done, but it's impossible to just "do the steps backwards" to get the original string before it's hashed. I might look into it.Thats true, but going by that dudes post on gbx that way can be reverse, I might give it a go, but one other question, does the cd hash come from cd key or is cd hash from the actual CD.
i.e what would changing the cd key actually do like whats the point once its in :)
Pooky
January 14th, 2007, 02:31 PM
If you guys are talking about a "keygenerator" type thing that's very hard to do.You have to find the relation from one key to another.
Not to mention keygens are slightly immoral
Limited
January 14th, 2007, 04:02 PM
Oh I know why ghost cant do it backwards ;)
Don't worry ghost your secret is safe with me ;)
p.s. that radix part is harrrrrd
AiRgUItaR901
January 17th, 2007, 03:43 PM
Yeah, I'm sure you have saved people a lot of money with this! I had a problem where I couln't find my CD key and wanted to install Halo PC but I had Halo Custom Edition Installed. I found my key, but I'm still curious if I could of used this program :cool:
Ssateneth
January 22nd, 2007, 04:20 PM
For those that are getting an error message about no registry data found (I had the error too), are you running 64-bit Windows? If you are, your Digital Product ID is in a different key. You will find your DPID in "HKLM\SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Halo". To get your Key via the CD Key Recoverer, you will have to right click the DigitalProductID in the key and modify. Highlight all the contents and right click -> copy. Next, navigate to "HKLM\SOFTWARE\Microsoft\" Right click the "Microsoft" folder (key) and Select New -> Key. Name the new folder (key) "Microsoft Games" without the quotes. Right click THAT key and create new key. Name that "Halo" without the quotes. Next, in the field on the right with the newly created Halo key opened, right click -> New -> Binary Value. Name that new item "DigitalProductID". Finally, right click the binary -> modify. Right click the "value data" field and paste the contents you copied earlier. Hit ok. Your CD Key recoverer should work now if you had Halo PC installed under a 64-bit OS.
Vehicle Guy
March 4th, 2007, 03:16 PM
So how do you edit the cd key if you already put something in?
bfett9
March 6th, 2007, 08:14 PM
could you make one for Halo CE plz:D
bfett9
March 8th, 2007, 10:14 AM
it would be a lot easier just to create a different program so that it only searches for a ce cdkey rather than both. This way we are not confused about which cdkey we see.
bfett9
March 8th, 2007, 11:46 AM
You use the same fucking CD key for both you freaking idiot
I bought 2 cd-keys moron. the 2nd one from Microsoft. cause i got 2 pcs at home me and my bro both play!
Limited
March 8th, 2007, 12:47 PM
So does it REALLY matter that much that you get the perfect one?
Also, why the hell do you have 2 different cd keys on the same pc? You said you got 2 pcs at home, surely they have one cd key each, no sharing one. And if you are sharing one, whats the matter if you read his key? You had to read his key when you installed it...
bs if you ask me
mech
March 8th, 2007, 01:58 PM
If you want a CD just ask.
ronish1234
July 30th, 2007, 11:42 AM
thanks
Sel
August 5th, 2007, 07:56 AM
Heh, I wanna learn C# now, I just never gots around to it :(
Tanks ghost.
Dr. Iothic
January 27th, 2008, 02:53 PM
Sorry to be a bother, and I do realize that I'm not in the correct area of the forums, but you seem to know what you're doing, but I was merely wondering if there was a similar program for Halo 2?
Syuusuke
January 28th, 2008, 12:03 PM
Nope, it seems that Halo 2's product key isn't stored in the registry, but in a file that I would have no idea how to read.
Monopoly
February 14th, 2008, 12:08 AM
I just downloaded this program, yet it doesn't work. Is there something that I need to download additionally to make this application function correctly?
Con
February 14th, 2008, 01:21 AM
Can you be more specific than "it doesn't work"?
`Abias
February 14th, 2008, 03:04 PM
Call Bill, that always works
Monopoly
February 14th, 2008, 03:18 PM
You're not funny. Anyways, I got the program working; thanks for the concern Conscars, it's nice to know some people are willing to help.
hivetyrant36
February 16th, 2008, 01:06 PM
I used this tool, It says "No Halo Registery Values found"
What is wrong.:confused2:
Syuusuke
February 16th, 2008, 04:23 PM
You need Halo installed in order it for to have the program find your key.
~Stf~ Chief
March 16th, 2008, 01:28 AM
lol hey guys i had this program... didnt work. downloaded it again. nope. i dont have dialup but yeah that could come in handy. (what i need is a cd key for h2. mine wasnt with the game. wierd yet true. dont ask me)
to be more precise... It wouldnt even load (ERROR) i forget what the error was.
CrAsHOvErRide
March 16th, 2008, 02:40 AM
lol hey guys i had this program... didnt work. downloaded it again. nope. i dont have dialup but yeah that could come in handy. (what i need is a cd key for h2. mine wasnt with the game. wierd yet true. dont ask me)
to be more precise... It wouldnt even load (ERROR) i forget what the error was.
:lmao:
Ohh what a coincidence...cracks don't happen to be working so well. :rolleyes:
Sales Kital
May 8th, 2008, 09:05 AM
I already know this will not work for me because I had to do a TRUE wipe of my hard drive meaning that there are no regestry values or folders left for halo. I think that a better solution would have been making something that checks that you have the CD in the disk drive then have it try to find a key for you based on that. The cd key for my Halo pc game is still on the CD slip that the game came with so I don't have it now. The slip is lost and I hope it didn't get throwen in the trash.
Sel
May 8th, 2008, 09:59 AM
Except the CD only checks that you have a valid CD key, it doesnt have to be the one that came with it.
Also, you could just mount an ISO, so thats stupid >:|
axelfighter
August 6th, 2008, 09:39 PM
what if u already accidently uninstalled halo before u remembered that u lost the key? the thing wint work then
legionaire45
August 6th, 2008, 09:49 PM
Nope, it will go back through time and collect the key before you deleted the file :3.
darwin979
August 27th, 2008, 05:53 PM
Just telling you guys this app doesn't work any more. Awesome idea, but i think the new update has blocked it. if you can release a new version that would be awesome.
StankBacon
August 27th, 2008, 10:46 PM
uh, the program works by getting the key from the registry, has nothing to do with what version of halo is installed.
i just tried it, and it worked fine on 1.08.
get the latest framework like the instructions say.
jcap
April 11th, 2009, 01:15 PM
This tool needs to be updated for 64-bit versions of Windows.
I just tried running it on Vista, but the it gave me the error "No Halo registry values found."
It turns out that Windows Vista x64 stores the DigitalProductID under:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\ Microsoft Games\Halo CE
Limited
April 11th, 2009, 03:44 PM
http://img24.imageshack.us/img24/9710/cdkeyscreenie.png
Instructions
To use this program, simply download the .exe file and run it. The CD key will appear automatically.
Double click the key to copy it to the clipboard.
Updated v2.0 - Works for both 32bit and 64bit.
Download Here (http://files.filefront.com/Halo+CD+Key+Recoveryrar/;13584459;/fileinfo.html)
I figured Ghost probably wont have time to update it to work for 64 bit and he might have lost the original code. So I coded it. Algorithm is Ghosts though, I take no credit for that :).
TheGhost
April 11th, 2009, 04:23 PM
Cool beans
007useless
April 12th, 2009, 02:24 AM
o.0 so many people thank you for this app being released. Here i knew about it for months now. Well all I have left to say is thanks for releasing it. :D
CodeBrain
April 14th, 2009, 04:15 PM
For those that are getting an error message about no registry data found (I had the error too), are you running 64-bit Windows? If you are, your Digital Product ID is in a different key. You will find your DPID in "HKLM\SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Halo". To get your Key via the CD Key Recoverer, you will have to right click the DigitalProductID in the key and modify. Highlight all the contents and right click -> copy. Next, navigate to "HKLM\SOFTWARE\Microsoft\" Right click the "Microsoft" folder (key) and Select New -> Key. Name the new folder (key) "Microsoft Games" without the quotes. Right click THAT key and create new key. Name that "Halo" without the quotes. Next, in the field on the right with the newly created Halo key opened, right click -> New -> Binary Value. Name that new item "DigitalProductID". Finally, right click the binary -> modify. Right click the "value data" field and paste the contents you copied earlier. Hit ok. Your CD Key recoverer should work now if you had Halo PC installed under a 64-bit OS.
Seriously its like people don't fucking LOOK THROUGH THE GOD DAMN THREAD BEFORE POSTING.
This is ridiculous, I do not see why everyone just skips the pages and goes directly to post, only to realize seconds later THEIR QUESTION WAS ALREADY ANSWERED.
Im sorry, but I just get pissed about shit like this. :maddowns:
jcap
April 14th, 2009, 04:18 PM
Yeah, I knew you could do that.
That thought even crossed my mind before I posted.
But you shouldn't have to edit your registry for an application to work. If 64-bit operating systems are out, you shouldn't leave them in the dark and force them to find a workaround.
Limited
April 14th, 2009, 06:47 PM
Seriously its like people don't fucking LOOK THROUGH THE GOD DAMN THREAD BEFORE POSTING.
This is ridiculous, I do not see why everyone just skips the pages and goes directly to post, only to realize seconds later THEIR QUESTION WAS ALREADY ANSWERED.
Im sorry, but I just get pissed about shit like this. :maddowns:
You are completely misunderstanding the reason programs and apps are made.
So that it cuts out the manual work you have to do. Converting a Halo PC map to a Halo CE map. Its possible to do it by hand, with the knowledge. Yet its long winded, unnecessary and it means the person has to have the knowledge of what bits to edit. Same with this, people are more likely to use an app, than work out/research that you have to fuck around with the registry making new keys, which will not get uninstalled when you remove the game I might add.
TheGhost
April 22nd, 2009, 11:11 AM
Yes, Limited has a point.
Most of the apps I wrote for HaloCE were to simplify manual work. The very first model I ever imported to 3ds max I did by hand. Yes, I know I'm insane. Then I wrote the GBXModel importer maxscript to do it automatically, and improved on it to do more and more things over time (bones, skinning, etc).
Eventually the app becomes no longer supported (most of the things I have written), and people require workarounds to preserve the functionality. At this point, there is nothing wrong with someone stepping up and updating the app as necessary. Many of my maxscripts have since been updated by other people, and now this too.
So yes, I thank you for updating the app to provide 64-bit users the same functionality as it provides to 32-bit users, and we can all stop arguing about this =)
Dwood
May 28th, 2009, 02:57 PM
I know this is a mighty bump but TheGhost, you seriously saved me here man.
Thanks for your app.
supersniper
May 28th, 2009, 03:56 PM
don't forget limited. :/
icelocked
October 11th, 2010, 12:45 PM
For those that are getting an error message about no registry data found (I had the error too), are you running 64-bit Windows? If you are, your Digital Product ID is in a different key. You will find your DPID in "HKLM\SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Halo". To get your Key via the CD Key Recoverer, you will have to right click the DigitalProductID in the key and modify. Highlight all the contents and right click -> copy. Next, navigate to "HKLM\SOFTWARE\Microsoft\" Right click the "Microsoft" folder (key) and Select New -> Key. Name the new folder (key) "Microsoft Games" without the quotes. Right click THAT key and create new key. Name that "Halo" without the quotes. Next, in the field on the right with the newly created Halo key opened, right click -> New -> Binary Value. Name that new item "DigitalProductID". Finally, right click the binary -> modify. Right click the "value data" field and paste the contents you copied earlier. Hit ok. Your CD Key recoverer should work now if you had Halo PC installed under a 64-bit OS.
Thanks a lot for your reply, over a year later and this thread just saved me :)
http://img24.imageshack.us/img24/9710/cdkeyscreenie.png
Instructions
To use this program, simply download the .exe file and run it. The CD key will appear automatically.
Double click the key to copy it to the clipboard.
Updated v2.0 - Works for both 32bit and 64bit.
Download Here (http://files.filefront.com/Halo+CD+Key+Recoveryrar/;13584459;/fileinfo.html)
I figured Ghost probably wont have time to update it to work for 64 bit and he might have lost the original code. So I coded it. Algorithm is Ghosts though, I take no credit for that :).
I tried downloading this after I had already manually edited the registry, but the link is dead. Might wanna update it for possible future users.
Con
October 11th, 2010, 12:54 PM
The link works for me, try again?
icelocked
October 11th, 2010, 12:56 PM
Oops, I had Peerblock running and it blocked it. My mistake, link is live :D
Limited
October 11th, 2010, 01:44 PM
Sometimes those links do die though, I'll download and keep a copy just incase.
tater1337
November 29th, 2013, 04:45 PM
hey guys, got a bit of a challenge for ya. I think.
lost my CD case with the key. I had Halo installed on my old PC and upgraded, and used the old hard dive so I wouldn't have to transfer all the data.
the new PC has it's own OS, so the app can't find my key. if I knew where to look, I bet I could find the registry, and dig out the key for the app to find, but I am not sure where to look.
roommate has a CD so I can re-install from there, just want to get my key from the old registry
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.