Команда msg ошибка 5

How to Fix Error 5 Getting Session Names in Windows 10 encountered while sending a message with MSG command (msg.exe) on the same Local network.

Windows 10 server lets you send a message applying MSG command (msg.exe) on the same Local network. This feature has been available since the starting version of Windows, but that time “time net send” command was used. MSG command replaced the time net send in Windows Vista. Few users complain that the get Error 5 Getting Session Names issue while running the command.

You can send SMS at command prompt (admin) using msg syntax. msg.exe is designed for messaging to terminal users so the cause of this issue is a misconfiguration or lack of proper settings on the server. So a simple registry tweak repairs the issue and makes you able to send messages again.

msg.exe command doesn’t need a 3rd party or built-in service and works on Windows 10 pro and business. Unfortunately, the process ends up with Error 5 getting session names or Access denied on some machines.

Error 5 Getting Session Names in Windows 10 image

Before going for the following solution, make sure that you are using correct syntax in the elevated Command prompt. For example, define the server, user, and put the message in string format. Suppose the user is J Robert who is running jrobert-PC then the syntax for msg.exe would be

C: msg /server:jrobert-pc jrobert “Please help me” where Please help me is the text of the message you are sending.

When you use IP Address instead of the PC name you might find the issue like Access denied or Error 5 getting session names.

Ensure that you have logged into Windows 10 as an administrator and avail the permission for the session to be able to send the messages employing msg command.

Registry Tweak

Registry key manipulation is a risky work so we recommend taking a backup of the prior to starting the process.

Step-1: Press Windows logo key, type regedit.exe and then hit Enter. Select Yes on the User account control prompt locking the screen.

Step-2: Copy the path

ComputerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal Server

paste into the address bar of the Registry Editor and press Enter.

Step-3: Go to the right pane and locate the key AllowRemoteRPC. Once found, make a right click and select Modify from the menu.

Step-4: On the Edit DWORD (32-bit) Value pop up, enter 1 in the value data field and select OK.

Close the registry editor, reboot the Windows 10 system and enjoy using MSG command.

Repair any Windows problems such as Blue/Black Screen, DLL, Exe, application, Regisrty error and quickly recover system from issues using Reimage.

Содержание

  1. Ошибка 5 при получении имен сеанса msg windows 10
  2. Вопрос
  3. Все ответы
  4. Как исправить ошибку 5 при получении имен сеансов в Windows 10
  5. Ошибка 5 Получение имен сеансов в решении Windows 10
  6. Registry Tweak
  7. How to Fix Error 5 Getting Session Names in Windows 10
  8. Error 5 Getting Session Names in Windows 10 Solution
  9. Registry Tweak
  10. Ошибка 5 при получении имен сеанса msg windows 10
  11. Вопрос
  12. Команда MSG – отправить сообщение пользователю.

Ошибка 5 при получении имен сеанса msg windows 10

trans

Вопрос

trans

trans

Ok after 2 days of research and messing with policys i still have yet to resolve this issue. Due to vista not having netsend anymore I tried using the msg.exe command. So far I have got it to work just on my local computer. But sending it to other vista computers It gives me an error:

Error 5 getting session names

I am computer Atlantis

Destination: computer designated as «Challenger»

Both running Vista Business SP1

msg /server:atlantis admin «Test Message»

(local to local pc works)

msg /server:challenger admin «Test Message»

—> Response: «Error 5 Getting Session Names»

We are in the same work group, we are not part of a domain

Any help would be appreciated. From reading it seems to be a policy edit that needs to be changed, but I do not know what to change, so any detailed instructions would be greatly appreciated.

Alternative i tried: Also i downloaded netsend by czero.com and I can only send the message to XP computers. I cannot send a message to even myself.

Все ответы

trans

trans

Msg.exe can only send message to a terminal server role, based on my test.

Both Windows Server 2003 and Windows Server 2008 with terminal service correctly configured can receive the message sent by Msg.exe from Windows Vista-based PC.

trans

trans

So if this only works as a terminal service role then what is the alternative to netsend because the program from cezeo as the netsend replacement doesn’t seem to work either.

trans

trans

Based on some discussions about this topic, some community members provide the following tool as the replacement of net send that is not included in Windows Vista:

It’s said to support Windows Vista. Please give it a try.

Important Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

trans

trans

