Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

starting an application as a NT service

0 views
Skip to first unread message

jnchew

unread,
Mar 26, 1998, 3:00:00 AM3/26/98
to

I've an application that i wanted to start once my server boot. Currently, i
added the application to the Administrator "startup". As such, each day, i
need to login as administrator to get it started, how can i install it as a
NT service so that it will re-start when NT reboots.

Aaron Blosser

unread,
Mar 26, 1998, 3:00:00 AM3/26/98
to

jnchew wrote in message <6fdjdv$b33$1...@newton.pacific.net.sg>...


You can use the SRVANY program in the resource kit, and it works pretty
good. However...

When a user logs on, and then logs off, the running application will receive
the logoff announcement and most programs will shut down when the receive
this. Your program is not running anymore until the computer restarts, or
the service is manually started again.

This question came up before and the author of a program called Service+ let
us know about his solution.

Basically it works like SRVANY where you have this Service-It program start
your service, although it's a lot easier to configure your service since you
don't have to go into the registry and add stuff, like with SRVANY. You can
have it restart your service every now and then so if a user logs on and off
causing your program to exit, it'll start again eventually.

When I was reading the manual, it *seemed* to me that it would
*automatically* restart your service if a user logs off and the program
exits, but during my testing (with Compaq's Insight Manager) that wasn't the
case. I set it to restart every 30 minutes, so if I logoff, Insight Manager
will exit, but start up again in no more than 30 minutes.

Here's the author's info and www address...

E-mail: in...@activeplus.com
Home page: http://www.activeplus.com

It's a 45 day trial-ware and if my company approves, I'll be sending in my
money...well worth it (though I'd like an "auto-restart" feature when a user
logs off :-)


David Banish

unread,
Mar 27, 1998, 3:00:00 AM3/27/98
to

The resource kit has a utility, but it imposes a lot of restrictions. if
you are not worried about security you could use AUTOLOG.EXE from the
resource kit.

jnchew <jnc...@pacific.net.sg> wrote in article

0 new messages