Net stop

Stops a running service.

Syntax

net stop service

Parameters

service   : Stops the specified service. The following table lists values for service.

Value

Description

Remarks

alerter

Stops the Alerter service.

  • Stop the Alerter service that sends alert messages to specified users that are connected to the server computer. Alert messages warn users about security, access, and user session problems.

  • Use Server Manager (that is, systemroot\System32\Srvmgr.exe) to specify the administrators who you want to receive administrative alerts. Server Manager is available on Windows 2000 Server computers only.

  • Alert messages are sent as messages from the server to a user's computer. The Messenger service must be running on the user's computer for the user to receive alert messages.

browser

Stops the Computer Browser service.

  • The Computer Browser service maintains an up-to-date list of computers on your network and supplies the list to programs that request it.

"client service for netware"

Stops the Client Service for NetWare service.

  • This command is available only if you have installed Client Service for NetWare.

clipbook

Stops the ClipBook service.

  • ClipBook permits you to cut and paste text and graphics over the network.

  • The ClipBook service supports ClipBook Viewer, which allows pages to be seen by remote ClipBooks.

dhcp client

You cannot stop or pause the DHCP Client service.

  • The DHCP Client service manages network configuration by registering and updating IP addresses and DNS names. The DHCP Client service supports obtaining an IP address from the DHCP service.

file replication

Starts the File Replication service.

 

messenger

Stops the Messenger service.

  • The Messenger service enables a computer to receive messages.

  • A message is sent to a computer using the names assigned to the computer as identification.

netlogon

Stops the Net Logon service.

  • The Net Logon service verifies logon requests and controls domain-wide replication of the user accounts database.

  • Stop the Net Logon service on all the servers in a domain that use a copy of the domain's user accounts database.

"nt lm security support provider"

Stops the NT LM Security Support Provider service.

  • This command is available only if you have installed the NT LM Security Support Provider.

"remote access connection manager"

Stops the Remote Access Connection Manager service.

  • This command is available only if you have installed the Remote Access Service.

"routing and remote access"

Stops the Routing and Remote Access service.

 

rpclocator

Stops the Remote Procedure Call (RPC) Locator service.

  • Allows distributed applications to use the Microsoft RPC name service.

  • The Remote Procedure Call (RPC) Locator service is the RPC name service for Microsoft Windows XP. The RPC Locator manages the RPC name service database.

  • The server side of the distributed application registers its availability with the RPC Locator service. The client side of the distributed application queries the RPC Locator service to find available compatible server applications.

schedule

Stops the Task Scheduler service.

  • With Task Scheduler, you can start programs at a specified time with the at command. You might need to have other services running before you can run scheduled commands.

  • Task Scheduler is initially configured to run in the System account on the local computer. When Task Scheduler runs using this account, there are no restrictions on the jobs that you can run with Task Scheduler. However, these jobs have limited network access because the System account on a local computer is not recognized by other computers.

  • To overcome network access limitations, you can configure Task Scheduler to run in a user's account. If you do this, jobs executed by Task Schedule are governed by the user account's network access. However, because Task Scheduler is not using the local System account in this case, you can only run jobs that do not require the presence of a window.

server

Stops the Server service.

  • You can use the Server service to share server resources with users on the network.

spooler

Stops the Print Spooler service.

  • The Print Spooler service loads files to memory for printing.

"tcp/ip netbios helper"

Stops the NetBIOS helper over TCP service, which enables NetBIOS over TCP/IP (NetBT) services.

  • NetBT services provide NetBIOS data grams, NetBIOS sessions, and NetBIOS name management (such as name registration and resolution) for NetBIOS applications that are using the TCP/IP protocol.

  • This command is available only if the Internet Protocol (TCP/IP) protocol is installed as a component in the properties of a network adapter in Network Connections

ups

Stops the Uninterruptible Power Supply service.

  • The Uninterruptible Power Supply service manages an uninterruptible power supply (UPS) connected to the computer.

  • You can configure the Uninterruptible Power Supply service by using Power Options in Control Panel. If you configure the Uninterruptible Power Supply service to execute a command file upon shutdown the command file must finish running in 30 seconds. A run time that is greater than 30 seconds threatens the capability of graceful system shutdown completing successfully.

workstation

Stops the Workstation service.

  • The Workstation service enables a computer to connect to and use network resources.

net help   command   : Displays help for the specified net command.

Remarks

  • 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 Net stop

  • 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.

Examples

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"

Formatting legend

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

Command-line reference A-Z

Net services overview

Net start

Net pause

Net continue

Net send