Battlefield 2
28 ratings
[FIX] Your CDKey is not valid
By GermanDarknes and 2 collaborators
How to fix your CD-Key for Battlefield 2 and Special Forces.
Rate
How to fix the invalid CD-Key
With this guide you can fix the Invalid CD-Key Message for the Battlefield 2 Complete Edition.
This should work for Battlefield 2 and Battlefield 2 Special Forces.

Step 1:

Step 2:
Start the CD-Key Changer, type in your CD-Key and press Apply.

You have to run the tool as administrator!

Step 3:
Delete or rename this file:
C:\Program Files\Steam\steamapps\common\battlefield 2\installscript.vdf

Step 4:

Right click on "C:\Program Files\Steam\steamapps\common\battlefield 2\bf2.exe"
Properties->Compatibility->Check "Run this program as an administrator"->Apply->OK

Step 5:
Try out if it works. If you still get the error, go back to Step 2 and tick the "Don't include hyphens" checkbox before pressing Apply.

If it works:
Enjoy Battlefield

Please report if it works or if you have any problems.

How to fix the desktop crash
Right click on "C:\Program Files\Steam\steamapps\common\battlefield 2\bf2.exe"
Properties->Compatibility:
Check "Disable visual themes"
Check "Disable desktop composition"
Check "Run this program as an administrator"
->Apply->OK

It should look like this:
< >
~~>Worthy<~~ Jul 16 @ 3:05am
I bought battlefield 2 but i didnt get a cd key
GermanDarknes  [author] May 15 @ 6:15am
Because of this I kept the old solutions, they are still working of course.
It's nice to hear that it works, even with this little bug.
Hello GermanDarknes and world.
I tried the solution from DotDev (Second solutions outdated) because I refused to download an unknown software (I'm sorry :p).

First time, didn't work. Then, I removed the dash from the CD key in Regedit. Now, it works.
It's a long way but effective.

Now, some minors problems appear. All first connection after starting the game or disconnecting fail.
So, I have a restricted severs list.

Thank you for the solution. :)
GermanDarknes  [author] Apr 12 @ 1:33pm
Yes, so it worked for you, other users got trouble with their install script, for these user this guide is the correct way.
MannOfSteel Apr 12 @ 1:20pm
Dude I was skeptical at first but I was pleasantly surprised when it worked.
MannOfSteel Apr 12 @ 1:18pm
It works dude, I had trouble with this method tried the one in the link, worked like a charm, had NO problems whatsoever since, steam hasnt done anything probably because I disabled steam overlay.
GermanDarknes  [author] Apr 12 @ 12:44pm
Changing CD-Key is not enough because Steam will always change it back.
MannOfSteel Apr 12 @ 12:13pm
For those of you having problems http://www.ebay.com/gds/How-to-change-your-Battlefield-2-CD-KEY-w-o-reinstallin-/10000000001655727/g.html it defintely works, really easy, takes at most 5 minutes.
(ノಠ益ಠ)ノ彡 ☭ Feb 12 @ 8:24pm
oh ok I tried to rename it but it wouldnt let me but ill try again
GermanDarknes  [author] Feb 12 @ 7:46pm
@Juanny, it seems that you missed Step 4, than it should stay.

@skulz87, due a bug you have to do this with the steam version.

I updated the CD-Key Changer, it should auto-detect the operating system now.