0% found this document useful (0 votes)
175 views

NETSVC Command

NETSVC.exe is a command-line tool that allows starting, stopping, and querying services running on remote servers or workstations, though it does not enable creating or deleting services. It provides functionality similar to the SC command but can accept either the display name or service name of a service. Key arguments include the server name and service name, and commands include listing, querying, starting, stopping, pausing, and continuing services. Related commands for managing services include SC, NET, SCLIST, INSTSRV, DELSRV, and START.

Uploaded by

Q Z
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
175 views

NETSVC Command

NETSVC.exe is a command-line tool that allows starting, stopping, and querying services running on remote servers or workstations, though it does not enable creating or deleting services. It provides functionality similar to the SC command but can accept either the display name or service name of a service. Key arguments include the server name and service name, and commands include listing, querying, starting, stopping, pausing, and continuing services. Related commands for managing services include SC, NET, SCLIST, INSTSRV, DELSRV, and START.

Uploaded by

Q Z
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 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:

You might also like