From: SMTP%"dew@dcs.gla.ac.uk" 7-NOV-1997 17:20:27.10 To: "'Steve Weinrich'" , "'Timothy A. Johns'" , Josi Manuel Rodrmguez Porras , "ntfsd@atria.com" , "ntdev@atria.com" CC: Subj: RE: [ntdev] Re: [ntfsd] start service Return-Path: owner-ntfsd@atria.com Received: by arisia.gce.com (UCX V4.1-12C, OpenVMS V7.1 VAX); Fri, 7 Nov 1997 17:20:16 -0500 Received: by gw.atria.com id Fri, 7 Nov 1997 11:07:16 -0500 Received: from vanuata by gw.atria.com id Fri, 7 Nov 1997 11:07:11 -0500 Received: from flat by vanuata with SMTP (MMTA); Fri, 7 Nov 1997 16:06:34 +0000 Received: by localhost with Microsoft MAPI; Fri, 7 Nov 1997 16:06:24 -0000 Message-ID: <01BCEB97.1857AF40.dew@dcs.gla.ac.uk> From: Mark de Wit To: "'Steve Weinrich'" , "'Timothy A. Johns'" , Josi Manuel Rodrmguez Porras , "ntfsd@atria.com" , "ntdev@atria.com" Subject: RE: [ntdev] Re: [ntfsd] start service Date: Fri, 7 Nov 1997 16:06:22 -0000 X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-ntfsd@atria.com Precedence: bulk I'm glad that somebody mentioned this method... When I try to use NET START from my normal user account, I get system error 5: access denied (similar message from starting devices through Control Panel). Starting devices from my admin account works fine, though. Are there any special permissions a user needs to have to start/stop devices? This user has the right to install/remove device drivers. Mark On Friday, November 07, 1997 1:47 PM, Steve Weinrich [SMTP:Steve_Weinrich@keyvision.com] wrote: > You may also be looking for a command line function to do the same. > WinNT provides this functionality via the NET function. > > Try: > > NET START XXX > > and > > NET STOP XXX > > where XXX is the name of your registered service or device driver. > > BTW: The command NET START by itself will list all of the services > currently reporting 'started' on your system. > -smw > weinrich@keyvision.com > > > -----Original Message----- > > From: Timothy A. Johns [SMTP:johns@bluewatersystems.com] > > Sent: Thursday, November 06, 1997 1:36 PM > > To: Josi Manuel Rodrmguez Porras; ntfsd@atria.com; ntdev@atria.com > > Subject: [ntdev] Re: [ntfsd] start service > > > > Hello, > > > > See the Platform (or Win32) SDK documentation for OpenSCManager() and > > StartService(). > > > > -Tim > > > > Timothy A. Johns Check out our WinDK Development Library! > > BlueWater Systems, Inc. - http://www.bluewatersystems.com/ > > > > >How do you start a service from an User in NT4.0? > > > > > >Thanks. > > > > > > > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > [ To unsubscribe, send email to ntdev-request@atria.com with body > > UNSUBSCRIBE (the subject is ignored). ] > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > [ To unsubscribe, send email to ntdev-request@atria.com with body > UNSUBSCRIBE (the subject is ignored). ] Mark de Wit University of Glasgow Computing Science Department dew@dcs.gla.ac.uk http://www.dcs.gla.ac.uk/~dew Office phone: +44-(0)141-339 8855 ext. 8479 Wally: "stupidity is like nuclear power; it can be used for good or evil" Dilbert: "And you don't want to get any on you" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [ To unsubscribe, send email to ntfsd-request@atria.com with body UNSUBSCRIBE (the subject is ignored). ]