Actually based on my research and use of this tool, this seems to only work for machines doing Vista->XP machines

trans

trans

trans

trans

Just an update on this issue that I forgot to post on this thread.

The cezero netsend allows you to send netsend messages but it doesn’t actually allow receiving because there is no winpopup installed on vista. As an alternative, msg.exe does work only in a domain environment.

For those of you on a workgroup environment such as me, I have found a solution that actually works.

Program called WinSent 1.1, install that czero netsend and just run this program, it is a freeware basic messaging window that is the closest thing I can find on the web to resemble netsend. It pops up and can be closed down.

Issue I ran into working at a library environment, patrons tend to turn the program off, work around I found.

I’m sorry I can’t find the tiny program, but there is a program that can be found on google, its about 50k big, what it does is search for a particular instance of a program of your choice and if its closed it reopens it to your system tray, the little program runs as a hidden process and you can set it to whatever time you want it to check. ex: 1 second, 5 seconds etc.

Other issue that I have yet to fix nor will I be able to fix, once the pop up message window actualyl opens, it can be dragged out of the viewable range and that is the end of that. Only work around I found is that when you log off using steadystate and log back into the profile it is reset.

Источник

Как исправить ошибку 5 при получении имен сеансов в Windows 10

Сервер Windows 10 позволяет отправлять сообщения, применяя команду MSG (msg.exe) в той же локальной сети. Эта функция была доступна со времен стартовой версии Windows, но тогда использовалась команда «time net send». Команда MSG заменила команду time net send в Windows Vista. Немногие пользователи жалуются, что при выполнении команды возникает ошибка 5 при получении имен сеансов.

Вы можете отправить SMS в командной строке (admin), используя синтаксис msg. msg.exe предназначен для обмена сообщениями с пользователями терминалов, поэтому причиной этой проблемы является неправильная конфигурация или отсутствие правильных настроек на сервере. Таким образом, простая настройка реестра устраняет проблему и позволяет снова отправлять сообщения.

Команда msg.exe не требует сторонних или встроенных средств. service и работает на Windows 10 pro и business. К сожалению, процесс заканчивается ошибкой 5 при получении имен сеансов или отказом в доступе на некоторых машинах.

lazy placeholder

Ошибка 5 Получение имен сеансов в решении Windows 10

Прежде чем переходить к следующему решению, убедитесь, что вы используете правильный синтаксис в командной строке с повышенными привилегиями. Например, определите сервер, пользователя и поместите сообщение в строковом формате. Предположим, что пользователь — Джей Роберт, который запускает jrobert-PC, тогда синтаксис msg.exe будет

C: msg/server: jrobert-pc jrobert «Пожалуйста, помогите мне», где Пожалуйста, помогите мне — это текст отправляемого сообщения.

Когда вы используете IP-адрес вместо имени ПК, вы можете столкнуться с проблемой, например, отказано в доступе или Ошибка 5 при получении имен сеансов.

Убедитесь, что вы вошли в Windows 10 как администратор и используете разрешение для сеанса, чтобы иметь возможность отправлять сообщения с помощью команды msg.

Registry Tweak

Манипуляции с ключами реестра — рискованная работа, поэтому мы рекомендуем сделать резервную копию перед запуском процесса.

Шаг 1. Нажмите клавишу с логотипом Windows, введите regedit.exe и затем нажмите Enter. Выберите Да в запросе управления учетной записью пользователя, блокируя экран.

Шаг 2: Скопируйте путь

Computer HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Control Terminal Server

вставьте в адресную строку редактора реестра и нажмите Enter.

Шаг 3. Перейдите на правую панель и найдите ключ AllowRemoteRPC. Найдя его, щелкните правой кнопкой мыши и выберите в меню «Изменить».

Закройте редактор реестра, перезагрузите систему Windows 10 и пользуйтесь командой MSG.

Источник

How to Fix Error 5 Getting Session Names in Windows 10

Windows 10 server lets you send a message applying MSG command (msg.exe) on the same Local network. This feature has been available since the starting version of Windows, but that time “time net send” command was used. MSG command replaced the time net send in Windows Vista. Few users complain that the get Error 5 Getting Session Names issue while running the command.

You can send SMS at command prompt (admin) using msg syntax. msg.exe is designed for messaging to terminal users so the cause of this issue is a misconfiguration or lack of proper settings on the server. So a simple registry tweak repairs the issue and makes you able to send messages again.

