How can I get MSG.exe working on my CMD?

ic3hat 6 Reputation points
2022-12-15T18:02:52.237+00:00

Good Afternoon EST,

I've been trying to get at this issue for a while, I have an issue where a coworker on my LAN (hardwired) is able to use the msg command and message me with no issues however I can't seem to message him back. I've checked his computer name computername (confirmed computer name is correct) and I am able to ping his computer with no issues. However I either get a message stating |user does not exist or is disconnected. | error 1722 | error 5| or * does not exist |.

the commands I've been using:

MSG * /SERVER:computername /TIME:60 "test"

MSG /SERVER:computername * /TIME:60 "test"

MSG /SERVER:computername /TIME:60 * "test"

MSG username /SERVER:computername /TIME:60 "test"

MSG /SERVER:computername /TIME:60 * test

MSG /SERVER:computername /TIME:60 test

...

As I've said, I am able to ping his machine with no issues, and he is able to message me with no problem.

I have changed the DWORD value on the AllowRemoteRPC Registry Key from 0 to 1, I have also added an inbound and outbound firewall rule for TCP Port 445 to allow any user. I then rebooted my PC after this step.

I've tried this in CMD using the default directory, I've tried running as admin, I've tried powershell. Nothing seems to work.

I'd also like to add that I am running Windows 10 Pro we are both connected to our Domain through AzureAD and both logged on to those AzureAD users, I have however tried both my local admin account as well as my AzureAD Admin account, no luck. I'm at a loss, hoping someone has a resolution, thanks.

Windows for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. ic3hat 6 Reputation points
    2022-12-16T20:00:53.047+00:00

    THIS IS A BUMP

    0 comments No comments

  2. MotoX80 36,411 Reputation points
    2022-12-17T13:53:39.31+00:00

    This site says that you need to enable WinRM.

    https://sid-500.com/2017/10/07/active-directory-send-messages-to-all-currently-logged-on-users-msg-exe/

    I doubt that many users use msg anymore. A GUI like Teams where you can do group chats and video calls is more prevalent.

    https://support.microsoft.com/en-us/office/first-things-to-know-about-chats-88ed0a06-6b59-43a3-8cf7-40c01f2f92f2?culture=en-us&country=US

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.