Send a message to PC on the same local network

Solved
thierry -  
 jfd -
Just like we can ping a hostname or its IP address to check if it responds, there is a way to send a small message in a window on the remote PC.
This is the command I need along with the syntax, thank you in advance.

12 réponses

nicolos
 
Hello,

The simplest solution is to install dedicated software on each PC in the network, which will avoid compatibility issues and registry configuration:

For those who absolutely want to rely on Windows mechanisms, on PCs running Windows 7 and above (Windows 10, Windows 8):
  • Press the Windows+R keys simultaneously, then type
    cmd
    and confirm with Ctrl+Shift+Enter to run as administrator
  • Then enter the following command:
    msg * /server:remote_machine_name_or_ip your_message 


On the receiving computer(s), set the AllowRemoteRPC value to 1 in the
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server
key.

On Windows versions older than Windows 7, the command is:
net send remotePCname message

The specified PC should receive the message (unless the Message Display service is disabled)

nicolos

PS: For more information
net send /help
or
msg /help
40
bea
 
Hello, how are you?
5
bea
 
Hi, yes and you?
3