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)

Tagged with  
,

36 thoughts on “Send Messages to Other PCs over LAN on Windows

  1. Very good for pranking. I’ll have to try this out some time. :D

  2. When I Try the 'msg' command with Windows7 I get – 'msg' is not recognized as an internal or external command

  3. I've got error 5, access denied, why?

  4. Thx Could U Write trick about hacking ShareCash

  5. shriramnanda says:

    Had the same problem as Von O ,tried running cmd both as admin and normally.

    • 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. :)

      • 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.”

  6. I have tried
    net send X “Hi”

    but it gives me
    THE SYNTAX IF THIS COMMAND IS
    NET [ ACCOUNTS | ...]

    what do I do ?

    I replaced X with appropriate name !

  7. Hi i tried this

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

  8. Can anyone help me to create a multiple line message box using msg.exe?

  9. 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

  10. 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.

  11. hi tried in win7 ..

    it displays tht x does not exist or disconnected…
    but i connect to that system..

  12. 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.

  13. 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?

  14. I do not have either Business or Ultimate versions of Win7 so I do not have msg.exe. Is there any other solution?

  15. How to open the ports in windows 7?
    I can send the message to myself, but not to other LAN computers.

  16. bro its not working i have tried many times it sends msg on my own pc butit does not send to others

  17. 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.

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>