How to broadcast a shutdown message (Command Prompt)

SQL Server Setup Help

SQL Server Setup Help

How to broadcast a shutdown message (Command Prompt)

To broadcast a shutdown message

  • From a command prompt, enter:

    net send /users "message"

    For example:

    net send /users "SQL Server is going down in 20 minutes. 
    Disconnect within 15 minutes."
    

    Note  The shutdown message can be broadcast only if an instance of Microsoft® SQL Server™ is running on Microsoft Windows NT® 4.0 or Windows® 2000. The users option specifies that the message be sent to all users connected to the server. For information about other net send options, see the Windows NT 4.0 and Windows 2000 documentation.

See Also

Stopping SQL Server