postheadericon msg .exe ( net send ) in windows vista / 7 - user does not exist or is disconnected


I wanted to play around with the old net send command, but it seems that in vista / 7 it has been replaced by msg.exe



gave the does not exist or is disconnected error.


After a while i found out it had to be 


example : msg /server:desktop2 tom hello world!


Don't forget to edit your register with this:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server

AllowRemoteRPC  set it to 1 if it is 0

Last Updated (Thursday, 11 February 2010 21:39)

Comments (22)
1 Thursday, 04 March 2010 18:58
hmm That's odd.

I don't why you would get "user does not exist or is disconnected" with that first command. What you should get is "invalid parameters"

I enter the details correctly but still get "user does not exist or is disconnected"...

Both pcs have the registry edit too...
RE: odd
2 Monday, 08 March 2010 19:52
Are you able to msg yourself (localhost) ?
msg /server:localhost username text
messenger service?
3 Sunday, 09 May 2010 15:42
apparently the messenger service has to be running on the remote pc too - although I'm still stuck at the disconnected stage 8(
Working with MSG
4 Wednesday, 25 August 2010 23:58
For those using a netword domain:

If you're receiving the error "user does not exist or is disconnected" then you'll need to enable remote access on the desitnation computer through the Remote tab of its System Properties window. Once that has been enabled you can the use the Select Users button in the same Window to add your user to this list of users allowed to remote into this machine.

Once that is done you'll then need to open the User Accounts icon in the Control Panel and click on Manage user accounts. In this account management window your user will be present with access to only remote connections. Select your user and click on the Properties button, and in the new window that opens enable your user as an administrator on the machine and click OK. Once this is done you'll be able to use msg.exe to send console messages to this computer regardless of what user is logged into it.

For those who get "user does not exist or is disconnected"
5 Wednesday, 06 October 2010 20:55
In the cmd try typing:
net view

this will bring up a name of computers, for example, mine is Garvan-PC

then, type:
msg /SERVER:[PC name] [Username] [msg]

you actually need to type the words "/SERVER:" and then put the PC name.

[Username] is the actual user profile they use to log into the PC

and [msg] is the message you wish to send
Another Fix
6 Wednesday, 26 September 2012 12:05
Ive had issue with user not exist. If you use "net view", the other computer/s should be listed there. If not, follow the steps with regedit but also, to why I still had issue was, make sure you are on same Domain or WORKGROUP. It can be checked and edited when you right click Computer and click properties. Make sure all computers are the same. Once I did it. Restarted my computer/s, I did net view, the other computer/s were listed.
My solution edited
7 Wednesday, 26 September 2012 12:51
Well, My solution may help others, but seems not for me. Both computers im using are setup exactly. Both Windows 7 Ultimate x64. Computer 1 when typing in the logged in user, says that user does not exist. If I use the *. No error, like it works when sending to self. But computer 2 doesnt get anything. I try computer 2 to 1. Either the C1 user or the * ends up with error 5 session names issue. From what I know, it only happens with the Terminal disabled (set to 0) but its all good!? set to 1!... So now im confused.
You may have to do this as the network admin
8 Monday, 10 February 2014 08:25
I was struggeling with this. apperently it worked as soon as I was running this command with our network admin accoung

script for messaging
9 Monday, 31 March 2014 13:23
Yes, vista and windows 7 cannot do “net send” and MSG only works to terminal servers or to local PCs.

I use a script to do popups on both XP, VISTA, and WINDOWS 7. Read the comments, because you must turn on powershell remote execution to get this to work.
@echo off
rem — John Neumann, 23mar2011
rem — Windows7 msg.exe only works on your local PC or over network to
rem — Terminal Servers, but you cannot msg.exe remotely to a workstation.
rem — This script allows you to do like the old pre-vista “net send”
rem — to send to all PCs and Servers on your Active Directory domain.

rem — All PCs need powershell remote executions turned on and this
rem — could be seen as a security risk.
rem — Put this command into your logon script or group policy:
rem — powershell enable-psremoting -force

