Learn how to a build a cloud-first strategyRegister Now

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

How do you automatically start a program on a 2008 server

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
J.R. Sitman
Asked:
J.R. Sitman
2 Solutions
 
MikeyLLBCommented:
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
 
Elmar KoschkaIT System EngineerCommented:
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
 
sivanovCommented:
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
 
J.R. SitmanAuthor Commented:
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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