Send message to another Computer through Network via CmdLine

6,337

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:
6,337

Related videos on Youtube

andreaspfr
Author by

andreaspfr

Updated on September 18, 2022

Comments

  • andreaspfr
    andreaspfr almost 2 years

    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

    • andreaspfr
      andreaspfr over 12 years
      I tried that and It also did not work
  • andreaspfr
    andreaspfr over 12 years
    I'm still getting the error message "Error 5 getting session names"
  • Dave Cousineau
    Dave Cousineau about 8 years
    even msg * /server:thepc doesn't work for me, unless I target my own workstation