msg.exe command doesn’t need a 3rd party or built-in service and works on Windows 10 pro and business. Unfortunately, the process ends up with Error 5 getting session names or Access denied on some machines.

Error 5 Getting Session Names in Windows 10 image

Error 5 Getting Session Names in Windows 10 Solution

Before going for the following solution, make sure that you are using correct syntax in the elevated Command prompt. For example, define the server, user, and put the message in string format. Suppose the user is J Robert who is running jrobert-PC then the syntax for msg.exe would be

C: msg /server:jrobert-pc jrobert “Please help me” where Please help me is the text of the message you are sending.

When you use IP Address instead of the PC name you might find the issue like Access denied or Error 5 getting session names.

Ensure that you have logged into Windows 10 as an administrator and avail the permission for the session to be able to send the messages employing msg command.

Registry Tweak

Registry key manipulation is a risky work so we recommend taking a backup of the prior to starting the process.

Step-1: Press Windows logo key, type regedit.exe and then hit Enter. Select Yes on the User account control prompt locking the screen.

Step-2: Copy the path

paste into the address bar of the Registry Editor and press Enter.

Step-3: Go to the right pane and locate the key AllowRemoteRPC. Once found, make a right click and select Modify from the menu.

Step-4: On the Edit DWORD (32-bit) Value pop up, enter 1 in the value data field and select OK.

Close the registry editor, reboot the Windows 10 system and enjoy using MSG command.

Источник

Ошибка 5 при получении имен сеанса msg windows 10

trans

Вопрос

trans

trans

I’m trying to send a message to another computer over network by using msg command. Both computers are using Win 7 Ultimate and are in same workgroup. I can send messages to myself just fine, but I get «Error 1825 getting session names» when I try to send a message to that (or any other) computer.

-known solution to Error 5 (setting AllowRemoteRPC to 1 in registry)

-turning off firewall

-starting any service that has something to do with remote connection

-fixing WMI ports and port-forwarding them. Don’t know if I succeeded and if it’s even relevant, but I came across this when searching for solution to error 1825

I have a feeling it has something to do with router. I replaced original firmware with Tomato (v1.27) because of «quality of service». Router model is Linksys WRT54G/GS/GL. Any settings I should look for?

UPDATE: I created a homegroup, and while both computers are joined, msg command gives me error 5 instead of 1825. As I said, I already applied known fix for error 5, so it must be something else. Also, homegroup doesn’t work as it should, computers don’t detect each other and I do share libraries.

Another thing, when I joined the homegroup, cmd font became smaller on both computers. It should be 8×12 size by default, but 8×12 option disappeared. I fixed that now, but it’s still weird that joining a homegroup removed default font size in command prompt. It makes me wondering what else did homegroup mess up.

Источник

Команда MSG – отправить сообщение пользователю.

Формат командной строки:

Описание параметров командной строки :

Нынешняя реализация msg.exe прекрасно подходит для обмена сообщениями между сеансами локальных и терминальных пользователей в пределах одной системы, однако, в случаях обмена между разными компьютерами локальной сети, потребуется изменить некоторые настройки безопасности, принятые по умолчанию в операционных системах Windows Vista, 7 и более поздних.

При стандартных настройках, отправка сообщения пользователям удаленных компьютеров не выполняется и сопровождается сообщением:

Ошибка 1722 при получении имен сеанса

Это означает, что на компьютере, где должно приниматься посылаемое сообщение, невозможно получить информацию о вошедших в систему пользователях. Причиной может быть то, что брандмауэр блокирует входящие соединения, недостаточны права пользователя по отношению к удаленной системе, запрет удаленного вызова процедур в параметрах службы сервера терминалов. Как минимум, для обмена сообщениями с использованием команды msg между компьютерами, необходимо иметь учетную запись пользователя, действительную по отношению к удаленной системе и выполнить следующие настройки:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal Server]
«AllowRemoteRPC»=dword:00000001

Примеры использования MSG :

Для выполнения команды msg от имени другого пользователя можно воспользоваться утилитой PSExec из пакета PSTools или штатным средством runas.exe

runas /user:otheruser «msg * /server:win10 Test message»

