From owner-freebsd-chat Wed Jul 31 10:53:07 1996 Return-Path: owner-chat Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA13222 for chat-outgoing; Wed, 31 Jul 1996 10:53:07 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id KAA13191; Wed, 31 Jul 1996 10:53:00 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id KAA02396; Wed, 31 Jul 1996 10:51:54 -0700 From: Terry Lambert Message-Id: <199607311751.KAA02396@phaeton.artisoft.com> Subject: Re: Opinions? NT VS UNIX, NT SUCKS SOMETIMES To: craig@ProGroup.COM (Craig Shaver) Date: Wed, 31 Jul 1996 10:51:54 -0700 (MST) Cc: freebsd-chat@FreeBSD.ORG, current@FreeBSD.ORG In-Reply-To: <199607192240.PAA06649@seabass.progroup.com> from "Craig Shaver" at Jul 19, 96 03:40:44 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-chat@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > The NT's sat there and refused to run anything until > some user logged in! Apparently there is no way to have a program > automatically run unless you log in and then you have something in that > little "start" window. Nice design for a *server*! I guess if someone > uses NT for a server and the power goes down in the middle of the night, > then *someone* will have to be there to log in and start all of the server > processes. (snort, snicker, guffaw, ;^) In the registry: My Computer\ HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows\ CurrentVersion\ RunServices Edit New -> String Value MyAgent "C:\path_to_my-agent.exe" Will start a program each time the NT system starts. It's a bit more flexible than editing /etc/rc* on BSD. Registering the service so that the program is not killed by the first logoff is left as an exercise for the student. 8^). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.