Solved

Force MsgBox popup when users are logged into XP

Posted on 2010-08-24
3
601 Views
Last Modified: 2012-05-10
Is there a way to force a msgbox to pop up when users are logged into a XP box? For example: This would be to tell users to evacuate a building during an emergency.
0
Comment
Question by:maincabin
3 Comments
 
LVL 1

Expert Comment

by:trolley01
ID: 33518593
Simplest way that I can think of is to enable the Messenger service (use a group policy to change all machines) and then use NET SEND from a command prompt to send a message to all machines.

The message would then pop up on their machine.
0
 
LVL 67

Accepted Solution

by:
sirbounty earned 250 total points
ID: 33520996
Most company policies require the messenger service to be disabled.
I believe any form of net send - either CLI or via Server Manager tools utilize the same service/protocol for this communication.

There are 3rd party tools to accomplish what you're after, but if you're looking for something native/free, then you might try using the shutdown tool.  In a real emergency, you aren't going to care if the system is actually shutting down or not.  However for those 'lighter' emergencies, you will still get the benefit of having priority over all other desktop processes as this message appears in the foreground.

There are multiple methods of delivering such a command to your clients, parsing through a text file is one way.
But essentially you would run the following against the targeted machines (from an "Admin" console):

shutdown -m \\Computer -s -t 900 -c "Building is on FIRE!!  Evacuate Immediately!"

This gives you a 15 minute timer (increment the -t "seconds" as desired).
If it's any less of an emergency, you could still use this feature, but obviously you're scaring the pants off your employees as it does indicate the machine is shutting down (top box).  Your comment(s) appear in the bottom box.  You can test it out yourself, you would just run
shutdown -m \\Computer -a
to abort the procedure...
0
 

Author Closing Comment

by:maincabin
ID: 33529462
This works fine. We cannot use netsend. What is the string for multi computers to shut down?
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Welcome, welcome!  If you are new to the series and haven't been following along, please take a brief moment to review the first three installments: Part 1 (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/A_266-VBScri…
Well hello again!  Glad to see you've made it this far without giving up.  In this, the fourth installment of my popular series, I'm going to cover functions and subroutines, what they are, and why they are useful.  Just in case you stumbled onto th…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

762 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now