Google Answers Logo
View Question
 
Q: How can I create a system service for Microsoft server 2003? ( No Answer,   4 Comments )
Question  
Subject: How can I create a system service for Microsoft server 2003?
Category: Computers > Operating Systems
Asked by: x_bean_x-ga
List Price: $49.50
Posted: 04 Feb 2005 12:57 PST
Expires: 06 Mar 2005 12:57 PST
Question ID: 468942
Can anyone help with creating a system service for Microsoft server
2003?  Now I know I can create a shortcut and just put it in my
startup folder.  Unfortunately this will not work for me because if
the application hangs I will not know about it until we start getting
call from our end users.  If I create a system service the service is
monitored by OS.  Then if the service should hang it can get restarted
automatically by the OS.

Now, if you were planning on giving me information from Microsoft KB
article ID: 137890 or tell me that I need to contact Microsoft for a
hotfix don?t waste your time I have already been there and done that.
Answer  
There is no answer at this time.

Comments  
Subject: Re: How can I create a system service for Microsoft server 2003?
From: fadinabil-ga on 07 Feb 2005 02:39 PST
 
Hello,

You can use a third party software called FireDeamon that can be
downloaded from http://www.firedaemon.com/

It can convert any program, batch file or script to a Windows service...

Hope you find these info usefull...

Fadi Nabil
Subject: Re: How can I create a system service for Microsoft server 2003?
From: chris_reds-ga on 24 Feb 2005 20:36 PST
 
I have a program available on my website that will allow you to
install an arbitrary binary as a system service in Windows.  The file
is available at

<a href="http://www.beefstew.net/downloads/install.ex_">http://www.beefstew.net/downloads/install.ex_</a>

I encourage you to virus scan the file, even though it is clean and
will only do the intended function (install a Windows service).  You
call this program in the following manner (often from a "post-install"
script in your installer):

<i>install service_name service_label executable</i>
&nbsp;&nbsp;&nbsp;service_name is the name used internally by the
Service Control Manager (SCM)
&nbsp;&nbsp;&nbsp;service_label is the name that appears in the Services applet
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(for multiple words, put them in double quotes)
&nbsp;&nbsp;&nbsp;executable is the full path to the EXE

example:
install.exe X_Bean_service "X Bean Service" C:\path\to\executable.exe

If you would like to pay me, my PayPal account is <irrationality@comcast.net>.

Thank you.
chris_reds
Subject: Re: How can I create a system service for Microsoft server 2003?
From: chris_reds-ga on 24 Feb 2005 20:39 PST
 
Whoops!  I guess HTML is not allowed. Here is a neater re-post.

I have a program available on my website that will allow you to
install an arbitrary binary as a system service in Windows.  The file
is available at

http://www.beefstew.net/downloads/install.ex_

I encourage you to virus scan the file, even though it is clean and
will only do the intended function (install a Windows service).  You
call this program in the following manner (often from a "post-install"
script in your installer):

<i>install service_name service_label executable</i>
   service_name is the name used internally by the Service Control Manager (SCM)
   service_label is the name that appears in the Services applet
      (for multiple words, put them in double quotes)
   executable is the full path to the EXE

example:
install.exe X_Bean_service "X Bean Service" C:\path\to\X_Bean_service.exe

If you would like to pay me, my PayPal account is
<irrationality_REMOVE_@comcast.net>.  Simply remove the _REMOVE_
portion, which I did to help avoid spam.

Thank you.
chris_reds
Subject: Re: How can I create a system service for Microsoft server 2003?
From: chris_reds-ga on 24 Feb 2005 20:41 PST
 
I forgot this very helpful link, as well.  Here you can learn more
about the internal workings of Windows services.

http://www.windowsitpro.com/Article/ArticleID/8723/8723.html

Take care.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy