?
Solved

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

Posted on 2008-10-29
3
Medium Priority
?
782 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 2000 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

Independent Software Vendors: 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 article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Let's recap what we learned from yesterday's Skyport Systems webinar.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month15 days, 11 hours left to enroll

741 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