Jump to content


  • 0
Kevin79

Batch file to run program

Question

We have an application that was built in-house. The application is supposed to run all of the time but I need to start it up after installation (otherwise it starts on reboot). It is installed with a batch script so that the program gets installed and then started.

SCCM starts the program but in the "System" context. How do I start it up in a user context?

 

 

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

So I would need to batch files, one to install (since users can't install it) and one to start it up? What is the best way to link them? What happens if there isn't a user signed on when the program installs?

Share this post


Link to post
Share on other sites

  • 0

The best is indeed to cut it into pieces then. One of the methods that I always disliked the most, but might work for you, is selecting Run another program first.

 

Just on a side-note, wouldn't it be nicer to solve this on a different way, like a GPO that creates a scheduled task or something like that?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

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.