Windows 7 msg ошибка 5

Info
My Windows-Server 2008 R2 machine couldn’t msg my Windows 7 box due to Error 5 getting session names.
I found the solution here, in a comment made by Consoles. I reblog it so it can be found easier.

It turns out it has nothing to do with not being on the same domain or whatever. It is due to a setting related to Terminal Server.
That’s not to miraculous, since msg.exe is designed for messaging to terminal users.

So, changing a simple registry value and rebooting makes it all work again.

Solution
On the machine that you cannot message to:
Use regedit to navigate to: HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server
Then change the following value:

Name : AllowRemoteRPC
Type : REG_DWORD
Value : 1

Reboot. Now it should work. 🙂

2 / 4 / 1

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

Сообщений: 28

1

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


Студворк — интернет-сервис помощи студентам

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

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



0



Модератор

Эксперт Windows

8718 / 3343 / 244

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

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

31.01.2014, 16:55

2

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



0



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

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

28044 / 15777 / 982

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

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

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

01.02.2014, 07:53

3

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

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

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

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

так то…



1



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

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

8426 / 1705 / 87

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

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

02.02.2014, 08:29

4

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

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

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

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



0



Клюг

7674 / 3189 / 382

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

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

02.02.2014, 13:11

5

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

Решение

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

Код

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal 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



Клюг

7674 / 3189 / 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

  • Remove From My Forums
  • Вопрос

  • Hi,

    I’m trying to send a message with the msg.exe to a Win 7 host. But I always got the error «Error [5]:Access is denied». What I have to do to get the permission to send a message to the host?

Ответы

  • Hi Sven,

    Could you please take following steps to troubleshoot the issue?

    1. Open the Registry Editor.
    2. In the left pane, locate and then click the following registry subkey:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server

    3. In the right pane, ensure value of AllowRemoteRPC key is 1. If not, please change it to 1.
    4. Quit Registry Editor and Reboot the computer.
    5. Run MSG command in a elevated CMD window.

    Hope it helps.

    • Помечено в качестве ответа

      10 октября 2009 г. 11:31

  • Remove From My Forums
  • Question

  • Hi,

    I’m trying to send a message with the msg.exe to a Win 7 host. But I always got the error «Error [5]:Access is denied». What I have to do to get the permission to send a message to the host?

Answers

  • Hi Sven,

    Could you please take following steps to troubleshoot the issue?

    1. Open the Registry Editor.
    2. In the left pane, locate and then click the following registry subkey:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server

    3. In the right pane, ensure value of AllowRemoteRPC key is 1. If not, please change it to 1.
    4. Quit Registry Editor and Reboot the computer.
    5. Run MSG command in a elevated CMD window.

    Hope it helps.

    • Marked as answer by

      Saturday, October 10, 2009 11:31 AM

Step 1 – Solve Msg Error 5 Getting

Is Msg Error 5 Getting appearing? Would you like to safely and quickly eliminate Msg Error 5 which additionally can lead to a blue screen of death?

When you manually edit your Windows Registry trying to take away the invalid windows msg error 5 getting session names keys you’re taking a authentic chance. Unless you’ve got been adequately trained and experienced you’re in danger of disabling your computer system from working at all. You could bring about irreversible injury to your whole operating system. As very little as just 1 misplaced comma can preserve your Pc from even booting every one of the way by!

Troubleshooting windows 7 msg error 5 getting session names Windows XP, Vista, 7, 8 & 10

Simply because this chance is so higher, we hugely suggest that you make use of a trusted registry cleaner plan like CCleaner (Microsoft Gold Partner Licensed). This system will scan and then fix any Msg Error 5 Getting complications.

Registry cleaners automate the entire procedure of finding invalid registry entries and missing file references (including the 5 error) likewise as any broken hyperlinks inside of your registry.

Issue with error 5 getting session names msg command

Backups are made immediately prior to each and every scan providing you with the choice of undoing any changes with just one click. This protects you against doable damaging your pc. Another advantage to these registry cleaners is that repaired registry errors will strengthen the speed and performance of one’s procedure drastically.

  • https://social.technet.microsoft.com/Forums/windows/en-US/eb0b8c05-4ace-42bf-ac7b-a18229b01465/msgexe-error-5-getting-session-names?forum=itprovistanetworking
  • http://www.hacking-tutorial.com/tips-and-trick/windows-7-chat-how-to/
  • http://www.windowsnetworking.com/kbase/WindowsTips/Windows7/AdminTips/Admin/GettingMsg.exetoworkonWindows7.html
  • http://www.tomshardware.com/answers/id-2194854/msg-cmd-prompt-error-session-names.html

Cautionary Note: Yet again, for those who are not an state-of-the-art consumer it’s very encouraged that you simply refrain from editing your Windows Registry manually. If you make even the smallest error within the Registry Editor it can result in you some serious issues that may even call for a brand new set up of Windows. Not all difficulties attributable to incorrect Registry Editor use are solvable.

