2

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:20.1.1.30 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

2 Answers2

1

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"
GregD
  • 8,753
0

Error 5 getting session names tends to be a permission based issue that occurs when you can't create an RPC session with the remote computer.

I would check to make sure the RPC is running on the remote computer just to be certain.