Solved

Creating informative pop-up boxes for users

Posted on 2011-09-27
6
167 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
  • 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

The new Microsoft OS looks great, is easier than ever to upgrade to, it is even free.  So what's the catch?  If you don't change the privacy settings, Microsoft will, in accordance with the (EULA) you clicked okay to without reading, collect all the…
No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
Viewers will learn the different options available in the Backstage view in Excel 2013.
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…

863 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