?
Solved

Informative screens at network log in

Posted on 2014-04-14
9
Medium Priority
?
341 Views
Last Modified: 2014-04-20
Our IT department has been tasked with coming up with a way to make a "splash screen" pop up when an employee logs in to their computer.  These screens notify of upcoming firm events, meeting dates and times, etc.  

We have managed to achieve that with the following steps:
1) Create an .html file named the date the screen will run (i.e. 4-14-14.html)
2) Create a .bat file to copy that .html file to a network location
3) Create a scheduled task to run the .bat file on the appropriate date
4) Add a line to every employee's login script to open the .html file in the network location if it exists

The process works, but it's obviously extremely time consuming, especially since a lot of the screens change dates and thus, we have to start over.  That's a three step process for each screen!

Anybody know of a better way to achieve a customized screen that pops up on a specified date at log in?  And since we're not programmers, a third party software solution would be great!
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
  • 3
9 Comments
 
LVL 42

Expert Comment

by:Adam Brown
ID: 40000416
Well, you could just create a scheduled task that runs when the users log on, deploy it via GPO the night before the scheduled deploy time, and set it to run the network based HTML file.
0
 
LVL 10

Accepted Solution

by:
Korbus earned 2000 total points
ID: 40000637
Need to think about how to implement this a bit more but... Naming the file by date is smart,  why do you rename it?  If your logon script can simply call the html file by name/date (dynamically creating the name, from the current system date, at run time), there would be no need to adjust GPO's or scripts or anything- just put the new file in place.  (This also give you/users an archive of past notices.)

edit/addition:
This is a sample of what you can do in the logon script (echo is for debugging):

set filename=\\server\share\folder\%date:~10%%date:~4,2%%date:~7,2%.html
echo %filename%
0
 

Author Comment

by:sec1971
ID: 40008854
It is hard to believe no one else is doing something like this. It gets information in front of employees as soon as they login. We call it a splash screen. Is there something else it is more commonly called?
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
LVL 10

Expert Comment

by:Korbus
ID: 40008979
I agree, I think it's a great place to distribute company wide info.  
Splash screen sounds like a good name for it, to me.


It's really no big deal, just curious why you only graded the solution I provided with a "B"?  Unlike school grades, usually this means I provided only a partial solution, but left something out.
http://support.experts-exchange.com/customer/portal/articles/481419
0
 

Author Comment

by:sec1971
ID: 40008988
I guess it's not your fault and I should have given you an A. It is our process that deserves the B. I was hoping for a solution completely different from what we were using instead of a better version of what we are doing.
0
 
LVL 10

Expert Comment

by:Korbus
ID: 40009021
All good: grade explanation is appreciated.

The solution of simply putting the file in place sounds pretty good/simple to me.  

Automating the other half of this solution:
Now that you have automated distribution, I'd think the next step would be automate the generation of the file.  If you create an interface (like a SQL/ACCESS DB)  where executives can add in bullet points, and specify dates that they should be displayed on the splash screen.  A daily process can export (or generate an HTML report), containing the appropriate bullet points, based on date, and create the splash screen with that (in the correct location with the correct filename.)
Obviously this is NOT a simple project, but once done, you & your IT guys wont have to deal with splash screens everyday, and you will have a workflow process in place for executives to add items to splash screens.
0
 

Author Comment

by:sec1971
ID: 40009104
Korbus,

set filename=\\server\share\folder\%date:~10%%date:~4,2%%date:~7,2%.html
echo %filename%

Thanks for this solution.  Can you please give me an example of exactly what the name of the file should be for a specific date to work with this script line?  I can't tell by looking at your entry above what format the date (filename) should be (i.e. 04-18-14, 18-04-2014, etc.)?
0
 
LVL 10

Expert Comment

by:Korbus
ID: 40009216
Sorry for the long answer, but "give a man a fish..."

That's what the ECHO command is for.  Simply copy those two commands into a batch file and run it.  This will show you the output date format.
Obviously, you can change around the formatting to match what you want.  Then, after making a change run the batch file again to confirm the output.  When satisfied, implement it in your solution.

the batch file works as follows:
%date%  in a batch file returns the date in the following format "WKD MM/DD/YYYY" (WKD stand for a three letter name of the weekday: Mon, Tue, etc...)
(You can type ECHO %date% at a command prompt to see it's output.)

The ":~10" means extract from the 10th (zero based index) character to the end (YYYY)
the ":~4,2" means extract 2 characters, starting from the 4th character
0123456789012345
WKD MM/DD/YYYY

Open in new window

So,
%date:~4,2%  mean extract only the MM from %date%


Just let me know if you need more clarification.
0

Featured Post

Technology Partners: 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

This process allows computer passwords to be managed and secured without using LAPS. This is an improvement on an existing process, enhanced to store password encrypted, instead of clear-text files within SQL
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
Progress
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Suggested Courses

718 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