Thursday, September 9, 2010

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 SP 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”).




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.




           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)

No comments:

Post a Comment