Solved

Using Kixtart to show splash screen when users logon on certain days

Posted on 2008-10-29
3
778 Views
Last Modified: 2010-05-18
We are on a Windows 2003 network and I have been asked to create a logon script for one of the companies we support which will display a small jpg image from a shared folder on the network.  The idea is that it would only apply to those in a specific security group, only run two days a week (Mon and Wed) and show a different image on each of those days.  I understand it might be possible using case statements. I want to use Kixtart to do this but do not have much experience using it so I would appreciate any help or guidance anyone could offer.
0
Comment
Question by:davehaines99
[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
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
Dudge669 earned 500 total points
ID: 22832648
Well, I'm not sure about kixstart but it can be done using regular Windows batch commands with the help of a Microsoft resource kit utility called IFMEMBER available here:

http://www.microsoft.com/downloads/details.aspx?FamilyID=07c2f6d7-815e-4fa0-9043-4e4635ccd417&displaylang=en

Another utility mentioned in the script below, called NOW is available here:

http://www.microsoft.com/downloads/details.aspx?FamilyID=85b1a39e-d381-4bb7-9e58-e51379cb6542&displaylang=en

If you want your script to not be a little more silent and not so "showy" with all of the commands below, you can add  >NUL to the end of the ifmember and date/now commands
IFMEMBER yourdomain\grouptocheck
if %errorlevel%==0 goto :eof
REM ifmember returns errorlevel 1 if logged on user is member of
REM specified group, 0 if NOT
 
REM As long as the typical Windows "short date" format hasn't changed,
REM the day of the week should show when you do a DATE /T command
REM Download NOW.EXE if you want to be sure
 
date /t|find "Mon"
if %errorlevel%==0 (
  start -path-and-filename-of-Monday-image-file
)
 
date /t|find "Wed"
if %errorlevel%==0 (
  start -path-and-filename-of-Wednesday-image-file
)
 
REM --------------------------------------
REM If you want to use the NOW command instead, it's a simple change:
 
now|find "Mon"
if %errorlevel%==0 (
  start ....
)
 
REM The syntax and check is the same.

Open in new window

0
 

Author Comment

by:davehaines99
ID: 22833142
This looks great.  I will try it out and let you know how I get on.
0
 

Author Closing Comment

by:davehaines99
ID: 31511173
This worked like a charm!  The now option for getting the day of the week worked best in my environment.  
Many thanks

Many thanks
0

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

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

This article explains the steps required to use the default Photos screensaver to display branding/corporate images
Here's a look at newsworthy articles and community happenings during the last month.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

726 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