Did you read the red sticky:
Connection Problem Troubleshooting?
New PR problems are rare so most answers can be found here.
Get wired if you can to game.
Check your wireless settings. Make sure your PC isn't looking for a stronger signal every 2 minuets ( roaming). Set your wireless to only use your home network. ( you can change it when you travel)
Set affinity so game only uses 1 cpu/core
This from

.Beeson from this link(
BF2S Forums / OMFG "Your connection to the server has been lost.")
"If you have a dual core CPU, you need to change the 'affinity' setting, so that it only uses one core. You can do this each time you load the game by pressing :
CTRL + ALT + DEL
click on processes
right click on bf2.exe
select 'Set Affinity'
deselect whichever core you don't want to use (it doesn't really matter which)
See if that makes a difference. If it does, then you can use a command line utility called ImageCFG (google it to find a download). You'll need to copy it to your BF2 directory. Navigate to the directory using the command line (run 'cmd' to start it), then type :
imagecfg -a 0x1 bf2.exe
That will set BF2 to run only on CPU core 0, every time you start the game. Unlike the method above, you only need to do this once.
If you want to use ImageCFG for more programs, then you should copy it to C:\Windows\system32, and C:\Windows\system32\dllcache. That will make it a system command, so you won't need to copy it every time you need it.
Hope this helps!"
Set pb_sleep 500:
Ghostsniper64 wrote:ya, fixed the problem for the most part
open the command prompt in-game and type "pb_sleep 500" and after that, type "pb_writecfg"
wait a few seconds, and bam, your game should clear up any punkbuster caused lag spikes.
If your lag continues, then I guess this rules out punkbuster, and is probably caused by a slow or single core CPU, lack of RAM, or a video card bottleneck.
cheers
Punk Buster not updated:
Before you go online to join a server
you should:
1. Download
pbsvc
2. Start pbsvc installer, you should see options for install, uninstall, test.
3.
Run the Uninstaller, then delete the PB folder to remove any leftover files.
4. Restart your computer.
5. reinstall punk buster files with pbsvc( if your using Vista DO NOT set compatibility to XP, run as admin ok)
6. After pcsvc installs, click the "test" option to check the punk buster install you just did.
5. Make sure it comes back "all green"
6.Download
pbsetup
(pbsvc DOES NOT install pbsetup.
If your using Vista DO NOT set compatibility to XP, run as admin ok)
7.Create a pbsvc installer shortcut AND pbsetup program shortcut on your desktop.
8.Run pbsetup (from the shortcut on your desktop) add BF2 to the games list, then hit update."
(pbsvc installs the punk buster 'engines' or applications.
PBsetup installs the files/gas the 'engines run)
Check Punkbuster B is set to auto re-start.
=HOG=Romeo_One_Three wrote:Open your Control Panel. Go to Administrative Services. Click
on Services while PR is running. Select Punkbuster B, right click, select properties, select the
recovery tab and make sure they all say "Restart the service" for all three dropdowns. You can do
the same for PB A, but generally speaking, it's the B client that stops responding. Any time you
update PB, you may need to re-do this step.
W7 users = In services ( inside the 'log on' tab) check box which states “Allow this service to interact with the desktop.
Good luck
Welcome to PR
"Project reality, it's all about the teamwork."