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

x
?
Solved

how can I start a daemon process at boot time? (it's not a service)

Posted on 2004-08-02
3
Medium Priority
?
329 Views
Last Modified: 2010-04-13
I have a program that we have been running from the cmd prompt.  It is a daemon process, that does not terminate (meaning we do not want it to terminate).  However when the user that starts the process logs out, the process is killed by Windows.  

I would like the process to start at boot time, and never terminate, until shutdown.

I konw about
   Local Computer Policy >User Configuration >Windows Settings >Scripts
in the Group Policies, but when I tried that my terminal services remote desktop did not come up for about 20 minutes, after which my process was not running.

I should mention that right now I need this for a Window 2003 server, however I  also need it to work on a Window 2000 server.

Thanks in advance for your help.
  Paul
0
Comment
Question by:plevintampabay
  • 2
3 Comments
 
LVL 44

Accepted Solution

by:
CrazyOne earned 500 total points
ID: 11699147
Hmmm maybe running it as service

Resource kit tools Srvany

More About Srvany
http://www.winnetmag.com/Articles/Index.cfm?ArticleID=8148
Download Page
Applications as Services Utility:
http://www.petri.co.il/download_free_reskit_tools.htm
Download Link
http://www.dynawell.com/reskit/microsoft/win2000/srvany.zip

AUTOEXNT
http://www.jsiinc.com/suba/tip0000/rh0006.htm
Run a batch job at boot without logging

http://www.firedaemon.com/
FireDaemon is a utility that allows you to install and run virtually any native Win32 application or script (eg. BAT/CMD, Perl, Java, Python) as a Windows NT/2K/XP service. FireDaemon features easy configuration (via GUI or XML), a low memory/CPU overhead, subprocess prioritisation, custom environments, CPU binding plus monitoring and logging to the event log and on-disk log files.
0
 

Author Comment

by:plevintampabay
ID: 11715014
Sorry for the delay.  I was hoping someone might offer some internal to windows feature, but your answer is great, and the direction I thought I would have to go to.
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 11717629
:)
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Your business may be under attack from a silent enemy that is hard to detect. It works stealthily in the shadows to access and exploit your critical business information, sensitive confidential data and intellectual property, for commercial gain. T…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

972 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