Fixed: msg error getting session names 1722

Symptoms of Msg Error 5 Getting
“Msg Error 5 Getting” appears and crashes the energetic method window.
Your Personal computer routinely crashes with Msg Error 5 Getting when running the exact same system.
“Msg Error 5 Getting” is shown.
Windows operates sluggishly and responds little by little to mouse or keyboard input.
Your computer periodically “freezes” for the number of seconds in a time.

Will cause of Msg Error 5 Getting

Corrupt obtain or incomplete set up of Windows Operating System software program.

Corruption in Windows registry from a new Windows Operating System-related application adjust (install or uninstall).

Virus or malware infection which has corrupted Windows method documents or Windows Operating System-related application data files.

Another method maliciously or mistakenly deleted Windows Operating System-related files.

Mistakes this sort of as “Msg Error 5 Getting” can be brought about by several different elements, so it really is important that you troubleshoot every of the achievable brings about to forestall it from recurring.

Simply click the beginning button.
Variety “command” inside the lookup box… Will not hit ENTER nonetheless!
Although keeping CTRL-Shift in your keyboard, hit ENTER.
You’re going to be prompted that has a authorization dialog box.
Click on Of course.
A black box will open having a blinking cursor.
Variety “regedit” and hit ENTER.
Within the Registry Editor, choose the windows msg error 5 getting session names connected key (eg. Windows Operating System) you wish to back again up.
Within the File menu, choose Export.
Inside the Preserve In list, pick out the folder in which you wish to save the Windows Operating System backup key.
Inside the File Title box, sort a reputation for the backup file, these types of as “Windows Operating System Backup”.
From the Export Vary box, ensure that “Selected branch” is selected.
Click on Help you save.
The file is then saved by using a .reg file extension.
You now use a backup within your windows 7 msg error 5 getting session names related registry entry.

Solution to your cmd msg error 5 problem

There are actually some manual registry editing measures that can not be talked about in this article due to the high chance involved for your laptop or computer method. If you want to understand more then check out the links below.

Additional Measures:

One. Conduct a Thorough Malware Scan

There’s a probability the Error Getting 5 Msg error is relevant to some variety of walware infection. These infections are malicious and ready to corrupt or damage and possibly even delete your ActiveX Control Error files. Also, it’s attainable that your Msg Error 5 Getting is actually connected to some element of that malicious plan itself.

2. Clean msg error 5 access is denied Disk Cleanup

The a lot more you employ your computer the extra it accumulates junk files. This comes from surfing, downloading packages, and any sort of usual computer system use. When you don’t clean the junk out occasionally and keep your program clean, it could turn into clogged and respond slowly. That is when you can encounter an Getting error because of possible conflicts or from overloading your hard drive.

Once you clean up these types of files using Disk Cleanup it could not just remedy Msg Error 5 Getting, but could also create a dramatic change in the computer’s efficiency.

Tip: While ‘Disk Cleanup’ is definitely an excellent built-in tool, it even now will not completely clean up Msg Error discovered on your PC. There are numerous programs like Chrome, Firefox, Microsoft Office and more, that cannot be cleaned with ‘Disk Cleanup’.

Since the Disk Cleanup on Windows has its shortcomings it is extremely encouraged that you use a specialized sort of challenging drive cleanup and privacy safety application like CCleaner. This system can clean up your full pc. If you run this plan after each day (it could be set up to run instantly) you are able to be assured that your Pc is generally clean, often operating speedy, and always absolutely free of any 5 error associated with your temporary files.

How Disk Cleanup can help msg error 2114

1. Click your ‘Start’ Button.
2. Style ‘Command’ into your search box. (no ‘enter’ yet)
3. When holding down in your ‘CTRL-SHIFT’ important go ahead and hit ‘Enter’.
4. You will see a ‘permission dialogue’ box.
5. Click ‘Yes’
6. You will see a black box open up plus a blinking cursor.
7. Variety in ‘cleanmgr’. Hit ‘Enter’.
8. Now Disk Cleanup will start calculating the amount of occupied disk space you will be able to reclaim.
9. Now a ‘Disk Cleanup dialogue box’ seems. There will be a series of checkboxes for you personally to pick. Generally it will likely be the ‘Temporary Files’ that consider up the vast majority of your disk area.
10. Verify the boxes that you want cleaned. Click ‘OK’.

How to repair msg error code 0146

3. System Restore can also be a worthwhile device if you ever get stuck and just desire to get back to a time when your computer system was working ideal. It will work without affecting your pics, paperwork, or other crucial information. You can discover this option with your User interface.

Msg Error

Manufacturer

Device

Operating System


Msg Error 5 Getting


4 out of
5

based on
55 ratings.

 

  • Windows 7 maximum x64 скачать торрент
  • Windows 7 msdn где скачать
  • Windows 7 logon and logoff
  • Windows 7 mini скачать торрент 32 bit для ноутбука
  • Windows 7 loader выдает ошибку