Sie sind auf Seite 1von 1

NETSVC.

exe (Resource Kit)


Command-line Service Controller. Start, Stop and Query services, but does not cover creating
or deleting them. Although part of the Win 2K resource kit - this command runs fine under NT 4.
syntax

NETSVC \\server command servicename

key
server

: The workstation or server where the service is running

servicename : The Name of the service, unlike the SC command this will
accept either the DisplayName or the service name
commands:
/list
/query
/start
/stop
/pause
/continue

Lists installed services. Omit servicename with this command.


Query the status of a service.
Start the specified service.
Stop the specified service.
Pause the specified service.
Restart a paused service.

Arguments can be specified in any order:


NETSVC /query \\Server299 "DHCP Client"
NETSVC "DHCP Client" \\Server299 /query

Related Commands:
SC - Service Control - Create, Create remotely, Start, Stop, Query, Delete.
NET - manage network resources
SCLIST - Display NT Services
INSTSRV - Install an NT service (run under a specific account)
DELSRV - Delete NT service
START /HIGH - Start a specified program or command.
Svcmon - Monitor services and raise an alert if they stop. (Win 2K ResKit)
Q166819 - Control Services Remotely
Equivalent Linux BASH commands:

Das könnte Ihnen auch gefallen