Managed Terminal Services::SendSessionMessage

The method sends the specified message to the specified Terminal Services session on the specified server. This may be used to notify users of server events (for example, reboot) that will affect their sessions. .

The method can send messages only to interactive user sessions (those with sessions ID less than 65536).

 Sample Code
 Applies To
 See Also