Сообщения, отправляемые командой msg локальному пользователю компьютера с операционной системой Windows XP, который отсутствует ( еще не вошел в Windows ) отображаются в окне с приглашением к регистрации в системе и могут быть доступны посторонним.

Источник

2 / 4 / 1

Регистрация: 13.01.2014

Сообщений: 28

1

31.01.2014, 13:28. Показов 41560. Ответов 8


Добрый день!
Не отсылаются сообщения командой msg.
2 компа объединены в рабочую группу, друг друга в сети видят. windows 7.

Если выполнить msg * test приходит только на пк с которого выполняется данная команда.
На обоих пк учетки Admin и User.

__________________
Помощь в написании контрольных, курсовых и дипломных работ, диссертаций здесь



0



Модератор

Эксперт Windows

8364 / 3329 / 241

Регистрация: 25.10.2010

Сообщений: 13,538

31.01.2014, 16:55

2

cmd от имени админа запускаете?
антивирь/файрвол могут блокировать
И да покажите полный код



0



Почетный модератор

Эксперт по компьютерным сетямЭксперт Windows

28037 / 15768 / 981

Регистрация: 15.09.2009

Сообщений: 67,753

Записей в блоге: 78

01.02.2014, 07:53

3

да не работает оно… сам пытался разобраться с этим МыСыЖи… все как у ТС…
(либо мне не по мозгам оказалось)

Добавлено через 59 секунд
и юзеров с логином паролем создавал одинаковых, и от админа — один фиг.

Цитата
Сообщение от Macrosh
Посмотреть сообщение

выполнить msg * test приходит только на пк с которого выполняется данная команда.

так то…



1



Особый статус

Эксперт WindowsВирусоборец

8425 / 1704 / 87

Регистрация: 15.04.2011

Сообщений: 5,515

02.02.2014, 08:29

4

Цитата
Сообщение от Macrosh
Посмотреть сообщение

выполнить msg * test приходит только на пк с которого выполняется данная команда.

Это выполняется в сессии пользователя,попробуйте использовать конструкцию создания внешнего сетевого скрипта.

Добавлено через 4 минуты
а еще как вариант сменить каталог в сети и там вывести сообщение.



0



Клюг

7673 / 3188 / 382

Регистрация: 03.05.2011

Сообщений: 8,380

02.02.2014, 13:11

5

Лучший ответ Сообщение было отмечено как решение

Решение

Есть мнение, что не хватает

Код

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal Server]
"AllowRemoteRPC"=dword:00000001



4



2 / 4 / 1

Регистрация: 13.01.2014

Сообщений: 28

03.02.2014, 12:06

 [ТС]

6

Лучший ответ Сообщение было отмечено magirus как решение

Решение

magirus, Koza Nozdri, Charles Kludge, вроде разобрался

Да, действительно вначале необходимо поменять значение параметра AllowRemoteRPC на «1» на обоих пк.
Далее команда в cmd: msg User /server:IC000 test
где User — УЗ на пк, IC000 — имя пк, test — текст сообщения.
Отправка работает только под учеткой с правами админа, иначе выдает «Ошибка 5 при получении имен сеанса».



3



Клюг

7673 / 3188 / 382

Регистрация: 03.05.2011

Сообщений: 8,380

03.02.2014, 12:16

7

Лучший ответ Сообщение было отмечено как решение

Решение

Как это настроить с помощью GPO.



3



2 / 2 / 0

Регистрация: 24.08.2015

Сообщений: 10

10.06.2018, 05:57

8

Из-за санкций Интел стер русскую доску и ссылка не работает. Может осталась локальная копия?
Давать права админа только ради сообщений от юзера не дело, а иначе ошибка №5 «Отказано в доступе».



0



3 / 3 / 0

Регистрация: 27.07.2009

Сообщений: 20

06.06.2019, 06:44

9

с GPO есть тут



0



IT_Exp

Эксперт

87844 / 49110 / 22898

Регистрация: 17.06.2006

Сообщений: 92,604

06.06.2019, 06:44

9

Понравилась статья? Поделить с друзьями:
  • Коллимационная ошибка должна быть
  • Коды ошибок вольво фш12 д12а
  • Коды ошибок обд2 obd2 на русском
  • Коды ошибок бытовой техники приложение
  • Количество читателей нашей библиотеки непрерывно прогрессирует ошибки