When you have computers connected over a network, it is possible to send a message to them without using any software. The process works in a similar way to how data is sent from one computer to another. Windows offers MSG or messaging tool which operates from the Command Prompt. In this post, we will discuss how you can send message to an IP address or user from the Command Prompt.
MSG Command Syntax to Send Message to IP or User
MSG {username | sessionname | sessionid | @filename | *} /SERVER:servername /TIME:seconds /V /W [message]
- username Identifies the specified username.
- sessionname The name of the session.
- sessionid The ID of the session.
- @filename Identifies a file containing a list of usernames,
sessionnames, and sessionids to send the message to. - * Send a message to all sessions on the specified server.
- /SERVER:servername server to contact (default is current).
- /TIME: seconds Time delay to wait for the receiver to acknowledge msg.
- /V Display information about actions being performed.
- /W Wait for a response from the user, useful with /V.
- message: Message to send. If none specified, prompts for it or reads from stdin.
How to send a message to an IP address or a Windows 11/10 PC from Command Prompt
MSG command helps you to send a message to a specific user on a particular computer. If you are an admin, you can use the command syntax to figure out the exact username.</
- Open Command Prompt with admin privileges. (Type CMD in the search and launch it with admin permissions)
- Make sure to keep the username, server name, etc. are with you.
- Type MSG <username> or
msg * /server:computername message
and press the Enter key - It will let you type any number of the message unless you hit control + z
- Once you type the message, press the Enter key, and it will send the message.
The message should be received on the other side if messaging services are set up in the form of a pop-up window. The user, on the other side, can also use the same method to send a message.
Earlier to Windows 11/10, it was possible to use the NET command to send messages to a particular IP address, but it has been deprecated.
How Can I Find the IP Address of Another Computer?
- Open Windows Terminal by making a right-click on the Start menu and then clicking on it
- Type nslookup and the domain name of the computer
- It will reveal the IP address instantly.
How to send multiple line messages to another Windows PC?
- First, write the message in a text file, and save it. Make sure to note the location.
- Open Windows Terminal, and execute the command.
type \fullpath\multiplelinemessages.txt | msg * /server:computername
It will open the pop-up window, and the message will be displayed as you wrote it.
How Do I Send Messages to Another Computer Using PowerShell?
You can use the following script:
$name = read-host "Enter computer name " $msg = read-host "Enter your message " Invoke-WmiMethod -Path Win32_Process -Name Create -ArgumentList "msg * $msg" -ComputerName $name
I hope the post was easy to follow, and you are now able to secretly send the message to computers on your network or send a message to IP addresses or a User.
how do i do that
how do i send a message from my ip address to some one ip address
is there a program to do it
Welcome to techspot.
To answer your question, yes. skype, msn messenger, aim, yim… lol
Seriously though, there is a tool embedded in windows xp… net send. it’s what produced those annoying pop-up messenger spam messages before sp2.
syntax.. net send
Doesn’t work though unless both machines have the messenger service running and are configured to allow the messages through firewalls.
yes…. you can use IM programs IF YOU LIKE VIRUSES, WORMS, and other attacks!
well I WAS kinda joking about the IM programs. I’d never actually recomend IM programs to inexperienced netizens for obvious reasons. For the record though, I use MSN Messenger all the time. I’ve NOT ONCE caught a nasty from it. I’ve had a nasty offered to me twice, but I use common sense.
Also, I don’t talk to random people – I talk only to those I know.
Good point, for IM progs to infect you , its normal practice to be asked if you want the infection(file transfer etc) and you gotta be crazy to say ‘yes please,do your worst!’
so any infection is usually through user stupidity with IM progs
Actually, that’s not entirely what I was saying. There’s more to it than just infection – IM technology has a whole host of security issues (potential or real), plus potentially creates yet another set of attack vectors on a targe machine using the technology (ie, just another thing that can go wrong). Instant messaging is inherantly insecure. For more details on why it’s inherantly insecure, you can use google, but if you can’t be bothered, I’ve searched up the following link…
The above is a 2003 whitepaper, and some things may well have changed. I’ve only scanned it over briefly to find that it has relevant content, but don’t know how up to date it is. It will however give you a brief overview of the insecurity of IM technologies.
Actually, that’s not entirely what I was saying. There’s more to it than just infection – IM technology has a whole host of security issues (potential or real), plus potentially creates yet another set of attack vectors on a targe machine using the technology (ie, just another thing that can go wrong). Instant messaging is inherantly insecure. For more details on why it’s inherantly insecure, you can use google, but if you can’t be bothered, I’ve searched up the following link…
The above is a 2003 whitepaper, and some things may well have changed. I’ve only scanned it over briefly to find that it has relevant content, but don’t know how up to date it is. It will however give you a brief overview of the insecurity of IM technologies.
Interesting, good info. Think we should all read this…
I have someone from an IP in Prague who keeps trying to get onto my QNAP box. Checking the IP it is associated with 100 other in a row IP addresses. My QNAP box stopped him with the security I have set up and it gives me have a warning note then blocks them for 24 hours at 5 attempts. Can I send them a message without revealing my IP or who I am?
hi, in the line $name = read-host “Enter computer name ”
$msg = read-host “Enter your message ”
Invoke-WmiMethod -Path Win32_Process -Name Create -ArgumentList “msg * $msg” -ComputerName $name
what do i put at “msg * $msg”?
it is showing the following command pc1 does not exit or disconnected