Windows MSG command: syntax, examples and required permissions
To alert someone signed in to a session host, find their session ID and run msg.exe from an authorised account.
Send a message to a test session
- From the command prompt, list the sessions on your server. Replace RDS01 with its name.
query session /server:RDS01 - Find the connected test session. If its ID is 3, display a message for 60 seconds.
msg 3 /server:RDS01 /time:60 "Test IT" - Check with the recipient that it arrived. If access is denied, have the Message permission on the host checked. If the session cannot be found, check the server and reread the list of active sessions.
Microsoft’s MSG command reference
Choosing a Net Send alternative for a group of PCs · Preparing maintenance messages
When should you use a graphical interface instead of MSG.exe?
MSG is still fine for a one-off message to an active session on an RDS host, with the required send permission. For a support team that regularly needs to alert a group of PCs, a graphical console lets you choose recipients in Active Directory and prepare templates.
Install the agent on two pilot PCs, then open the dMessage console on an authorised PC. Select only the first PC, request a receipt and have the notice read. The second PC acts as a control. Test this sequence before replacing your current MSG usage.
The limits of MSG in a corporate environment
For a one-off exchange between two PCs, MSG may be enough. As soon as you need to alert an estate across an organisation, its technical and operational constraints become deal-breakers.
What dMessage does where MSG reaches its limits
When an incident strikes, the challenge is no longer sending a message but making sure it was received, by whom and when. On the four specific points where MSG falls short, here is how dMessage works.
Adopted by the most demanding organisations
Where unread information is not an option, dMessage delivers vital alerts across the whole estate within seconds.
Healthcare
Several French university hospitals trigger their major incident plans (Plan Blanc, ORSAN) across every department within seconds, without relying on email.
Industry
A French manufacturer with 18,000+ PCs, deployed via SCCM, handles its industrial emergencies and cyber incidents on a sovereign channel.
Public sector & finance
National public institutions and asset managers rely on dMessage for their critical internal communications.
Frequently asked questions
Protect your teams today
Stop entrusting vital alerts to an overloaded email system. Take back full control of your sensitive information flows with on-premises technology. Never miss critical information again.
Request your demo Explore the featuresSovereign deployment. No complex technical commitment.