Pauses services that are currently running.
net pause service
service : Required. Specifies the service that you want to suspend. The following table lists some of the values for service.
| Value | Description |
netlogon | Suspends the Net Logon service. |
"nt lm security support provider" | Suspends the NT LM Security Support Provider service. |
schedule | Suspends the Task Scheduler service. |
server | Suspends the Server service. |
workstation | Suspends the Workstation service. |
net help command : Displays help for the specified net command.
| • | On a server, use net pause before you stop a service to let users complete jobs or disconnect from resources. Pausing a service puts it on hold, but it does not remove the software from memory. Users who already have a connection to the resource are able to finish their tasks, but new connections to the resource are prevented. If you plan to stop a service that affects shared resources, pause the service first. Use net send to broadcast a message that you are going to stop the service. After providing people with sufficient time to finish using the resource, use net stop to stop the service. To reactivate a paused service, use net continue. | ||||||
| • | You cannot pause all services. Pausing affects services in the following ways:
| ||||||
| • | If a service name contains spaces, use quotation marks around the text (for example, "Service Name"). |
To pause the Server service, type:
net pause server
If the service name consists of two or more words, you must enclose the service name in quotation marks. For example, to pause the "NT LM Security Support Provider" service, type:
net pause "nt lm security support provider"
| 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 |