Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Send message to another Computer through Network via CmdLine

In Windows XP, we had net send. The replacement is supposed to be a command line utility called msg.

However when I try to test this using the following command:

11:19:50.94>msg abhi /SERVER:LT2400 Hello

I get this error.

Error 5 getting session names

Some information: I am logged onto two computers on the same network. LT2400 is the computer I am sending a message to. Both are running windows 7 professional 32 bit. abhi is my logon name on both computers.

share|improve this question

marked as duplicate by Sam Dec 30 '11 at 16:37

This question was marked as an exact duplicate of an existing question.

I'm pretty sure in order to send a message using net send or similar, the group of computer has to be in the same domain or it won't work.

share|improve this answer

Apparently this only works on Windows Vista or later if the receiving computer is configured as a terminal server. The workaround is to find (on the receiving PC) the reg key:

HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server

and set AllowRemoteRDC to be 1.

share|improve this answer
That's interesting, but this is the office network and I don't have access to change certain settings in the registry. :) – abhi Dec 30 '11 at 16:44
Then maybe the sysadmin doesn't want you sending messages to other desktops on his network? – growse Dec 30 '11 at 16:47

Not the answer you're looking for? Browse other questions tagged or ask your own question.