Battlefield 2

Battlefield 2

44 ratings
[FIX] Your CDKey is not valid
By GermanDarknes and 2 collaborators
How to fix your CD-Key for Battlefield 2 and Special Forces.
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:
Download the Battlefield 2 CD-Key changer.

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:
Run Battlefield 2 as administrator.

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.

Also check out this thread:
How to fix the desktop crash
Right click on "C:\Program Files\Steam\steamapps\common\battlefield 2\bf2.exe"
Check "Disable visual themes"
Check "Disable desktop composition"
Check "Run this program as an administrator"

It should look like this:
< >
Dream Life Dec 1, 2016 @ 5:35am 
this motherfuckin shit doesnt work
EntraVenuS Jan 24, 2016 @ 9:27am 
The standard bf2 its been revived (and you can get the game for free) .. go see
chebonaparte Sep 1, 2014 @ 5:17pm 
fucked up that legit bought steam complete package game has to resort to this to use the only servers remaining!
ωorty Jul 16, 2014 @ 3:05am 
I bought battlefield 2 but i didnt get a cd key
GermanDarknes  [author] May 15, 2014 @ 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.
BuBuTchaTcha :) May 4, 2014 @ 7:39am 
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, 2014 @ 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.
Scarface Apr 12, 2014 @ 1:20pm 
Dude I was skeptical at first but I was pleasantly surprised when it worked.
Scarface Apr 12, 2014 @ 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, 2014 @ 12:44pm 
Changing CD-Key is not enough because Steam will always change it back.