'Invalid CD key' error after installing the patch.

Sometimes a conflict in the updated files can prevent the game from properly identifying your CD-key. Usually, refreshing your CD-key will resolve the issue. Note that this will only correct the error if you used the same Windows account to install, patch, and troubleshoot the game. If you have switched Windows accounts at any point it is recommended you uninstall, reinstall, and repatch using the same Windows login.

If you have Battlefield 2

1. Click Start.
2. Go to Run.
3. Type regedit and hit OK button.
4. Click on plus sign next to HKEY_LOCAL_MACHINE.
5. Click on plus sign next to SOFTWARE.
6. Double click on Electronic Arts folder.
7. Double click on EA Games folder.
8. Double click on Battlefield 2 folder.
9. Double click on ergc folder.
10. Data displayed will probably have x9392 only.
11. Right click on it and select Modify.
12. Type in x9392 and then your CD key.
note: don’t include hyphens.

Example: x9392(your Battlefield 2 CD key here)