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:
- Run command prompt (Windows Logo Key + R, then type “cmd.exe”).
- 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.
- 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!”
- 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)


Very good for pranking. I’ll have to try this out some time. :D
I’d try this in the computer lab this week when the teacher ain’t monitoring :P
When I Try the 'msg' command with Windows7 I get – 'msg' is not recognized as an internal or external command
It should work, what did you type in command prompt?
I've got error 5, access denied, why?
Which OS are you using?
Thx Could U Write trick about hacking ShareCash
Lemme see if I can. I\’ll post it soon, once I get the way :)
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.”
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 !
Try only “net send X”, if it goes well, then it would ask you for the message in next step. Note: Firewall might block this command’s functions.
Hi i tried this
msg pcname “Hi”
for remote send but this shows message in my pc only
pcname is the remote system name
Are you sure you entered remote pc’s name rather than your own?
type msg * /server:pcname “hi”
Can anyone help me to create a multiple line message box using msg.exe?
What exactly?
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
Try this software:LAN Talk. Let me know if it solves it. Thanks.
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.
All True.
hi tried in win7 ..
it displays tht x does not exist or disconnected…
but i connect to that system..
Firewall blocked it.
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.