Solved

Force MsgBox popup when users are logged into XP

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Run AutoHotkey script directly from Notepad++ 5 145
Modify file details 1 23
Excel formula to report date modified 14 43
Convert this script to work with Windows 10 ftp 36 72
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…
Not long ago I saw a question in the VB Script forum that I thought would not take much time. You can read that question (Question ID  (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_28455246.html)28455246) Here (http…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

696 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