I have and app, installed in a Windows 2003 server, that is accessed locally by 
a number of machines, and using remote desk top by one branch of the company.

I set up the access in a manner such that when the user clicks the RDT 
connection icon, my app starts and when he closes the app, the RDT connection 
is closed, and everything works normally.

However, the branch is in a small town, with a very poor internet connection, 
or rather, a very unreliable ISP. Very often, we suffer disconnections, without 
previous warning.

In this case, it is very usual that the maximum of two RDT connections is 
reached in one day (the branch manager starts the app again) and the following 
morning the branch cannot connect, because, when the internet connection is 
lost, the Windows Server does not close the session automatically. And then I 
have to access the server and close those open connections manually.

I would like to set up a script in the server, so by just clicking on an icon, 
all open connections are closed. This is to be done by the company manager 
only, but I do not want to teach him how to do this manually. Therefore, my 
need for a script to be launched from an icon on the server.

I would appreciate to be shown how to write that script (code please!!)

Thank you all

Rafael Copquin






_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to