Solved

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

Posted on 2004-08-02
3
320 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 125 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

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…
This tutorial shows how to create a greeting card by combining two image layers and a text layer on a PC using a free image editing app.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

770 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