Solved

Creating informative pop-up boxes for users

Posted on 2011-09-27
6
175 Views
Last Modified: 2013-11-25
Our IT department has been tasked with finding a way to have information "splash screens" appear on selected users' monitor whenever they log in to the network or (preferably) each time they unlock their Windows session (screens lock automatically after 30 minutes idle).  What we're doing now:

Create file named index.html in "holding" folder
Create .bat file which copies index.html file to \\servername\announcements folder
Create scheduled task to run .bat file on specific date
Put line in users log in script that says if \\servername\announcements\index.html exists, open the file in IE.
Create scheduled task to delete file when event is over.

Because we have lots of events, we're constantly creating and updating pages, bat files and scheduled tasks.  Users who don't log out and back in every day never see the screens anyway.

There has GOT to be an easier way to accomplish this task!  Anybody had to do something like this before?  Doesn't have to be an .html file....just has to pop up in front of the user at specified time.
0
Comment
Question by:sec1971
[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
  • 4
  • 2
6 Comments
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 36716959
You could use scheduled tasks on the users machines. What I've done is set a task to run every day (and check the option to run as soon as possible if missed). Then have it run a .bat file on the server. This way you can make it do whatever you want it to do (launch a .html, create a new scheduled task, etc.) It's like a logon script except it runs once per day no matter if they leave their computers on or reboot them multiple times.

If you want to make sure something happens so you want to leave it in the .bat file more than one day (in case someone is on vacation and his computer is off) but it can only run once, have it create a temp file and check if it exists before running. Or to be super fancy, each time you change the .bat, increment a version number. Then save that to a file on each user's machine. That way you can check and see which ran last.

You could even have it run every hour and just do the new things, but then the command prompt window will pop up briefly every hour so it may be better to just have it run at night.
0
 

Author Comment

by:sec1971
ID: 36716975
Thanks Tommy but I think that would end up being more work than we have to do already.  We have 100 users, so instead of creating one screen, one bat and one task, we'd being doing it all times 100.  I'm really hoping someone has a third party software option that will help with this!
0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 36717510
No. You put the .bat on the server and push the same task to all the machines using the startup script so you only ever need to change one thing.
0
 Watch the Recording: Learning MySQL 5.7

MySQL 5.7 has a lot of new features. If you've dabbled with an older version of MySQL, it is definitely worth learning.

 
LVL 37

Expert Comment

by:TommySzalapski
ID: 36717528
Anyway, it works well for us. I know there are ways to make a message box pop up at login, but not when it unlocks. I think you would need to create a Windows service that would watch for the unlock event.
0
 

Author Comment

by:sec1971
ID: 36717699
I think I understand what you're suggesting.  My only question is, doesn't that method require that you change the file on a daily basis and can schedule nothing ahead of time?  And how do you handle a day where some people need to see multiple screens of information, but others don't?

We currently schedule some screens days or weeks in advance, and then add, delete or edit as necessary throughout the week.
0
 
LVL 37

Accepted Solution

by:
TommySzalapski earned 500 total points
ID: 36718693
I see. In that case I would use a .vbs file instead of a .bat and check the date and username and whatever else. (You probably could do all that from a .bat, but I'm better with VBScript).
0

Featured Post

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

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

Learn how ViaSat reduced average response times for IT incidents from 10 minutes to 30 seconds.
When you’re making plans to join the modern business race, you should analyze various details that may affect your results. Nowadays, millions of businesses are trying to grow into established and appreciated professional enterprises.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
Starting up a Project
Suggested Courses

624 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