Stops a running service.
net stop service
service : Stops the specified service. The following table lists values for service.
| Value | Description | Remarks | ||||||
alerter | Stops the Alerter service. |
| ||||||
browser | Stops the Computer Browser service. |
| ||||||
"client service for netware" | Stops the Client Service for NetWare service. |
| ||||||
clipbook | Stops the ClipBook service. |
| ||||||
dhcp client | You cannot stop or pause the DHCP Client service. |
| ||||||
file replication | Starts the File Replication service. |
| ||||||
messenger | Stops the Messenger service. |
| ||||||
netlogon | Stops the Net Logon service. |
| ||||||
"nt lm security support provider" | Stops the NT LM Security Support Provider service. |
| ||||||
"remote access connection manager" | Stops the Remote Access Connection Manager service. |
| ||||||
"routing and remote access" | Stops the Routing and Remote Access service. |
| ||||||
rpclocator | Stops the Remote Procedure Call (RPC) Locator service. |
| ||||||
schedule | Stops the Task Scheduler service. |
| ||||||
server | Stops the Server service. |
| ||||||
spooler | Stops the Print Spooler service. |
| ||||||
"tcp/ip netbios helper" | Stops the NetBIOS helper over TCP service, which enables NetBIOS over TCP/IP (NetBT) services. |
| ||||||
ups | Stops the Uninterruptible Power Supply service. |
| ||||||
workstation | Stops the Workstation service. |
|
net help command : Displays help for the specified net command.
| • | The set of services and applications you see might vary depending on the options you selected during installation or configuration. |
| • | For more information about services, see Microsoft Windows Resource Kits |
| • | Some services are dependent on other services. |
| • | Use net stop to stop a service and remove the software from memory. |
| • | Stopping the Server service prevents users from gaining access to the computer's shared resources. If you stop the Server service when users are using server resources, a warning message appears. A y (that is, yes) response cancels all connections to the computer. Before you stop the Server service, do the following: |
| • | Use net pause to pause the service, which prevents new connections. |
| • | Use net send to send a message that advises users to disconnect from the server resources. |
| • | If a service name contains spaces, use quotation marks around the text (for example, "Service Name"). |
| • | Net stop can also stop services not provided with Windows XP. |
The following command stops the Server service:
net stop server
Enclose service names with two or more words in quotation marks. For example, the following command stops the Client Service for Netware service:
net stop "client service for netware"
| Format | Meaning |
Italic | Information that the user must supply |
Bold | Elements that the user must type exactly as shown |
Ellipsis (...) | Parameter that can be repeated several times in a command line |
Between brackets ([]) | Optional items |
Between braces ({}); choices separated by pipe (|). Example: {even|odd} | Set of choices from which the user must choose only one |
Courier font | Code or program output |