Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

I would like to send from a server ( Windows 2008 R2) a pop up message to another Computer in the Network (Windows 7). I already enable AllowRemoteRPC in the registry of my Windows 7 system. This cmd works if I send a message from my Windows 2008 R2 Server to another Windows 2003 Server:

msg /server:vcs.view.local user1 test

or even the other way round

msg /server: user2 test

by the time I want to send a message to the Win7 sytem I got this exception: "Error 5 getting session names" Pinging to the Win7 IP works fine

share|improve this question
Did you open the command prompt window using "Run as Administrator"? This can make a difference even if you are logged in with administrative credentials (but not the local administrator account) on Server 2008 and above. – Top__Hat Nov 14 '11 at 14:40
I tried that and It also did not work – andreaspfr Nov 22 '11 at 9:42

Try sending the message to both the users pc AND the users username at the same time. For instance(from the server 2008 box):

msg /server:thepc theuser "This is a test"
share|improve this answer
I'm still getting the error message "Error 5 getting session names" – andreaspfr Nov 22 '11 at 9:44
even msg * /server:thepc doesn't work for me, unless I target my own workstation – Sahuagin Mar 31 at 16:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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