Jump to content
Sign in to follow this  

Running Programs on another PC

Recommended Posts


Hi, so I am new to using AutoIt but I have some experience in using other programming languages, mostly Java. I am looking for a way to run a program on another computer by executing it on my computer. Ideally this would be done without being logged on to the secondary computer. I assume this would use TCP but I can't think of a way to do it. My computer would have the credentials to execute. I don't have much knowledge working with server/client setups or anything like that so I don't know if my thinking is flawed. Any ideas of what I should look into?

Also, is there a way to simulate mouse clicks, etc. without being logged into the computer?

Edited by sarcasteak

Share this post

Link to post
Share on other sites

try using psexec.exe (bundled with MS pstools).

Share this post

Link to post
Share on other sites

Thanks, I am checking this out, having some issues with permissions atm, keep ya updated.

Share this post

Link to post
Share on other sites

Is the only difference between control click and mousedown is that you can assign it to a specific button? I created a script to create a text document. I then used psexec to call the script remotely, however it doesn't successfully execute (no txt file is created), is it even possible to simulate mouse clicks without being logged into the system?

#region --- ScriptWriter generated code Start ---
WinWait("Program Manager","FolderView")
If Not WinActive("Program Manager","FolderView") Then WinActivate("Program Manager","FolderView")
WinWaitActive("Program Manager","FolderView")
WinWait("Program Manager","New Text document.tx")
If Not WinActive("Program Manager","New Text document.tx") Then WinActivate("Program Manager","New Text document.tx")
WinWaitActive("Program Manager","New Text document.tx")
#endregion --- ScriptWriter generated code End ---

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.