Originally Posted by xenodude
1. (with phone disconnected) reinstall kies drivers using Keis troubleshooter.
2. enable galaxy s2 debugging mode.
3. connect phone to pc so that the drivers will be installed.
4. disconnect phone and turn debugging mode off.
5. turn phone off and then on again.
6. connect to pc.
thats how it worked for me.
Thanks this worked solution worked for me