Solved

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

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

707 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

12 Experts available now in Live!

Get 1:1 Help Now