Solved

Force MsgBox popup when users are logged into XP

Posted on 2010-08-24
3
605 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 Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

789 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