INFORMATICS

The Best

Send a message to users RDP’d to server

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

 

There is a utility in Windows called MSG . It is a utility to send a message to a user that’s currently logged onto a system.

To send a message to a remote server, from the terminal:

$> msg * /server:SERVER_NAME /time:30 /v "please finish working in the system"

 

  • * : I’m sending the message to all sessions
  • /server: The name of the server I’m sending the message to.
  • /time:30 : I’m giving the users 30 seconds to acknowledge the message. If no time is listed, the message will stay on the screen until the users click OK.
  • /v : verbose
  • The message to the users should be in quotes

Search