Zoomed Image

Send Message to User

Endpoint Management Guide

Fix a Computer

Send Message to User

Send Message to User shows a message box to everyone signed in to the selected computers. The agent runs msg.exe * /TIME:300 with your text. The message closes by itself after 5 minutes.

Endpoints > Endpoint List > select one or more computers > Change > Power and User > Send Message to User. The same action is also at the end of the Connect menu.

The dialog

The dialog title is Send Message to User.

Field What it does Default
Computer Names The computers to send the message to The selected computers
Message The text to show Blank. Required

Worked example: before a restart, send "Your computer restarts at 12:30 to finish updates. Please save your work." to the computers. Then use Change > Power and User > Restart. See Restart and Shut Down.

Send Message to User dialog with DEVDC in Computers and an empty Message box

After you click Yes

The message reads "Sent to the selected computers." and asks "Do you want to follow it now?". Yes opens Endpoints > Endpoints Dashboard > Activity. See Following a run.

A computer reports Applied when msg.exe has sent the message. The run does not show whether anyone read it.

Approval

Your own text is a High-impact action, so an approver approves each send.

Template messages

Send Template Message to User shows a message the approvers approved in advance. No approval is asked for each send.

  1. Add the template in the Script Library with the language message. Write {when} where a value goes, for example "Your computer restarts at . Please save your work."
  2. The approvers approve it as they approve a script.
  3. Use Change > Power and User > Send Template Message to User. Give the template's name and the values, for example when=22:00.

Each value is plain text of up to 80 characters. A template or a value with a link, a web address or a program name is refused. Each computer shows at most 3 template messages a day: the Template messages per computer per day setting (DMPCMessageUsersPerDay). Every send is a finding, and the approvers get a daily list of the template messages sent.

Undo

Cannot be undone. A message cannot be recalled.

Key points

  • Message User runs with or without the agent. See Agent and Agentless.
  • The message goes to every session on the computer, including Remote Desktop sessions on a server.
  • A computer with nobody signed in has no session to show the message in. msg.exe can return an error there, and the run then shows a failure for that computer.
  • msg.exe is part of Windows Pro, Enterprise and Server editions. A Home edition computer fails the run.