Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

Net Send command with domain name specified

etti
Occasional Visitor

Net Send command with domain name specified

Can anybody give me the example of how to use the Net Send command with domain/username format. For eg. I have to send a message to an user "abc" on "xyz" domain. How do I go about it?
2 REPLIES
Roger Faucher
Honored Contributor

Re: Net Send command with domain name specified

This is the information I cut/pasted from the Command Prompt on my WIN2K Pro machine. Just type NET HELP SEND. Therefore, the answer to your question is:

NET SEND ABC message

-----------------------------------------------

C:\>net help send
""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 an 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.

NET HELP command | MORE displays Help one screen at a time.""
Make a great day!

Roger
Dan Robinson
Occasional Advisor

Re: Net Send command with domain name specified

You cant specify a domain. But if your domains use the same WINS Server your message may still get through as User IDs are registered with WINS.

I tested this going from 1 domain to my user id in another with net send and it didnt work. I did the same thing by highlighting my user ID inside Hyena (through Terminal Server) and Right Clicked and said "Send Message" and though it took 4 seconds, the message came though.