DeadL3gacy Posted August 9, 2017 Share Posted August 9, 2017 I have a script that i want to run on a windows vserver (windows server 2016) but when i close the remote desktop the script doesn´t continue. Is there any way that i can make this script run on that server? Thanks in advance Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted August 9, 2017 Moderators Share Posted August 9, 2017 @DeadL3gacy there are a myriad of ways to do so, however they depend on what exactly your script is trying to do (Window manipulation, using MouseMove, Send, etc.). Please post your code, so we're not guessing, and we will do our best to assist. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
DeadL3gacy Posted August 9, 2017 Author Share Posted August 9, 2017 my code is using MouseClick, send, WinActivate and sleep Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted August 9, 2017 Moderators Share Posted August 9, 2017 That's awesome. It is still difficult to assist without seeing at least a reproducer. With no further knowledge, I can tell you that a quick search of the forum will show a number of threads discussing why you cannot use those in a closed RDP session. You need to use things such as ControlClick and ControlSend instead. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
DeadL3gacy Posted August 9, 2017 Author Share Posted August 9, 2017 thank you very much, i will try it out now Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now