Solved

Broadcast to active directory user, regardless of which computer, using the command line

Posted on 2014-12-07
11
405 Views
Last Modified: 2014-12-07
I need to send a broadcast message to an employee that is in active directory, regardless of which computer they are on.

Assistance is greatly appreciated.
0
Comment
Question by:frugalmule
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
  • 2
11 Comments
 
LVL 12

Expert Comment

by:andreas
ID: 40485762
net send USERNAME messagetest

ist not doing the desired result? as far as i remember it should be like this. its long long ago as i used this feature before.
0
 

Author Comment

by:frugalmule
ID: 40485789
syntax not working
0
 
LVL 24

Accepted Solution

by:
NVIT earned 500 total points
ID: 40485791
Up to XP: net send username "Message"
Windows 2000, XP, 7, 8, ...: msg username "Message"
0
Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

 

Author Closing Comment

by:frugalmule
ID: 40485814
Outstanding!   Is it possible to have them interact with me through that command?
0
 

Author Comment

by:frugalmule
ID: 40485816
How do I write it to have it send to multiple users?
0
 
LVL 12

Expert Comment

by:andreas
ID: 40485818
they can use the same command to answer, just replace the username with your username. If thats enough interaction for you, then yes they can.
0
 
LVL 24

Expert Comment

by:NVIT
ID: 40485825
To send to multiple users, you have to decide to send to: 1) Everyone on domain. 2) Certain users only.

Certain users: for %%C in (user1 user2 user3) do msg %%C Message

Everyone on domain: for /F "delims=\" %%C in ('net view ^| find "\\"') do msg * /server:%%C /time:30 Hey^!

See Qlemo's solution at http://www.experts-exchange.com/Security/Operating_Systems_Security/Q_26314939.html#a33440032
0
 

Author Comment

by:frugalmule
ID: 40485827
Interesting.  I was doing this to myself but now that I try it with other network users, I get the message "does not exist or is disconnected".  This happens whenever I use the syntax msg username message or msg ipaddress message.
0
 
LVL 24

Expert Comment

by:NVIT
ID: 40485833
Not certain but I think the user must be logged on?
0
 

Author Comment

by:frugalmule
ID: 40486056
They are.  That's what is so interesting.
0
 
LVL 24

Expert Comment

by:NVIT
ID: 40486079
Try
Msg * /SERVER:yourservernamehere "hello everyone!"
What does that do?
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
Here's a look at newsworthy articles and community happenings during the last month.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

687 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question