0

I have an app that needs to run as a GUI, I'm trying to automate it's launch at startup without the need to remote desktop to the windows server 2008 R2 and manually start it. I currently use a powershell script at startup to perform multiple tasks but have not found a way to launch this gui app in the foreground for the user. So for now I still need to remote in and manually kill / start it.

devopsken
  • 13
  • 6

1 Answers1

0

psexec.exe will help you here.

this guy can execute interactively in a remote execution. PowerShell in remoting cannot be used for interactive tasks.

Prasoon Karunan V
  • 2,916
  • 2
  • 12
  • 26