Terminal Services Terminal Services Disconnect Process Run
#1
Posted 02 August 2004 - 06:07 AM
Posted and discussed window load completion issues over the past several weeks - what a great bunch of folks.
Now have a new problem I'm hoping someone can help out with.
Using either .au3 or .exe either installed via w2k or just copied and run from a directory, have yet to be able to get the auto-it loop to continue to run after I disconnect Terminal Services...
It looks like it looses focus of the active window, however I've attempted just about every winactive, winwait, winwaitactive, etc., command to regain focus, so something tells me it just hangs until the Terminal Services Client is re-connected with the Terminal Services Server...
Anyone have a clue - would be greatly appreciated.
Thanks!
#2
Posted 02 August 2004 - 03:10 PM
I did not test this out with Terminal Services, so I don´t have a direct solution for your problem. (If I get a little time, I may try out AU3 with terminal services tommorow...). I even don´t know what you want to do.
Perhaps it is only something like i had last week. I had to run a au3 script last week but I could not do it on my own comp, cause it blooked my comp. So I ran it on another comp with VNC Server. With VNC Server there were no problems, Script was running even if I disconnected. So, if you only want to run your script on another comp and want somtimes see what it is doing and that was the reason you used terminal services, VNC may be an option. If you only have one server and need Terminal Sessions so that you use it to have more "virtually comps", on this sever, not affecting the "root console", then it will be not a solution.
commenti
#3
Posted 02 August 2004 - 07:39 PM
#4
Posted 03 August 2004 - 05:52 AM
commenti, on Aug 2 2004, 06:10 AM, said:
I did not test this out with Terminal Services, so I don´t have a direct solution for your problem. (If I get a little time, I may try out AU3 with terminal services tommorow...). I even don´t know what you want to do.
Perhaps it is only something like i had last week. I had to run a au3 script last week but I could not do it on my own comp, cause it blooked my comp. So I ran it on another comp with VNC Server. With VNC Server there were no problems, Script was running even if I disconnected. So, if you only want to run your script on another comp and want somtimes see what it is doing and that was the reason you used terminal services, VNC may be an option. If you only have one server and need Terminal Sessions so that you use it to have more "virtually comps", on this sever, not affecting the "root console", then it will be not a solution.
commenti
First - thanks for taking the time to reply, your assumption is correct, I'll look into VNC Server - however I've got 2 "virtually comps" to run on the same server. I'll check into it and feedback.
Again - Thanks!
#5
Posted 03 August 2004 - 05:57 AM
emmanuel, on Aug 2 2004, 10:39 AM, said:
emmanuel - Thanks for your comments. Had looked into "desktop interaction enabled", but was not sure if I should change autoit in services, the au3 or the exe. In addition,. was not sure how to add any of the three as a service, but because I was running an au3 with autoit installed, I could have enabled "desktop interaction enabled" for it, but wanted to check with the sys admin first :(
Thanks for your input, I'll do some digging, any hints would be greatly appreciated :)
#7
Posted 28 November 2006 - 10:57 PM
modeler2us, on Aug 1 2004, 09:07 PM, said:
Posted and discussed window load completion issues over the past several weeks - what a great bunch of folks.
Now have a new problem I'm hoping someone can help out with.
Using either .au3 or .exe either installed via w2k or just copied and run from a directory, have yet to be able to get the auto-it loop to continue to run after I disconnect Terminal Services...
It looks like it looses focus of the active window, however I've attempted just about every winactive, winwait, winwaitactive, etc., command to regain focus, so something tells me it just hangs until the Terminal Services Client is re-connected with the Terminal Services Server...
Anyone have a clue - would be greatly appreciated.
Thanks!
Had the same problems. VNC is one solution though for some reasons we encountered problems with tight security on our network wich made it impossible to use VNC. The solution (quite simple) is to auto logon on to the terminal server so the user session is active and stays active while running the scheduled autoit .exe file and auto log off when finished. All with the same scheduler (events scheduler).
#8
Posted 30 April 2010 - 10:57 PM
boyke_sr, on 28 November 2006 - 05:57 PM, said:
I am having a similar problem, but I can't use any of the workarounds described thus far.
I am not sure what you used to "auto logon on to the terminal server"
Has anyone tried automating a logon?
Something like the following program:
http://www.softtreetech.com/24x7/archive/51.htm
This post has been edited by Sapient: 30 April 2010 - 10:58 PM

Sign In
Register
Help
MultiQuote