Can we send message from Computer1 to Computer2 connected with LAN ?
-
Monday, December 31, 2012 6:16 AM
Full computer Name:
Computer1 - ASHISH_SERVER
Computer2 - ASHISH_NODE
via Dos command: MSG (Window XP SP2)
**********************************
Can we send message from Computer1 to Computer2 connected with LAN ?
MSG * /SERVER:ASHISH_NODE [message]
***********************************
If wrong syntax - Please correct this.
All Replies
-
Monday, December 31, 2012 6:52 AM
Hi,
Type following command
Msg * /server:pc-name AnyMessage
If you received an error message “Error 5 getting message names” then fix it with following steps:
If you have any problems or receive an "access denied" error or "Error 5 getting session names" error while you trying to use msg.exe, try the following steps to fix the problem with msg command:
1. Open the Registry Editor ( regedit.exe ).
2. In the left panel, locate and then click on the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server
3. In the right panel, find the key AllowRemoteRPC and be sure the value of the key is 1. If the value is not 1, change it to 1.
4. Close Registry Editor and restart your computer.
MD Disclaimer: The opinion expressed herein are my own knowledge. Deploy this at your own risk. Whenever you see a helpful reply, just click on “Propose As Answer”
- Marked As Answer by Jeremy_WuMicrosoft Contingent Staff, Moderator Sunday, January 06, 2013 2:14 PM
-
Thursday, January 03, 2013 3:27 AMModerator
Hi,
To add, we can also use Net send in Windows XP machines.
Net sendhttp://technet.microsoft.com/en-us/library/bb490710.aspx
In addition, the following two scripts might help:
Send-NetMessage - Net Send / Msg.exeSend a Message to a Specified IP Address
More information:
Msghttp://technet.microsoft.com/en-us/library/cc771903(v=ws.10).aspx
Hope this helps.
Jeremy Wu
TechNet Community Support- Marked As Answer by Jeremy_WuMicrosoft Contingent Staff, Moderator Sunday, January 06, 2013 2:14 PM
-
Thursday, January 03, 2013 6:51 AM
Here is a good website which show how to use msg command to send the messages on the LAN
http://www.cezeo.com/tips-and-tricks/msg-command/
http://www.arabitpro.com
- Proposed As Answer by i.biswajith Thursday, January 03, 2013 7:48 AM
- Marked As Answer by Jeremy_WuMicrosoft Contingent Staff, Moderator Sunday, January 06, 2013 2:15 PM
-
Thursday, January 03, 2013 7:46 AM
Hi,
Yes syntax is correct
MSG * /SERVER:ASHISH_NODE [message]
You can also send message like this
msg User1 Let's meet at 4PM today
msg /server:<ServerName>
Specifies the RD Session Host server whose session or user you want to receive the message. If unspecified, /server uses the server to which you are currently logged on
Please help and appreciate others by using these features: "Propose As Answer", "Vote As Helpful" and "Mark As Answer"
Waqas
MS(SPM), MS(E&F), MCP, MCT, MCTS, MCITP, MCSE, MCPD, MCSD, MCDBA , Author
Twitter: @waqas8777
Linked In: http://www.linkedin.com/in/waqasm1 -
Thursday, January 03, 2013 7:49 AMalso you can use net send
Best regards Biswajit Biswas Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. MCP 2003,MCSA 2003, MCSA:M 2003, CCNA, MCTS, Enterprise Admin
-
Thursday, January 03, 2013 11:21 AM
Full computer Name:
Computer1 - ASHISH_SERVER
Computer2 - ASHISH_NODE
******************************************
I write Code from Computer1 -
c:\MSG * /SERVER:ASHISH_NODE Any Message
Error opening Terminal server ASHISH_NODE
Error [5]:Access is denied.
******************************************
I follow Mubasshir Dadarkar suggestion:
But, the key AllowRemoteRPC not Exist in Registry Edit.
********************
How to solve this problems.
-
Thursday, January 03, 2013 11:27 AM
Hi,
If AllowRemoteRPC not exist then create it (before creation take your registry backup for safe side) on any machine where you want to send message. if you want to deploy on all the machines then apply same process through GPO.
Regards,
MD Disclaimer: The opinion expressed herein are my own knowledge. Deploy this at your own risk. Whenever you see a helpful reply, just click on “Propose As Answer” / “Marked As Answer” and do "VOTE".
- Marked As Answer by Jeremy_WuMicrosoft Contingent Staff, Moderator Sunday, January 06, 2013 2:15 PM
-
Thursday, January 03, 2013 11:58 AM
Try the command with the same syntax with the elevated permissons using the command prompt
to use the elevated permissons right click the cmd.exe shortcut and click run as administrator.
http://www.arabitpro.com
- Marked As Answer by Jeremy_WuMicrosoft Contingent Staff, Moderator Sunday, January 06, 2013 2:15 PM


