Every night, I logon to a Windows Server 2003 machine through the Remote
Desktop Connection as an administrator. It's a long story but, in order for
some Scheduled Tasks (macros) to run automatically overnight, Microsoft and I
confirmed that this administrative user has to remain logged onto the server.
My only concern with this, of course, is if this user is ever accidentally
logged off. I need for this user to remain on.
Someone told me that there might be a way to write a script or a VB program
to automatically establish the RDP session if the connection is down. Is
that true? If so, how?
I had posted these questions on 12/10/09 on this newsgroup, but my questions
were misunderstood. It's not that we do not know how to keep this
administrative user logged on. My question is "Is there a way
programmatically to keep the session going or immediately come back on again
if this administrative user is accidentally logged off through another
Terminal Server session by someone who logs on with the same credentials?".
We have to keep this connection up and I am not always going to be around to
check on a daily basis that this Remote Desktop Session remains on.