net pause


net pause

Pause a service.

Syntax

 net pause   service   

Options

service

The service to pause

Examples

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. 

Notes

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

    Server service

    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.

    Workstation service

    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.

    Netlogon service

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

See Also

net continue , net send , net start , net stop , Services



Windows Server 2003 in a Nutshell
Windows Server 2003 in a Nutshell
ISBN: 0596004044
EAN: 2147483647
Year: 2003
Pages: 415
Authors: Mitch Tulloch

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net