In some cases (rarely but it is definitely a problem) I start my automated trading and, a few hours later, within the same session (within those 24 hours that do not have the forced disconnection), presumably after a disconnection, I get asked again for the login code from the IB security code card authentication. What happens is I connect to my server, and see the popup window asking for the security codes, and since my trading is automated, this also means that the DDE data feed to excel has stopped (sometimes for hours) and my daily automated trading session has been compromised. This has been happening for the past two months, at the frequency of once every two weeks, so it has happened already four times. Does anyone (from IB or forum users) know what I could do to fix this problem, which is not just my problem presumably? This is a very recent problem and before this, disconnections did not cause it, and IB TWS could get reconnected without the need for me to fill in the security codes again.