yep i thought about this. but as i said me and my firend have diffrent connection and we r mining at diffrent pools but our Cgminer will stopped at the same time. i got two rigs and they have diffrent connection too but it will be stopped at the same time both as my friend. so after that i have to w8 like 30sec till it will work again. dont kno wtf is that btw i use Cgminer Version [1gh.com] 3.6.6
oh you and your friends CGminers are dropping out at the same time? that is some wierd shiz coincidence. if you are in the same building then it could be a network problem.. if not then it makes no sense at all why you would both drop out at the same time.
but if you cant figure it out just use task scheduler to restart the batch file when your PC is idle for more than a couple of minutes.
If CGMiner is dropping back to the command prompt.. this should fix the problem..
if CGMiner is hanging/freezing then you may need to schedule a job to run every hour and just stop and restart CGMiner..
I know its band aide but at least you wont lose many hours of mining if it cuts off while you are sleeping.