Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 472
  • Last Modified:

Need to start a process in SBS 2011 in high priority automatically on boot up

Hi I need to automate a process in the task manger relating to a LOB app to start in high priority as it seems to be losing the fight with getting resources from the Exchange Store Service.

If we manually change the priority to High then the database runs with no problems.

However this needs to be done each time the server starts. If the server logged in, I could run a login script but is there away of running a script at the end of start-up as opposed to logging in?

Any other ideas, beyond trying to get the client to purchase another server for the Line of Bus Application ( Highly unlikely!).

Many thanks for any help in advance.
0
MPBW
Asked:
MPBW
1 Solution
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
Create a Scheduled Task that launches a batch file that launches the app using a start command.

Example:

BatchToStartApp.cmd
Start "" /High app.exe /parameters

Then schedule the BatchToStartApp.cmd to run at computer start up, whether the user is logged in or not (create a separate admin account for it with an EXTREMELY STRONG PASSWORD and set the password to never expire and run the app under that account).
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now