Sign in to follow this  
Followers 0
DeadL3gacy

How can i run an autoit script on Windows server 2016 without the remote desktop turned on?

5 posts in this topic

#1 ·  Posted

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

Share this post


Link to post
Share on other sites



#2 ·  Posted

@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.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

#3 ·  Posted

my code is using MouseClick, send, WinActivate and sleep 

Share this post


Link to post
Share on other sites

#4 ·  Posted

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.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

#5 ·  Posted

thank you very much, i will try it out now

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0