if ‘%1′==” (
echo Usage: netsend.bat “Thing to say to all networked PCs & Servers”
goto :EOF

rem — %%~NXa gets rid of leading directory type \ characters,
rem — doing filename only (which is host name in this case)
echo Your taskbar will temporarily have many minimized processes as I send messages.
for /f “usebackq” %%a in ( `net view^|find “\\”` ) do (
echo msg to %%~NXa
start /MIN /NORMAL “title msg to %%~NXa” powershell -command Invoke-Command -Computername %%~NXa {msg.exe * %1 %2 %3 %4 %5 %6 %7 %8 %9}
echo Your taskbar will temporarily have many minimized processes as I send messages.
echo Each taskbar process will go away as messages complete.

rem — Done
10 Wednesday, 16 April 2014 08:55
my solution - I use lansend
simple alternative
11 Monday, 16 June 2014 13:41
Our company moved to simple lan chat application, it supports most of Windows version from XP to 8.1
There is no need to learn command syntax.
dont works
12 Tuesday, 02 September 2014 19:01
here dont works

when i put
msg /server: PMS96392 Hi
gives me: Erro 5 ao obter nomes de sessao

when:msg PMS96392 Hi
gives me: nao existe ou esta desconectado!
Error 1772
13 Saturday, 15 November 2014 12:36
what is "Error 1772 getting session names "
msg command
14 Tuesday, 17 March 2015 07:52
Why the msg command works only with admin and not with regular user?
i am getting user not exist or is disconnected error while using a msg command
15 Wednesday, 29 April 2015 06:00
i am getting user not exist or is disconnected error while using a msg command
16 Monday, 10 August 2015 14:50
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?
17 Friday, 22 January 2016 07:28
i also have the problem user disconnected
i have done the registry setup but still it ...
any suggetion
Value: 1 (the dafault is ‘0’) / rnunez does not exist or is disconnected
18 Monday, 27 June 2016 17:54
Hello everyone...I hope everyone is doing ok. Looks like nobody found a solution to a problem...

This is what happen prior to changing my registry

HKLM \ SYSTEM \ CurrentControlSet \ Control \ Terminal Server
Name: AllowRemoteRPC
Value: 1 (the dafault is ‘0’)

C:\Users\shamil>msg rnunez /server:WKRNUNEZW7
Enter message to send; end message by pressing CTRL-Z on a new line, then ENTER
Hello Test1
Error 5 getting session names

After making registry change to Value: 1 (the dafault is ‘0’)

C:\Users\shamil>msg rnunez /server:WKRNUNEZW7
Enter message to send; end message by pressing CTRL-Z on a new line, then ENTER
Hello Test2
rnunez does not exist or is disconnected
Error 1825
19 Sunday, 03 July 2016 13:19
what is "Error 1825 getting session names "
messaging in LAN
20 Friday, 24 March 2017 11:46
Hello there, let me know if I'm right.
1. Windows XP (net send is ok, it works)
2. Windows 7 home version (net send is not supported, msg command is not supported)
3. Windows 7 professional and enterprise (msg command is supported)
MSG command
21 Friday, 22 March 2019 15:22
Yo probe asi y funciono:

C:\Users\amedina>msg /SERVER:pc-emus00468 amedina hello

Estoy probando en una maquina Win 10 Pro.

I tested like this and works fine:

C:\Users\amedina>msg /SERVER:pc-emus00468 amedina hello

I am testing on a Win 10 Pro workstation.
msg command
22 Friday, 24 May 2019 07:52
I still can't get this to work. I am trying to send between XP and 7, when sending from XP it gets a access denied error. Vista and 7 say the user doesn't exist or is disconnected.

Yet I can sucessfully make each system send a msg to it's self.

All in the same workgroup.

perhaps you can't send between these OS's.

Anyone know whether this is possible?

Add your comment

Your name:
Your email:
Your website: