Send Messages to Other PCs over LAN on Windows

Long since I’ve posted any PC tips, so here we go. This post will introduce you to the net send and msg.exe and tell you how to use it to send messages to other PCs which are connected to your LAN. :)

The net send command works for most of the versions of Windows upto Windows XP SP 2. Due to the use of the command for spamming over the WWW, this command was replaced by msg.exe in Windows Vista and Windows 7.

First let’s see how it works on the versions of Windows upto XP SP2

It’s really easy, all you need to do is follow these steps:

  1. Run command prompt (Windows Logo Key + R, then type “cmd.exe”).

    Running Command Prompt
    Running Command Prompt
  2. Type net send x “Your message goes in here between in quotes”, in this command, replace the “x” with the username of the PC on your LAN to which you want the message to be sent. And hit Enter.

    How to use Net Send command
    How to use Net Send command

    If the user is on-line, your message will be sent or else an error message would appear.

  3. You can also send messages to ALL THE PCs connected to your LAN at ONCE! To do that just type this command: net send * “Your message here!”
  4. The star(*) in the above command tells cmd to send the message to all the PCs which are connected to your LAN rather than specifying one (including your PC also) :D

On Windows Vista and Windows 7

It’s the same thing as above, except the “net send”, you’ve to replace it with “msg”.

For example, msg x “Your message here” or (to send to all PCs) msg * “Your message here”

Please Note:

The ports used by these messenger services are 135, 137, 138, and 139. Make sure they aren’t blocked or the message will not be sent.

If you have any difficulty using any of these commands, please mention it in comments below. (or even if you don’t have, commenting is not a crime :P)

42 Replies to “Send Messages to Other PCs over LAN on Windows”

    1. Hi,
      Please type in \”msg /?\” in Command Prompt to see all the possible MSG commands and check your syntax. Let me know if you get it right. :)

      1. Hey, I tried this on windows 7, and I can’t seem to get it to work. It says it’s “not recognized as an internal or external command, operable program or batch file.”

  1. I have tried
    net send X “Hi”

    but it gives me
    NET [ ACCOUNTS | …]

    what do I do ?

    I replaced X with appropriate name !

  2. Hi i tried this

    msg pcname “Hi”
    for remote send but this shows message in my pc only
    pcname is the remote system name

  3. Dear Sir
    I have 2 windows 7 ultimate laptops and they both are connected to a wireless router, i have tried all possible ways to get msg.exe working but the best i can do is get a message box on my laptop, it never sends to the other laptop even though its joined to the same homegroup as mine , i have tried changing rpc value from 0 to 1, and worstly even tried port forwarding on the router, but unfortunately and unluckily i have not been able to start this. Kindly help.
    Thank in advance

  4. In most cases Windows 7 firewall will prevent messages from being sent to other computers on the network, unless pre-added into the firewall exclusion table. Note also that the MSG.exe only is supported in Business and Ultimate editions of Windows 7.

  5. I already tried at win7 ultimate,but it it displays tht “PCNAME” does not exist or disconnected…

    I already off firewall and both cnnect to homegroup,pls help,tq.

  6. Hi!
    I an trying to send LAN message to Win 7 from Win 7 via msg.exe but get the same error all the time: “Error 1722 getting session names”.

    What’s wrong???
    And how can I fix it?

  7. Hello there! I know this is kind of off topic but I
    was wondering which blog platform are you using for this website?
    I’m getting sick and tired of WordPress because I’ve
    had problems with hackers and I’m looking at alternatives for another platform. I would be great if you could point me in the direction of a good platform.

  8. sharecash, share cash, pay per download, PPD, fileice, upload files, file ice, make money uploading, earn per download, money uploading, make money files, make money videos, get paid upload, get paid to upload

  9. Hi i am trying the net send but i keep on getting the error ” ‘net’ is not recoegnizrdas an internal or external command,operable program or batch file”

  10. Its so weird, it works on my 1 router, but my other router that all of my guests are logged into it doesn’t i connect to it. have net issolation off. ap issolation off. scratching my brain

  11. Is there is a way to use msg command to send a test from user to another user in the same windows net work , and they are local not administrator .
    Thank you

Leave a Reply

Your email address will not be published. Required fields are marked *