Go Back   Project Reality Forums > Project Reality Mod Forums > PR Help and Hardware Support
PR Help and Hardware Support : Help and support regarding PR and computer issues.

Welcome to the Project Reality Forums! Join the Project Reality forums! Contact Us


Reply
 
LinkBack Thread Tools Display Modes
Old 06-16-2008, 09:07 AM   #1

Deadfast's Avatar
Lightbulb Troubleshooting Guide: Your CD-key is not valid




Following the previous troubleshooting guide focused on general game launching problems, I have written this one. It's focused on those who cannot join any multiplayer server thanks to the error you see above.
As many mistakenly think, this error is mostly not caused by illegal copy of the game. If you are so unlucky to end up with this error your Windows registry key containing your game CD-key is damaged.


The usual recommended fix for this problem is complete reinstall of the game. Even though it will fix the problem it's not necessary to go that far. All you have to do is edit a single value in your registry.

  • Instructions:
    1. Press Windows key + R (or alternatively go to Start > Run)
    2. Write the following into the opened window: regedit and hit ENTER
    3. Create a registry backup in case something goes wrong (see Restore registry section for instructions on how to restore):
      File > Export... > select All in Export Range (see below for image) > name it, select a location and Save
    4. Browse through the keys (key is the "folder" you can see in tree to the left of the window) to:
      * HKEY_LOCAL_MACHINE\SOFTWARE\Electronic Arts\EA Games\Battlefield 2\ergc (you can always see where you are located on the bottom of the registry editor window)
    5. If you have followed the path specified above you should be able to see a registry value called (Default) in the right part of the window
    6. Double-click on the value to open its editor
    7. Delete everything after x9392 (first 5 digits)
    8. Now enter your CD-key (behind the x9392) without dashes or spaces
      If your CD-key would be ABCD-0123-EFGH-4567-IJKL you would write it as ABCD0123EFGH4567IJKL
      Then the complete line would look like: x9392ABCD0123EFGH4567IJKL
    9. Once you're done entering the code simply click on OK, close the registry editor window and you should be all set to play the game again

      * The path for 64bit versions of Windows (Vista x64 and XP x64 editions) is different:
      HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Electronic Arts\EA Games\Battlefield 2\ergc
      The rest of the guide is not affected.


  • Subsection: Restore registry
    aka something went wrong and now my Windows is messed up...


    First of all, don't panic.
    If you were following the instructions closely and you still have the registry backup then the fix can't be easier:
    1. Locate the registry backup file (*.reg)
    2. Double-click on the file
    3. Confirm registry import and all overwrite prompts
    4. You registry will be restored to their previous state (before changing the registry value, so you have to retry to make the game work)


  • Disclaimer:
    I, nor anybody else, hold any responsibility for any possible hardware or software damage (how unlikely that might be) caused by following these instructions.



Turn 360 degrees and walk away is what you should do tbh.
- [R-CON]Desertfox
Deadfast is online now
Last edited by Deadfast; 11-15-2008 at 09:16 AM.
Reply With Quote
Old 06-16-2008, 09:27 AM   #2
PR Developer
Supporting Member

[R-DEV]bosco's Avatar
Send a message via MSN to [R-DEV]bosco
Re: Troubleshooting guide: Your CD-key is not valid

Nice guide

Maybe add the possibility to re-enter the CD key in the Battlefield 2_code app in Battlefield 2\Support ?
[R-DEV]bosco is online now Reply With Quote
Old 06-16-2008, 11:08 AM   #3

Deadfast's Avatar
Re: Troubleshooting guide: Your CD-key is not valid

I've read there are some issues with this method if you have Special Forces installed.

That's why I like to stay with what I know that really works



Turn 360 degrees and walk away is what you should do tbh.
- [R-CON]Desertfox
Deadfast is online now Reply With Quote
Old 06-16-2008, 11:09 AM   #4
PR Developer
Supporting Member

[R-DEV]bosco's Avatar
Send a message via MSN to [R-DEV]bosco
Re: Troubleshooting guide: Your CD-key is not valid

Well, the method worked for me, but it's your thread.
[R-DEV]bosco is online now Reply With Quote
Old 06-16-2008, 11:36 AM   #5

Deadfast's Avatar
Re: Troubleshooting guide: Your CD-key is not valid

I'm thankful for any income

Did you have SF installed?



Turn 360 degrees and walk away is what you should do tbh.
- [R-CON]Desertfox
Deadfast is online now Reply With Quote
Sponsored Links
Old 06-17-2008, 02:05 AM   #6

Charlie!'s Avatar
Re: Troubleshooting guide: Your CD-key is not valid

I made a thread on this, First of all I run BF2(Original), Been playin for 3 years now, and it has FH2 characteristics (username screen is brown isnstead of yellow, the little quick play button on the bottom right corner has a blank sqare over it, etc) and when i have the server lists, all bf2 servers, it says CD KEY INVALID, SO: i did the regedit thing, cd key thing is still there, i re-installed bf2 1.41 patch...AND this happened after FH2 and all of its files(which i assume isnt true yet what im going thru) Any ideas?
Charlie! is offline Reply With Quote
Old 07-14-2008, 11:50 AM   #7

musp3r's Avatar
Re: Troubleshooting guide: Your CD-key is not valid

My mate had that invalid cd key problem, and I've pointed him to download bfkeychanger (google) and enter his legit key in the keychanger. It was a 1 min solution and worked right away.

musp3r is offline Reply With Quote
Old 08-31-2008, 06:09 AM   #8

Rookie's Avatar
Re: Troubleshooting Guide: Your CD-key is not valid

Thank you very much, Musp3r. I am running Windows Vista Ultimate 64 bit and I couldn't find the register key. The bfkeychanger worked for me.
Rookie is offline Reply With Quote
Old 08-31-2008, 07:59 AM   #9

Deadfast's Avatar
Re: Troubleshooting Guide: Your CD-key is not valid

Quote:
Originally Posted by Rookie View Post
I am running Windows Vista Ultimate 64 bit and I couldn't find the register key.
Guide updated to reflect Vista 64 registry path



Turn 360 degrees and walk away is what you should do tbh.
- [R-CON]Desertfox
Deadfast is online now Reply With Quote
Old 09-07-2008, 10:13 AM   #10

Sudano68's Avatar
Re: Troubleshooting Guide: Your CD-key is not valid

I don't even know where my key is. It's a second one, someone got my first one somehow and I had to buy it again, and now I can't find my second.

There is no way on vista you can find that registry to see what it currently is? If I can't find it, I don't know what my cd key is, and I'm not buying a third...

Ok, I didn't see the 64 bit changed. So is your key code somewhere with in all those numbers and letters in ergc?
Sudano68 is offline Reply With Quote
Sponsored Links
Reply


Bookmarks

Tags
cd key is not valid, cd key problem, cd-key is not valid, cdkey, guide, invalid cd key, troubleshooting, troubleshooting guide, valid
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 08:52 AM.


Powered by: vBulletin. ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO.
All Content Copyright ©2004 - 2008, Project Reality.