Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there a way to send net messages to a set of users in the domain.

Suppose the domain contains 100 machines and I need to send net messages to 10 of them. Is this possible in Windows Server 2003.

Edit:

I know how to send a message to a single machine. I would like to know whether it could be possible to send a message to more than 1 user using a single net send command.

share|improve this question

5 Answers 5

You really want an instant messaging client on those comptuers to do what you're trying to do in lieu of the "Messenger Service". AFAIK, the "Messenger Service" is considered deprecated by Microsoft.

That having been said, if you have to do this, use the syntax below to send messages to specific users with the "NET SEND" command:

NET SEND <username> "Message"

The only way to send a message to multiple computers at a time is through either the "NET SEND /USERS", "NET SEND *", or "NET SEND /DOMAIN:domainname" arguments. There is no other mechanism.

If you had your list of users in a text file, you could do something like the following from a command-prompt:

FOR /F %i IN (userfile.txt) DO NET SEND %i "Message here"
share|improve this answer
    
Please see my edit –  phoenix Jul 17 '09 at 11:56
    
+1 but it's probably also worthwhile mentioning that the Messenger service is disabled by default in all recent (and some not-so-recent) versions of Windows. Enable at your own risk, and be aware of the consequences of doing so. –  Darth Satan Jul 17 '09 at 11:59

To send to specific users? You could use the "msg.exe" program in Windows Server 2003.

However, you'll need to script it if you want it to talk to multiple computers.

share|improve this answer

Like this, however, as mentioned previously, the Messenger service is disabled by default and can be abused (all known vulnerabilities have been patched, so it's more of a social engineering / silly pranks issue such as obscene messages "anonymously" being sent to a particular person):

net send /domain:<domain> <message>

Documentation: Net send command

share|improve this answer

NET SEND IP adress "Message"

share|improve this answer

Use a third party LAN messenger maybe a good choice to replace net send command. Check out the comparison between net send vs LAN messenger.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.