Microsoft Windows provides an effortless method for sending messages to other computers on the local network, called Net Send. In this article we will show you how to make the most of this feature.
How to send a message to another PC on a local network?
If you wish to send a message to another computer in your network, follow these steps:
- Start command prompt (cmd) – type cmd in the searchbox and run the app
- Type the following command as:
msg /SERVER:DestinationPC * /TIME:60 “This is the message to be sent to a PC named DestinationPC and closes in 60 seconds."
- You will need to replace DestinationPC with the name of the desired PC (you can find this in the list of computers that are currently sharing your network, if you don’t already know the PC name).
- Now, replace the value for TIME with how long you want the message to appear on the other screen for. For example TIME:30 for 30seconds
- Then replace the text between the quotation marks and the message you want to send.
- Finally, you can hit enter, and the message will be sent.
How to use Net send to send messages?
Here is the first alternative way of sending messages that may work if you have an older version of Windows. Here’s how:
- Click Start > Run.
- Type cmd, and press Enter
- In the window that opens, type Net send followed by the computer’s name to which you wish to send the message.
- Next, enter the message. For example, the format should resemble «Net send PC01 can you read this message?»
How to send messages with cmd prompt?
It is easy to send messages through cmd prompt to other systems here is the answer first we have to set our systems messenger ACTIVE. For it, follow these steps:
- 1. Go to RUN
- 2. Type
services.msc
- 3. Scroll down and right click on MESSENGER
- 4. Select PROPERTIES
- 5. Then for enabling it go to STARTUP TYPE and select AUTOMATIC
- 6. Then OK
And this should be performed on both sides (SENDER & RECEIVER). After that if you want to send message then do the following steps:
- 1. Go to cmd prompt
- 2. Type syntax as follows:
net send <ipaddress of reciever> <message to be send>
Ex:
net send 172.16.6.99 "hello"
How to fix Error 5, Error 1825
When using the msg command, the following error may occur: Error 5 when getting session names or Error 1825 when getting session names.
These error messages indicate a failure in the connection to the recipient of the message. To correct these errors, you need to act on the side of the recipient. Run the command regedit to open the registry editor on the recipient’s computer and navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server
Here change AllowRemoteRPC from 0 to 1.
Do you need more help with Windows? Check out our forum!
You can use the net send command to send messages to other computers on your network. The command is used through the Command Prompt. You can open the Command Prompt from the Start menu or by pressing ⊞ Win + R and typing “cmd”. If you are using Windows Vista, 7, 8, 8.1, or 10, see the next section.
How use Net Send in cmd?
In order to send a message using Net Send command, start a command prompt window. To start the command prompt click “Start” button, choose “Run..”, enter “cmd” command and click OK button. Type “net” command with “send” parameter and with other parameters according to the command syntax.
What is net send command?
Net Send is a command within the Microsoft Windows XP Professional operating system’s Messenger Service. Net Send allows messages to be sent to network computers, users and messaging names. MSG.exe replaced Net Send, as Messenger Service is not supported by Windows Vista and Windows Server 2008.
Does Net Send still work?
Net send is no longer used; it wasn’t used in Windows Vista either. Try using the msg command, instead. You can find more information here. The MSG command is only available on Ultimate and Business versions!
Does Windows 10 have net send?
The net send command is a Command Prompt command used to send messages to users, computers, and messaging aliases on the network. The msg command replaces the net send command in Windows 10, Windows 8, Windows 7, and Windows Vista. The net send command is one of many net commands.
What is the net command in Windows?
The net computer command is used to add or remove a computer from a domain. Use the net config command to show information about the configuration of the Server or Workstation service. The net continue command is used to restart a service that was put on hold by the net pause command.
How can I send a message to another computer using WIFI?
If you wish to send a message to another computer in your network, click Start > Run. Type cmd, and press Enter. In the window that opens, type Net send followed by the name of the computer to which you wish to send the message. Next, enter the message.
Can I send message to IP address?
How we can send a message to an IP address? If you mean you want to send something akin to a text message, in short you cannot. Well, you can, but unless there is something (e.g. an app) to receive it, the computer attached to the IP address will ignore it.
How do I send messages on Windows 10?
Sending a message
- On your PC, in the Your Phone app, select Messages.
- To start a new conversation, select New message.
- Enter the name or phone number of a contact.
- Select the person you want to send a message to. A new message thread opens for you to begin with.
What is net Exe used for?
The net.exe command is used to fix, update, or view the network or the network settings. Net.exe is available in Windows 95, Windows 98, Windows NT, Windows ME, Windows 2000, Windows XP, Windows Vista and Windows 7. The net.exe command can be used to stop and start the IPv6 protocol.
What is persistent yes?
/persistent:Yes: Makes the connection you’re currently creating persistent. Future connections you make using the command during the same session are also persistent (you don’t need to keep using the switch) until you use the /persistent:No switch to turn it off. /persistent:No: Turns off the persistency toggle.
How can I use NET SEND on my computer?
Open the Command Prompt. You can use the net send command to send messages to other computers on your network. The command is used through the Command Prompt. You can open the Command Prompt from the Start menu or by pressing ⊞ Win+R and typing “cmd”. If you are using Windows Vista, 7, 8, 8.1, or 10, see the next section.
How to send a message in net command?
To send NET SEND messages, you need to open a Command Prompt and use the NET command with send parameter. Go to the Start menu, click Run, type cmd, and hit ENTER.
What do I need to know about NET SEND?
Learn more… Net Send is a command line tool used in Windows XP for sending messages to other users and computers on a local network. With Windows Vista, Net Send was replaced with msg.exe, a command line tool that has very similar functionality and syntax.
How to use NetSend to send a message?
First of all click “Start” button, choose “Run..” and enter “cmd” command. Black screen of cmd.exe will appear. Netsend command syntax cmd looks like: Can be user name, PC name, or messaging name to send the message to. If the name is a computer name that contains blank characters, it need to be enclosed the alias in quotation marks (” “).
Open the Command Prompt. You can use the net send command to send messages to other computers on your network. The command is used through the Command Prompt. You can open the Command Prompt from the Start menu or by pressing ⊞ Win+R and typing “cmd”. If you are using Windows Vista, 7, 8, 8.1, or 10, see the next section.
To send NET SEND messages, you need to open a Command Prompt and use the NET command with send parameter. Go to the Start menu, click Run, type cmd, and hit ENTER.
Learn more… Net Send is a command line tool used in Windows XP for sending messages to other users and computers on a local network. With Windows Vista, Net Send was replaced with msg.exe, a command line tool that has very similar functionality and syntax.
First of all click “Start” button, choose “Run..” and enter “cmd” command. Black screen of cmd.exe will appear. Netsend command syntax cmd looks like: Can be user name, PC name, or messaging name to send the message to. If the name is a computer name that contains blank characters, it need to be enclosed the alias in quotation marks (” “).
Загрузить PDF
Загрузить PDF
Net Send – это утилита командной строки, которая используется в Windows XP для отправки сообщений другим пользователям и компьютерам, подключенным к локальной сети. В Windows Vista утилита Net Send заменена утилитой msg.exe с похожей функциональностью и синтаксисом. Net Send не сможет отправить сообщения с компьютера под управлением Windows XP на компьютер под управлением более новой версии Windows.
-
1
Откройте командную строку. Утилита net send используется для отправки сообщений на другие сетевые компьютеры. Она запускается из командной строки. Откройте командную строку из меню «Пуск» или нажмите ⊞ Win+R и введите cmd.
- Если вы работаете в Windows Vista/7/8/8.1/10, перейдите в следующий раздел. Утилита net send не используется в новых версиях Windows (начиная с Vista) и заменена утилитой msg.
-
2
Введите команду. Введите net send и нажмите Пробел. Далее нужно ввести информацию, которая содержит текст и направление сообщения.
-
3
Определите получателя сообщения. Сообщение можно отправить как одному пользователю, так и группе пользователей; это делается несколькими способами.[1]
- net send имя – введите имя пользователя или сетевое имя компьютера, чтобы отправить сообщение конкретному пользователю. Если в имени есть пробел, оно заключается в кавычки (например, net send "Ivan Ivanov").
- net send * – сообщение будет отправлено всем пользователям текущего домена или рабочей группы.
- net send /domain:имя – сообщение будет отправлено всем пользователям указанного домена или рабочей группы.
- net send /users – сообщение будет отправлено всем пользователям, которые подключены к серверу.
-
4
Введите текст сообщения. Указав получателя(ей), введите текст сообщения. Оно должно быть не более 128 символов.
- Например: net send "Ivan Ivanov" Давай встретимся через 10 минут.
-
5
Отправьте сообщение. Закончив вводить сообщение, нажмите ↵ Enter, чтобы отправить его. Получатель увидит сообщение в диалоговом окне Windows (но только если он вошел в систему и подключен к сети).
Реклама
-
1
Проверьте, поддерживает ли система команду msg. Функционал этой команды во многом аналогичен функционалу неиспользуемой команды net send. Но эта команда работает только в профессиональной и корпоративной версиях Windows. Если вы работаете в Windows Домашняя, обновите систему до версии Профессиональная или Корпоративная, чтобы получить возможность пользоваться командой msg.[2]
- Чтобы узнать версию Windows, нажмите ⊞ Win+Pause или щелкните правой кнопкой мыши по «Компьютер» и выберите «Свойства». Версия Windows отобразится в разделе «Издание Windows».
-
2
Откройте командную строку. Как и net send, команда msg запускается из командной строки. Командная строка запускается разными способами (в зависимости от версии Windows), или просто нажмите ⊞ Win и введите cmd.
- Windows Vista/7: откройте командную строку из меню «Пуск».
- Windows 8.1/10: щелкните правой кнопкой мыши по кнопке «Пуск» и выберите «Командная строка».
- Windows 8: нажмите ⊞ Win+X и выберите «Командная строка».
-
3
Введите команду. Введите msg и нажмите Пробел. Далее нужно ввести информацию, которая содержит текст и направление сообщения.
-
4
Определите получателя сообщения. По сравнению с net send, команда msg обладает дополнительными опциями.[3]
- msg имя пользователя – введите имя конкретного пользователя.
- msg сеанс – введите имя конкретного сеанса.
- msg ID сеанса – введите идентификатор конкретного сеанса.
- msg @filename – введите имя файла, который содержит список имен пользователей, сеансов и/или идентификаторов сеансов. Полезно для отправки сообщений сотрудникам отделов.
- msg * – сообщение будет отправлено всем пользователям, которые подключены к серверу.
-
5
Укажите сервер, пользователям которого нужно отправить сообщение (если хотите). Если нужно отправить сообщение пользователю, который подключен к другому серверу, после информации о получателе введите информацию о сервере. Если сервер не указан, сообщение будет отправлено на текущий сервер.
- msg * /server:имя сервера
-
6
Задайте ограничение по времени (если хотите). Можно задать ограничение по времени, чтобы указать интервал ожидания подтверждения от получателя. Временной модификатор вводится после информации о сервере (если она есть).
- msg * /time:секунды (например, 300 секунд для пятиминутного интервала)
-
7
Введите текст сообщения. После ввода различных параметров введите текст сообщения. Или нажмите ↵ Enter, и система предложит ввести текст сообщения в отдельной строке.
- Например: msg @salesteam /server:EASTBRANCH /time:600 Поздравляю с увеличением продаж в этом квартале!
-
8
Отправьте сообщение. Для этого нажмите ↵ Enter. Адресат получит его немедленно.
- Команда msg предназначена для отправки сообщений пользователям терминалов, а не только разным компьютерам, подключенным к одной сети.
-
9
Устраните неполадки. При работе с msg можно столкнуться со следующими ошибками: [4]
- ‘msg’ is not recognized as an internal or external command, operable program or batch file. (msg не распознается в качестве внутренней или внешней команды, исполняемой программы или пакетного файла). В этом случае версия Windows не поддерживает msg. Обновите Windows до версии Профессиональная.
- Error 5 getting session names (Ошибка 5 получение имен сеансов) или Error 1825 getting session names (Ошибка 1825 получение имен сеансов). Ошибка при общении с получателем. Можно попытаться устранить такую неполадку, если на компьютере получателя открыть редактор реестра (для этого выполните команду regedit), перейти в HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server и изменить значение параметра «AllowRemoteRPC» с 0 на 1.
Реклама
Об этой статье
Эту страницу просматривали 75 205 раз.
Была ли эта статья полезной?
The net send command is a Command Prompt command used to send messages to users, computers, and messaging aliases on the network. It’s one of many net commands.
Net Send Command Availability
The net send command is available from within the Command Prompt in Windows XP, as well as in older versions of Windows and in some Windows Server operating systems.
Windows XP was the last version of Windows to include the net send command, so it’s not available in Windows 11, Windows 10, Windows 8, Windows 7, or Windows Vista. Instead, the msg command replaces the net send command in those versions of Windows.
The availability of certain net send command switches and other net send command syntax may differ from operating system to operating system.
Net Send Command Syntax
net send {name | * | /domain[:domainname] | /users} message [/help] [/?]
See How to Read Command Syntax if you’re not sure how to read the command syntax as it’s written above or shown in the table below.
Net Send Command Options | |
---|---|
Item | Explanation |
name | This option specifies the username, computer name, or messaging name (defined with the net name command) that you want to send the message to. |
* | Use the asterisk to send the message to every user in your current domain or workgroup. |
/domain | This switch can be used alone to send the message to all the names in the current domain. |
domainname | Use this option with /domain to send the message to all the users in the specified domainname. |
/users | This option sends the message to all the users connected to the server that the net send command is being executed from. |
message | This net send command option is obviously required and specifies the exact text of the message you’re sending. The message can be a maximum of 128 characters and must be wrapped in double quotes if it contains a slash. |
/help | Use this switch to display detailed information about the net send command. Using this option is the same as using the net help command with net send: net help send. |
/? | The help switch also works with the net send command but only displays the basic command syntax. Executing net send without options is equal to using the /? switch. |
You can store the output of the net send command in a file using a redirection operator with the command.
Net Send Command Examples
Here are some examples that show how to use the net send command:
Send to All Workgroup Users
net send * Please proceed to CR103 immediately for a mandatory meeting
In this example, net send is used to send the Please proceed to CR103 immediately for a mandatory meeting message to all the members * of the current workgroup or domain.
Send to All Server Users
net send /users "Will the person with the A7/3 client file open please save your work and close it? Thank you!"
Here, the command is used to send all the members of the current server /users the message Will the person with the A7/3 client file open please save your work and close it? Thank you!. The message is in quotes because a slash was used.
Send to All Users in Specific Domain
net send /domain:abcd This is just a tornado drill
Net send is used in this example to message all users in the abcd domain that This is just a tornado drill.
Send to Specific User
net send smithm You're Fired!
While it’s a completely unprofessional way to terminate someone’s employment, in this example, the net send command is used to send the user smithm a message he probably didn’t want to hear: You’re Fired!.
Net Send Related Commands
The net send command is a subset of the net command and so is similar to its sister commands like net use, net time, net user, net view, etc.
More Help With the Net Send Command
If this command isn’t working, you might see the following error in Command Prompt:
'net' is not recognized as an internal or external command, operable program or batch file.
There are two ways to fix this, but only one is a permanent solution…
You can move the current working directory to be System32, the path where the cmd.exe file is located, so that Command Prompt knows how to run the command. Do this with the cd (change directory) command:
cd c:\windows\system32\
From there, you can run the command without seeing that error. However, this is only a temporary solution that you’ll have to do all the time for every command. The real problem is that the current environment variable hasn’t been set up correctly.
Here’s how to restore the proper environment variable necessary for Command Prompt to understand your commands in Windows XP:
-
Open the Start menu and right-click My Computer.
-
Choose Properties.
-
Select the Environment Variables button from the Advanced tab.
-
Select Path from the list of variables in the System Variables section.
-
Choose Edit below the System Variables section.
-
In the Variable value text box, look for any paths that read exactly like this:
C:\Windows\system32
or…
%SystemRoot%\system32
-
You should only have one in there, but if you have neither, then go to the very end of the text, type a semicolon, and then enter the top path from above, like this:
;C:\Windows\system32
Is one already in there? If so, it’s most likely the second one that reads «%SystemRoot%» at the beginning. If so, change that part of the path to be «C:\Windows\system32» (so long as your Windows installation is on the C: drive, which is most likely true).
For example, you’d change %SystemRoot%\system32 to C:\Windows\system32.
If it helps, copy all the text into Notepad and do the editing there. When you’re done, just paste the edited variable value back into that text box to overwrite the existing text.
Don’t edit any other variables. If there happens to be no variables in this text box, then you can enter the above path without the semicolon since it’s the only entry.
-
Select OK a few times to save the changes and exit the System Properties window.
-
Restart your computer.
If net send commands appear to work in Command Prompt with a «successful» message, but the pop-up doesn’t show up on the computers the message is sent to, check that the receiving computers have the Messenger service enabled.
To enable this service in Windows XP, go to Start > Run, enter services.msc, double-click Messenger, change Startup type to Automatic, and then go to Apply > Start.
You can also enable the Messenger service from the command line:
sc config messenger start=auto
net start messenger
Thanks for letting us know!
Get the Latest Tech News Delivered Every Day
Subscribe
How would I send a message, for example, to all the hosts on my LAN ? In windows XP, one would use net send: net send * Hello Wold !
How is that possible in Windows 10 ? I can see that they removed this command, so is there an equivalent ?
Moreover, if I try to use msg.exe as an alternative, I get the error-message:
msg
is not recognized as an internal or external command, operable
program or batch file.
asked Jun 3, 2017 at 22:03
SoutzikevichSoutzikevich
9913 gold badges13 silver badges29 bronze badges
This was already removed in Vista, but you can use msg.exe instead:
msg.exe /server:brad-dc-01 console "Your machine needs to be rebooted."
answered Jun 4, 2017 at 5:56
magicandre1981magicandre1981
28k5 gold badges86 silver badges127 bronze badges
5