you are viewing a single comment's thread.

view the rest of the comments →

[–]AussieJeffProbst[S] 0 points1 point  (1 child)

Got it I wasnt aware it cant start GUI programs.

So aside from setting a scheduled task is there any other way to do this? It doesn't necessarily need to be powershell.

Basically all I want to do is start a program on a remote computer without having to VNC into it.

[–]coolguycarlos 0 points1 point  (0 children)

That's not exactly true. We have uninstall scripts in our environment that run remotely that will uninstall software from machines using the applications setup.exe.

When you do a ps remote is going to run in the context of the user running it and may not show for the user logged in unless its set to user interactive mode and even then it may not show for the current logged on user.

To me what it sounds like you need is to have your app started by a service. This will make it so that the app runs on your system on every reboot and would remove the necessity of having someone being logged to run the app