Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1413
  • Last Modified:

Need to send scheduled popup message to all users on both PC's and Terminal Server.

I need to be able to send a scheduled popup message to all domain users regardless of they are on a PC or logged into our Citrix / Terminal Servers.
0
jrc4728
Asked:
jrc4728
1 Solution
 
Cláudio RodriguesCommented:
The NET SEND command should work. You can schedule it as a task on a machine or server to do it.

Claudio Rodrigues
Microsoft MVP
Windows Server - Terminal Services
0
 
jrc4728Author Commented:
I tried the net send. My Terminal Server users get a message for each user who is logged in to the server (or so it seems). They click ok, and it comes back up. They have to click ok 30 or 40 times before the message will go away.
0
 
oBdACommented:
Try the msg command (available in XP/W2k3; ).
You'll need a list with all the machines in your domain and the following command:

for /f %a in (MachineList.txt) do msg * /server:%a "This is a broadcast message to all users."

If you want to use this in a batch file, use %%a instead of %a.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now