Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using Salt Stack, how does one remotely start a Windows program on the console screen?

In other words, from my Salt Master (CentOS based), I want to push this sort of command to Windows 7 (with Salt Minion) and have VLC automatically start. e.g. from *nix shell

salt 'Win7-laptop' '""C:\Program Files (x86)\videolan\vlc.exe"'

Is there a certain command or switch that I must run? Or do I need to use something like psexec or Powershell?

share|improve this question

Maybe use Invoke-Expression Runs commands or expressions on the local computer.

share|improve this answer
Instead of just posting a link and one sentence, please give more context, some examples, etc. – slhck Nov 3 '14 at 13:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.