Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

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
?
327 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

730 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