Right. @Stewielenor it should stay active. I run multiple apps and never had any problem as long as VPS works it work. Can you please give us more info?Run the exe as usual. I thought the vps stays "on" even when you're not connected to it
I basically recorded mouse keyboard actions that needs to wee done on repeat, but every program stops preforming when I disconnect from Remote desktop.Right. @Stewielenor it should stay active. I run multiple apps and never had any problem as long as VPS works it work. Can you please give us more info?
read that this morning but I still don't know how to do it as I've never messed around with services.If you want to run a exe file as a service you could try something e.g.
Code:https://stackoverflow.com/a/3582179/1437261
Not sure if this is what you are looking for.
I did and it doesn't work. App counter does go up but the actions are not preformed.You can't just turn an exe into a service, you would need to rewrite parts of your application to get it working as a service.
If it requires mouse input, just leave the VPS running and disconnect from the RDP session.
Have you tried to program it? Like with you or xeboposter or winautomationI basically recorded mouse keyboard actions that needs to wee done on repeat, but every program stops preforming when I disconnect from Remote desktop.
read that this morning but I still don't know how to do it as I've never messed around with services.
I did and it doesn't work. App counter does go up but the actions are not preformed.
I got the error mentioned in the answer Error 1053: The service did not respond to the start or control request in a timely fashion.Run as administrator
"SC CREATE "MySVC" binpath= "C:\myservice.exe"
you're welcome
Yeah this."Task Scheduler"
You can set it to start once the server starts. triggers, or repeatedly in time intervals. It also can check if the program is already running and not run it multiple times. It is like the Windows version of Linux con jobs.
Service are harder. Unless the .exe was coded to be a service, windows will not start it as a service.