Net send doesn't recognize username

  • Thread starter Thread starter Chris Hall
  • Start date Start date
C

Chris Hall

I was going to setup alerts on a server, so I got to a command prompt to try
a net send first. The message wouldn't go through. I get the following
error: The message alias could not be found on the network. I tried on my
w2k pro, xp pro w2k and w3k server. I also tried variations of my
name..actual username, first initial, lastname and full name. Any
suggestions?
 
Chris said:
I was going to setup alerts on a server, so I got to a command prompt to try
a net send first. The message wouldn't go through. I get the following
error: The message alias could not be found on the network. I tried on my
w2k pro, xp pro w2k and w3k server. I also tried variations of my
name..actual username, first initial, lastname and full name. Any
suggestions?

Isn't it

net send <COMPUTERNAME> message

rather than username???
 
I was going to setup alerts on a server, so I got to a command prompt to try
a net send first. The message wouldn't go through. I get the following
error: The message alias could not be found on the network. I tried on my
w2k pro, xp pro w2k and w3k server. I also tried variations of my
name..actual username, first initial, lastname and full name. Any
suggestions?

Make sure the Messenger service is running on the client machines.
 
Isn't it

net send <COMPUTERNAME> message

rather than username???

Either. See NET SEND /HELP

The syntax of this command is:

NET SEND
{name | * | /DOMAIN[:name] | /USERS} message

Sends messages to other users, computers, or messaging names
on the network. The Messenger service must be running to receive
messages.

You can send a message only to a name that is active on the network.
If the message is sent to a username, that user must be logged on
and running the Messenger service to receive the message.

name Is the username, computername, or messaging name
to send the message to. If the name is a
computername that contains blank characters,
enclose the alias in quotation marks (" ").
* Sends the message to all the names in your group.
/DOMAIN[:name] Sends the message to all the names in the
workstation domain. If name is specified, the
message is sent to all the names in the specified
domain or workgroup.
/USERS Sends the message to all users connected to
the server.
message Is text to be sent as a message.
 
In microsoft.public.win2000.cmdprompt.admin Michael Bednarek
wrote:
Isn't it

net send <COMPUTERNAME> message

rather than username???

Either. See NET SEND /HELP

The syntax of this command is:

NET SEND
{name | * | /DOMAIN[:name] | /USERS} message

And also any intermediate firewalls must allow the traffic to pass
through them. Or IPSEC rules,...
 
Thanks, Michael and all.

I haven't worked with 2k3 server much at this point and it appears that the
messenger service was disabled. Didn't think about that service not running.
Anyway, I think I'm going to opt to send to a machine rather than a person.

Merry Christmas,
C
 
Chris Hall said:
I was going to setup alerts on a server, so I got to a command prompt to
try
a net send first. The message wouldn't go through. I get the following
error: The message alias could not be found on the network. I tried on my
w2k pro, xp pro w2k and w3k server. I also tried variations of my
name..actual username, first initial, lastname and full name. Any
suggestions?

Make sure your username is actually registered on the machine you think it
is. Each messaging alias must be unique, meaning it can only exist on one
machine at a time. If you log into multiple machines, your username will
only be registered as a messaging alias at one of them (usually the first
one). If you log off that machine, then none of them will be accepting
messages with your username until you log off and log on again.

To see which names are accepting messages at a client, run "net name". To
add a name manually, run "net name %username% /add".

C:\>net.exe name /?
The syntax of this command is:

NET NAME
[name [/ADD | /DELETE]]
 
Also, if you use WINS, you can look up what a name will resolve to by looking at
WINS. You want to look specifically at the 03 record.

--
Joe Richards Microsoft MVP Windows Server Directory Services
www.joeware.net


Marty said:
Chris Hall said:
I was going to setup alerts on a server, so I got to a command prompt to
try
a net send first. The message wouldn't go through. I get the following
error: The message alias could not be found on the network. I tried on my
w2k pro, xp pro w2k and w3k server. I also tried variations of my
name..actual username, first initial, lastname and full name. Any
suggestions?

Make sure your username is actually registered on the machine you think it
is. Each messaging alias must be unique, meaning it can only exist on one
machine at a time. If you log into multiple machines, your username will
only be registered as a messaging alias at one of them (usually the first
one). If you log off that machine, then none of them will be accepting
messages with your username until you log off and log on again.

To see which names are accepting messages at a client, run "net name". To
add a name manually, run "net name %username% /add".

C:\>net.exe name /?
The syntax of this command is:

NET NAME
[name [/ADD | /DELETE]]
 
Back
Top