net pause |
Pause a service.
net pause service
The service to pause
Pause the Server service:
net pause server The Server service was paused successfully.
Restart (continue) the paused Server service:
net continue server The Server service was continued successfully.
Services whose names have embedded spaces must be enclosed in quotes:
net pause "Net Logon"
If a service is paused, users previously connected to resources managed by the service remain connected. The same isn't true of stopping a service, which forcibly disconnects users from resources. However, not all services can be paused (e.g., the Remote Procedure Call service), and the effect of pausing a service depends on the service involved. For example:
Pausing this service prevents users from forming new connections to shared resources on the server (existing connections are unaffected). Administrators can still connect to the server even if the Server service is paused.
Pausing this service has no effect on the user's logon session and network connections. However, if the user tries to print to a network printer, the request will be redirected to a local printer.
Pausing this service prevents the affected computer from processing logon requests .
You should pause services on a server before stopping them. This gives the user time to save work and disconnect from resources. After pausing a service, send connected users a message indicating that you will soon be stopping it and that they should save their work (see net send later in this chapter).
net continue , net send , net start , net stop , Services