Solved

How do you automatically start a program on a 2008 server

Posted on 2012-03-14
4
558 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:J.R. Sitman
4 Comments
 
LVL 3

Accepted Solution

by:
MikeyLLB earned 200 total points
ID: 37719776
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
ID: 37719804
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
ID: 37720000
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:J.R. Sitman
ID: 37720132
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We recently had an issue where out of nowhere, end users started indicating that their logins to our terminal server were just showing a "blank screen." After checking the usual suspects -- profiles, shell=explorer.exe in the registry, userinit.exe,…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

809 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