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.
Alternative solution
- Run as Administrator: If you’re getting this error while running an application or command, try running it as an administrator. Right-click on the program and select «Run as Administrator.»
- Check Permissions: Ensure the account you’re using has adequate permissions for the action you’re trying to perform. You might need administrative access.
- Antivirus or Security Software: Sometimes, antivirus software can restrict access. Temporarily disabling it might help identify if that’s the issue.
Do you need more help with Windows? Check out our forum!
The NET SEND command has been a staple of network messaging in Windows environments for decades. While it has become less prominent in the wake of communication platforms that rely on internet connectivity, such as email and instant messaging systems, the NET SEND command still holds value, particularly in closed network environments. In this article, we will explore the NET SEND command, its use cases, how to enable it on various versions of Windows, and the implications of using it in today’s tech landscape.
Understanding NET SEND
The NET SEND command was originally introduced in Windows NT. It allows users to send messages to other users, computers, or groups on a local area network (LAN). The command utilizes the Messenger service that listens for incoming messages and presents them to the user in a pop-up window.
While its primary function is straightforward, NET SEND can be particularly useful for system administrators, facilitating quick and effective communication across networked systems. Imagine needing to inform all users on a particular workstation about a critical system update or maintenance work; a single command can broadcast that message instantaneously.
Historical Context
Historically, the Messenger service was a feature available on many Windows operating systems (particularly NT and XP). However, it was disabled by default in Windows XP starting service pack 2 due to security vulnerabilities. Windows Vista and later operating systems altogether removed the service, which marked a significant decline in the use of the NET SEND command.
Despite its decline, certain organizations, particularly those operating on legacy systems, may still rely on NET SEND for intra-office communication, especially when the internet is unreliable or unavailable.
How to Enable NET SEND Commands
Step 1: Verify Windows Version
Before enabling NET SEND commands, it’s essential to know the version of Windows you’re using even though the command is mainly applicable to legacy systems like Windows NT and Windows XP.
For modern-day users of Windows 10 and Windows 11, the NET SEND command is not natively supported. Instead, Windows now utilizes the more modern PowerShell and other messaging alternatives. For this guide, we will demonstrate steps to enable NET SEND on a Windows XP system.
Step 2: Enable the Messenger Service
If you are on a legacy system and want to use the NET SEND command, the first step is to ensure that the Messenger service is running.
Enabling the Messenger Service:
- Open the Run dialog box: Press
Windows Key + R. - Open Services: Type
services.mscand hit Enter. This will bring up the Services window. - Locate Messenger Service: Scroll down and find the “Messenger” service.
- Start the Service:
- Right-click on «Messenger» and select
Properties. - Change the startup type to
Automatic. - Click on the
Startbutton to initiate the service.
- Right-click on «Messenger» and select
- Apply Changes: Click
OKto save the changes.
Step 3: Test the NET SEND Command
Once the Messenger service is up and running, test sending a message to another computer on the network.
-
Open Command Prompt: Press
Windows Key + R, typecmd, and hit Enter. -
Send a Message: type in the command:
net send [ComputerName] "Your message here"Replace
[ComputerName]with the actual name of the target computer on the network. Ensure that the target machine is powered on and the Messenger service is running as well. -
Example:
net send USER-PC "This is a test message"
Step 4: Resolve Possible Issues
There could be several errors or messages that may impede the use of NET SEND. Here are a few common issues:
-
Firewalls: Ensure that any software firewalls (e.g., Windows Firewall) are configured to allow the Messenger service.
-
Network Permissions: The user may not have permissions to send messages to the target machine. Check user permissions, especially if running in a domain environment.
-
Service Not Running: Ensure the recipient’s Messenger service is also running.
Alternatives for Modern Environments
Given that NET SEND is largely irrelevant for modern versions of Windows, consider the following alternatives:
PowerShell
PowerShell is a robust scripting language and shell that provides vast capabilities beyond simple messaging. It offers cmdlets for sending messages over the network using Windows Management Instrumentation (WMI) or other APIs.
For example, a simple script using PowerShell to send an email notification can be created as follows:
Send-MailMessage -To "[email protected]" -From "[email protected]" -Subject "Subject Here" -Body "This is the body of the email" -SmtpServer "smtp.example.com"
Third-Party Messaging Tools
- Slack: A powerful team collaboration tool that offers messaging, file sharing, and integration with various applications.
- Microsoft Teams: Best suited for enterprises already using Microsoft 365, enabling direct messaging and channel communication.
- Discord: Originally aimed at gamers, it has expanded to professional settings and is increasingly used for team communication.
Pros and Cons of Using NET SEND
In considering whether to utilize NET SEND, it’s important to weigh its advantages against its limitations.
Pros:
- Simplicity: Easy to use for quick messages.
- No Internet Required: Effective in scenarios with limited internet access.
- Direct Communication: Immediate delivery of messages to users or groups on the same network.
Cons:
- Limited Security: The NET SEND command does not facilitate encrypted messages, making it susceptible to snooping on unsecured networks.
- Legacy System Dependency: Most current versions of Windows do not support NET SEND which limits its usability.
- Decreased Functionality: Compared to modern communication tools, the NET SEND command offers very basic functionality.
The Future of Intra-Network Communication
As technology advances, the paradigms of effective communication continue to evolve. While NET SEND has served its purpose in specific local network environments, organizations are increasingly looking toward integrated solutions that include chat, video conferencing, and file sharing capabilities.
For businesses, this means adapting to more flexible environments that cater not only to robust communication but also to collaboration and productivity, aligning with modern work practices, such as remote work and digital connectivity.
Conclusion
In summary, the NET SEND command embodies a bygone era of network messaging, once vital for ensuring quick communication in local environments. Today, while still useful in specific contexts, its relevance has diminished significantly. With the shift towards more sophisticated messaging solutions and the phase-out of legacy support in modern Windows versions, businesses must adapt and evolve their communication strategies.
For those in legacy environments who still need to leverage NET SEND, following the steps outlined in this article may enable effective messaging where needed. However, organizations looking to the future benefit greatly from considering more robust, secure, and versatile means of communication. Diversifying communication channels will not only improve situational responsiveness but also enhance overall organizational productivity.
Загрузить PDF
Загрузить PDF
Net Send – это утилита командной строки, которая используется в Windows XP для отправки сообщений другим пользователям и компьютерам, подключенным к локальной сети. В Windows Vista утилита Net Send заменена утилитой msg.exe с похожей функциональностью и синтаксисом. Net Send не сможет отправить сообщения с компьютера под управлением Windows XP на компьютер под управлением более новой версии Windows.
-
Утилита net send используется для отправки сообщений на другие сетевые компьютеры. Она запускается из командной строки. Откройте командную строку из меню «Пуск» или нажмите ⊞ Win+R и введите cmd.
- Если вы работаете в Windows Vista/7/8/8.1/10, перейдите в следующий раздел. Утилита net send не используется в новых версиях Windows (начиная с Vista) и заменена утилитой msg.
-
Введите net send и нажмите Пробел. Далее нужно ввести информацию, которая содержит текст и направление сообщения.
-
Сообщение можно отправить как одному пользователю, так и группе пользователей; это делается несколькими способами.[1]
- net send имя – введите имя пользователя или сетевое имя компьютера, чтобы отправить сообщение конкретному пользователю. Если в имени есть пробел, оно заключается в кавычки (например, net send "Ivan Ivanov").
- net send * – сообщение будет отправлено всем пользователям текущего домена или рабочей группы.
- net send /domain:имя – сообщение будет отправлено всем пользователям указанного домена или рабочей группы.
- net send /users – сообщение будет отправлено всем пользователям, которые подключены к серверу.
-
Указав получателя(ей), введите текст сообщения. Оно должно быть не более 128 символов.
- Например: net send "Ivan Ivanov" Давай встретимся через 10 минут.
-
Закончив вводить сообщение, нажмите ↵ Enter, чтобы отправить его. Получатель увидит сообщение в диалоговом окне Windows (но только если он вошел в систему и подключен к сети).
Реклама
-
Функционал этой команды во многом аналогичен функционалу неиспользуемой команды net send. Но эта команда работает только в профессиональной и корпоративной версиях Windows. Если вы работаете в Windows Домашняя, обновите систему до версии Профессиональная или Корпоративная, чтобы получить возможность пользоваться командой msg.[2]
- Чтобы узнать версию Windows, нажмите ⊞ Win+Pause или щелкните правой кнопкой мыши по «Компьютер» и выберите «Свойства». Версия Windows отобразится в разделе «Издание Windows».
-
Как и net send, команда msg запускается из командной строки. Командная строка запускается разными способами (в зависимости от версии Windows), или просто нажмите ⊞ Win и введите cmd.
- Windows Vista/7: откройте командную строку из меню «Пуск».
- Windows 8.1/10: щелкните правой кнопкой мыши по кнопке «Пуск» и выберите «Командная строка».
- Windows 8: нажмите ⊞ Win+X и выберите «Командная строка».
-
Введите msg и нажмите Пробел. Далее нужно ввести информацию, которая содержит текст и направление сообщения.
-
По сравнению с net send, команда msg обладает дополнительными опциями.[3]
- msg имя пользователя – введите имя конкретного пользователя.
- msg сеанс – введите имя конкретного сеанса.
- msg ID сеанса – введите идентификатор конкретного сеанса.
- msg @filename – введите имя файла, который содержит список имен пользователей, сеансов и/или идентификаторов сеансов. Полезно для отправки сообщений сотрудникам отделов.
- msg * – сообщение будет отправлено всем пользователям, которые подключены к серверу.
-
Укажите сервер, пользователям которого нужно отправить сообщение (если хотите). Если нужно отправить сообщение пользователю, который подключен к другому серверу, после информации о получателе введите информацию о сервере. Если сервер не указан, сообщение будет отправлено на текущий сервер.
- msg * /server:имя сервера
-
Можно задать ограничение по времени, чтобы указать интервал ожидания подтверждения от получателя. Временной модификатор вводится после информации о сервере (если она есть).
- msg * /time:секунды (например, 300 секунд для пятиминутного интервала)
-
После ввода различных параметров введите текст сообщения. Или нажмите ↵ Enter, и система предложит ввести текст сообщения в отдельной строке.
- Например: msg @salesteam /server:EASTBRANCH /time:600 Поздравляю с увеличением продаж в этом квартале!
-
Для этого нажмите ↵ Enter. Адресат получит его немедленно.
- Команда msg предназначена для отправки сообщений пользователям терминалов, а не только разным компьютерам, подключенным к одной сети.
-
При работе с 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.
Реклама
Об этой статье
Эту страницу просматривали 88 831 раз.
Была ли эта статья полезной?
|
|
|
|
Правила раздела Windows
1. Указывайте версию Вашей ОС.
2. Запрещается размещать запросы и ссылки на кряки, серийники и т.п., а также вопросы нарушения лицензии ПО и его взлома.
3. Не разрешается давать советы из разряда «Поставь Linux».
4. Переустановка ОС — крайнее и безотказное лекарство, которое знают все. В таких советах никто не нуждается.
5. При публикации скриптов пользоваться тегами code. Тип подсветки кода выбирать строго в соответствии с языком публикуемого кода.
6. Прежде чем задать вопрос, обязательно загляните в FAQ и следуйте написанным рекомендациям для устранения проблемы. И если не помогло, а поиск по разделу не дал результатов — только тогда задавайте вопрос на форуме.
7. Вопросы, связанные с проблемами ПО, задавайте в разделе Программное обеспечение
NET SEND не работает
- Подписаться на тему
- Сообщить другу
- Скачать/распечатать тему
|
|
|
|
Я пишу в консоли Пробовал и IP адрес указывать и имя хосята… Код ошибки уже не помню, но по коду ошибки справка говорит, что не верно указан адрес! Адрес указан вернее верного. Ошибка вываливается мразу же. Даже не пытается отсылать. |
|
LuckLess |
|
|
old_lamer |
|
old_lamer |
|
|
Стоит ИСА клиент, но я его выключал… |
|
LuckLess |
|
|
пробуй написать скажи что их этих 3-х сработало.. |
|
Artega |
|
|
Вообще если он все правильно сделал, подключил службы то |
|
old_lamer |
|
|
Отключен сервис службы сообщений. |
|
Rust |
|
|
Цитата old_lamer @ При попытки включить не включается
На что ругается? |
|
—= Eagle =— |
|
|
Цитата old_lamer, 12.09.2005, 15:26:43, 853935 При попытки включить не включается А ты посмотри, от каких сервисов он зависит, и включи их |
|
bur80 |
|
|
Цитата —= Eagle =— @ Цитата old_lamer, 12.09.2005, 15:26:43, 853935 При попытки включить не включается А ты посмотри, от каких сервисов он зависит, и включи их А если сервис запущен и все связанные с ним и всё-равно не работает ? Из 15 машин в сети не получают сообщения только 2. Везде Windows XP Home, везде NOD32 и везде отключены брандмауеры Windows. Других огненных стенок не стоит. В чём причина ?
>net send 192.168.1.13 «hi» Ошибка при передаче сообщения на 192.168.1.13. Общая ошибка сети. Для вызова дополнительной справки наберите NET HELPMSG 2136 |
|
—= Eagle =— |
|
|
Посмотри тут: http://forum.oszone.net/showthread.php?t=38952 |
|
bur80 |
|
|
Цитата —= Eagle =— @ Посмотри тут: http://forum.oszone.net/showthread.php?t=38952 Поставил все пакеты обновлений — заработало. |
0 пользователей читают эту тему (0 гостей и 0 скрытых пользователей)
0 пользователей:
- Предыдущая тема
- Windows
- Следующая тема
[ Script execution time: 0,0297 ] [ 15 queries used ] [ Generated: 5.05.25, 16:57 GMT ]
Распознавание голоса и речи на C#
UnmanagedCoder 05.05.2025
Интеграция голосового управления в приложения на C# стала намного доступнее благодаря развитию специализированных библиотек и API. При этом многие разработчики до сих пор считают голосовое управление. . .
Реализация своих итераторов в C++
NullReferenced 05.05.2025
Итераторы в C++ — это абстракция, которая связывает весь экосистему Стандартной Библиотеки Шаблонов (STL) в единое целое, позволяя алгоритмам работать с разнородными структурами данных без знания их. . .
Разработка собственного фреймворка для тестирования в C#
UnmanagedCoder 04.05.2025
C# довольно богат готовыми решениями – NUnit, xUnit, MSTest уже давно стали своеобразными динозаврами индустрии. Однако, как и любой динозавр, они не всегда могут протиснуться в узкие коридоры. . .
Распределенная трассировка в Java с помощью OpenTelemetry
Javaican 04.05.2025
Микросервисная архитектура стала краеугольным камнем современной разработки, но вместе с ней пришла и головная боль, знакомая многим — отслеживание прохождения запросов через лабиринт взаимосвязанных. . .
Шаблоны обнаружения сервисов в Kubernetes
Mr. Docker 04.05.2025
Современные Kubernetes-инфраструктуры сталкиваются с серьёзными вызовами. Развертывание в нескольких регионах и облаках одновременно, необходимость обеспечения низкой задержки для глобально. . .
Создаем SPA на C# и Blazor
stackOverflow 04.05.2025
Мир веб-разработки за последние десять лет претерпел коллосальные изменения. Переход от традиционных многостраничных сайтов к одностраничным приложениям (Single Page Applications, SPA) — это. . .
Реализация шаблонов проектирования GoF на C++
NullReferenced 04.05.2025
«Банда четырёх» (Gang of Four или GoF) — Эрих Гамма, Ричард Хелм, Ральф Джонсон и Джон Влиссидес — в 1994 году сформировали канон шаблонов, который выдержал проверку временем. И хотя C++ претерпел. . .
C# и сети: Сокеты, gRPC и SignalR
UnmanagedCoder 04.05.2025
Сетевые технологии не стоят на месте, а вместе с ними эволюционируют и инструменты разработки. В . NET появилось множество решений — от низкоуровневых сокетов, позволяющих управлять каждым байтом. . .
Создание микросервисов с Domain-Driven Design
ArchitectMsa 04.05.2025
Архитектура микросервисов за последние годы превратилась в мощный архитектурный подход, который позволяет разрабатывать гибкие, масштабируемые и устойчивые системы. А если добавить сюда ещё и. . .
Многопоточность в C++: Современные техники C++26
bytestream 04.05.2025
C++ долго жил по принципу «один поток — одна задача» — как старательный солдатик, выполняющий команды одну за другой. В то время, когда процессоры уже обзавелись несколькими ядрами, этот подход стал. . .
