Solved

Force MsgBox popup when users are logged into XP

Posted on 2010-08-24
3
603 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Welcome to part one of a multi-part tutorial series, VBScript for Windows System Administrators.  The goal of this series is to teach non-programmers how to write useful VBS code to automate their environment, and perform tasks faster, and in a more…
This is pretty cool.  The purpose of this VB Script is to help you document where JAR (Java ARchive) files and specifically java class files are located so that you can address issues seen with a client or that you can speak intelligently with a dev…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

948 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

18 Experts available now in Live!

Get 1:1 Help Now