Solved

How do you automatically start a program on a 2008 server

Posted on 2012-03-14
4
551 Views
Last Modified: 2012-03-15
I have a program that needs to start automatically on a 2008 server.  I have it in the startup folder and that works fine when I log on to the server.  The problem is if I manage the server remotely and then close my remote connection the program closes as if I logged off.

So my question is How do I keep the program running.
Also is it possible to have the program start before I log into the server.  In other words if I reboot it remotely, when it starts (without me logging in) can the program be started?  In case it matters the program is a connection to our Microsoft Retail Management System that listens for connections from our Pet stores.
0
Comment
Question by:jrsitman
4 Comments
 
LVL 3

Accepted Solution

by:
MikeyLLB earned 200 total points
Comment Utility
You can do this with a Scheduled task with triggers to run at StartUp and at Logon.

Try the following guide for help. I have a number of programs running at Startup (pre-logon) with Scheduled tasks.

http://www.sevenforums.com/tutorials/67503-task-create-run-program-startup-log.html
0
 
LVL 8

Assisted Solution

by:Elmar-H
Elmar-H earned 50 total points
Comment Utility
Or simple add the Programm as Service follow these steps:
http://www.msfn.org/board/topic/83272-how-to-run-a-program-as-a-service/
0
 
LVL 4

Expert Comment

by:sivanov
Comment Utility
i vote for the suggestion from Elmar-H, it much better that a schedule task, there you could even set behavior what top be done if program stop, etc.
but what is this program are you sure that you really wnat to keep it running.
0
 

Author Closing Comment

by:jrsitman
Comment Utility
I was almost done with the first post when the others came in and it worked fine.  However Elmar-h post there was a link to FireDaemon.  I'm going to try that.  I prefer programs that do it rather than me adding code or scripts.

Thanks to all
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now