2.17. START
Use this mode to start a
service. You can also perform this task using the Services console
located in the Administrative Tools folder of the Control Panel. Using Net Start alone displays a list of the services that are currently active on the local machine. This mode uses the following syntax:
NET START [service]
The following describes the command line argument.
service
Specifies the
name of the service to start. Always enclose services that contain a
space in their name in quotes. The following list contains typical
service names.
2.18. STATISTICS
The STATISTICS mode
displays the service statistics for the local workstation or Server
service. When used alone, the mode displays the services for which you
can obtain statistics. This mode uses the following syntax:
NET STATISTICS [WORKSTATION | SERVER]
The following list describes each of the command line arguments.
SERVER
Displays the
Server service statistics, which include sessions accepted, sessions
timed out, sessions errored out, kilobytes sent, kilobytes received,
mean response time (msec), system errors, permission violations,
password violations, files accessed, communication devices accessed,
print jobs spooled, and times buffers exhausted (both big buffers and
request buffers).
WORKSTATION
Displays the
Workstation service statistics, which include bytes received, Server
Message Blocks (SMBs) received, bytes transmitted, SMBs transmitted,
read operations, write operations, raw reads denied, raw writes denied,
network errors, connections made, reconnections made, server
disconnects, sessions started, hung sessions, failed sessions, failed
operations, use count, and failed use count.
2.19. STOP
Use this mode to stop
a service that you started using the NET START mode or the Services
console located in the Administrative Tools folder of the Control Panel.
This mode uses the following syntax:
NET STOP service
The following describes the command line argument.
service
Specifies the
name of the service to stop. Always enclose services that contain a
space in their name in quotes. The following list contains typical
service names.
You can't stop some
services. The Net utility displays an error when you try to stop some
services. Here's a list of common unstoppable services.
DCOM Server Process Launcher
Event Log
Plug and Play
Remote Procedure Call (RPC)
Security Accounts Manager
2.20. TIME
Use the TIME mode to
access a time service. The essential task of this mode is to synchronize
the local computer with a timeserver. While the W32Tm utility interacts with the timeserver (and even creates
it), the TIME mode interacts with the client and uses the timeserver as
a resource. Read the Microsoft Knowledge Base article at http://support.microsoft.com/kb/q224799/ for additional Windows time service information. This mode uses the following syntax:
NET TIME [\\computername | /DOMAIN[:domainname]
| /RTSDOMAIN[:domainname]] [/SET] [\\computername] /QUERYSNTP
[\\computername] /SETSNTP[:ntp server list]
The following list describes each of the command line arguments.
\\computername
Specifies the name of the computer to check or use for synchronization.
/DOMAIN[:
domainname]Specifies the domain of the PDC to use for synchronization purposes. The default is the client's current domain.
/RTSDOMAIN[:
domainname]Specifies the domain
of the Reliable Time Server (RTS) to use for synchronization purposes.
The default is the client's current domain.
/SET
Synchronizes the
specified system's time (the default is the local system) with the time
on the configured time source (a specific computer or domain).
/QUERYSNTP
Displays the currently configured National Time Protocol (NTP) server for this computer.
/SETSNTP[:
ntp server list]Sets
the NTP timeservers that this computer relies on for synchronization.
You may specify more than one server using IP addresses or DNS names
separated by spaces. When working with multiple timeservers, you must
surround the entire command line switch with quotes. Three common
servers include tick.usno.navy.mil, tock.usno.navy.mil, and ntp2.usno.navy.mil.