Solved

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

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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

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…
This article demonstrates probably the easiest way to configure domain-wide tier isolation within Active Directory. If you do not know tier isolation read https://technet.microsoft.com/en-us/windows-server-docs/security/securing-privileged-access/s…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

679 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