Re: Remote services start/stop

Dale E. Reed Jr. ( (no email) )
Fri, 20 Mar 1998 10:13:08 -0800

Steve Patches wrote:
>
> I've tried it from both an NT Workstation and an NT Server, but I get
> the following
>
> C:\>net stop \\vulcan "Microsoft Exchange Internet Mail Service"
> The syntax of this command is:
>
> NET STOP service

Get netsvc from the NT Resource kit:

C:\>netsvc
Controls and displays the status of services.

NETSVC servicename \\computername /command

servicename Name of the service
computername Name of the computer to administer.
/command One of the following:
/query Queries the status of the service.
/start Starts the service.
/stop Stops the service.
/pause Pauses the service.
/continue Starts the paused service.
/list Lists installed services (omit servicename)

Example: NETSVC server \\joes486 /query
Example: NETSVC "Clipbook Server" \\popcorn /stop
Example: NETSVC alerter \\joes486 /pause
Example: NETSVC /list \\joes486

Arguments are allowed in any order.

-- Dale E. Reed Jr.  (daler@iea-software.com)_________________________________________________________________       IEA Software, Inc.      |  RadiusNT, Emerald, and NT FAQs Internet Solutions for Today  |   http://www.iea-software.com