Get the Win2K Resource Kit. Inside the "scrpting.cab" file, you will find a
file called "xnet.exe"

This will do what you are looking to do. It also comes with a very helpful
"how-to" included in "xnet.txt"

For what you are looking to do, here's the "how-to":

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
5 modifying a service.
----------------------------------------------------------------------------
-
XNET MODIFY [[\\Server\]ServiceName] [/u:User] [/p:Password] [/b:Binary]
             [/d:Dependencies] [/l:LoadOrderGroup] [/n:DisplayName]

ServiceName    - name of service, optionally preceded by name of remote
                 machine (eg : \\REMOTE\MSSQLServer).
User           - name of (domain) user account to assign to service. Specify
                 'LocalSystem' to assign system account.
Password       - Password for service.
Binary         - Name of executable.
Dependencies   - Dependencies of service.
LoadOrderGroup - LoadOrderGroup of service.
DisplayName    - 'Long' name of service (aka DisplayName).
Interactive    - specify Yes or No to allow service to interact with
desktop.
StartType      - indicates when a service will be started. Possible values
                 are 'AUTO' (started at system startup), 'DEMAND' (started
                 at user request) and 'DISABLED'.

Example : XNET MODIFY \\HOUND\MyService /u:SE\User1 /p:NewPass
          XNET MODIFY \\HOUND\MyService /u:LocalSystem
          XNET MODIFY MyService /n:FancyName
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

HTH
Deji

----- Original Message -----
From: "Steve Rollings" <[EMAIL PROTECTED]>
To: "Exchange Discussions" <[EMAIL PROTECTED]>
Sent: Saturday, December 28, 2002 4:03 PM
Subject: RE: Setting Exchange Services to Manual using commanline switches


Open the subkey corresponding to the service you wish to change, and modify
the value of 'Start' to equal either "2" (for automatic), "3" (for manual)
or "4" (for disabled)

http://www.winguides.com/registry/display.php/198/

:)
4

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Daniel Chenault
Sent: Friday, December 27, 2002 9:15 PM
To: Exchange Discussions
Subject: Re: Setting Exchange Services to Manual using commanline
switches


Or a .REG file imported. Can't remember off the top of my head what the
numbers are to represent disabled, manual and automatic but a little
experimenting and poling will reveal them.

----- Original Message -----
From: "Brian Ko" <[EMAIL PROTECTED]>
To: "Exchange Discussions" <[EMAIL PROTECTED]>
Sent: Friday, December 27, 2002 2:13 PM
Subject: Setting Exchange Services to Manual using commanline switches


> Hello!
>
> Does anyone know how to change Exchange Services to manual from
> Automatic via Command Line switches?  Is it possible?  I have been
> looking for this answer for a while, but I have not been able to find
> it.
>
> Thanks in advance,
>
> Brian
>
>
> _________________________________________________________________
> List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
> Archives:               http://www.swynk.com/sitesearch/search.asp
> To unsubscribe:         mailto:[EMAIL PROTECTED]
> Exchange List admin:    [EMAIL PROTECTED]
>



_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Archives:               http://www.swynk.com/sitesearch/search.asp
To unsubscribe:         mailto:[EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]

_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Archives:               http://www.swynk.com/sitesearch/search.asp
To unsubscribe:         mailto:[EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]


_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Archives:               http://www.swynk.com/sitesearch/search.asp
To unsubscribe:         mailto:[EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]

Reply via email to