The title says it all. I've got Windows 7 and a fresh, unmodded copy of BF2. What's going on?
I didn't make it!
Did you install the game to Program Files folder? If you did, did you give administrative privileges to the executable file? Running the game in compatibility mode for Windows XP and with disabled Desktop Composition might also help.
What Exactly happens when you try to run it?