Page 1 of 1 1
Topic Options
#139604 - 2005-05-12 12:54 AM Ultimate Login Script
Gargoyle Offline
MM club member
*****

Registered: 2004-03-09
Posts: 1597
Loc: Valley of the Sun (Arizona, US...
Just would like your opinions on my version of the ultimate login script.

Code:
 

;Present a Message Box in System-Modal mode, requires user to answer
;Written with KixStart

$rc = Messagebox("Use your own computer!"+@CRLF+"Do you understand?", "Warning", 4116, 20)
If $rc = 6
Logevent (4, 999, "Logoff Understood")
Logoff (1)
Else Logevent(4,999,"Logoff Not Understood")
Logoff(1)
EndIf
EventLog (4, 999, "No Response")
Logoff(1)

_________________________
Today is the tomorrow you worried about yesterday.

Top
#139605 - 2005-05-12 01:05 AM Re: Ultimate Login Script
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: CA
It is KiXtart not KixStart

You can not actually FORCE it to be as MODAL as you want it to be there.

Please search the board for other possible solutions, including the FAQ section.

Top
#139606 - 2005-05-12 01:23 AM Re: Ultimate Login Script
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
What is so "ultimate" about this? If a user is not allowed to interactively log into a computer then the appropriate security settings should be adjusted accordingly. That is Sysadmin 101.
_________________________
There are two types of vessels, submarines and targets.

Top
#139607 - 2005-05-12 01:25 AM Re: Ultimate Login Script
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: CA
Why did you reply to me Jens
Top
#139608 - 2005-05-12 01:39 AM Re: Ultimate Login Script
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
ROFLMAO - that is the ultimate low-maintenance login script.
Top
#139609 - 2005-05-12 01:43 AM Re: Ultimate Login Script
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
And it has a graphical user interface!
Top
#139610 - 2005-05-12 02:48 PM Re: Ultimate Login Script
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
This script will also cut down other a multitude of Help desk calls too. With everyone logged off, no one can break anything or ask dumb application questions as none will be running.

Edited by Howard Bullock (2005-05-12 02:49 PM)

Top
#139611 - 2005-05-12 05:55 PM Re: Ultimate Login Script
Gargoyle Offline
MM club member
*****

Registered: 2004-03-09
Posts: 1597
Loc: Valley of the Sun (Arizona, US...
I am glad that the humor was seen as it was meant.

This script actually came about as a friend wanted to keep his kids off of his personal computer and force them to use theirs.

I just thought that people would get a good laugh at it.
_________________________
Today is the tomorrow you worried about yesterday.

Top
Page 1 of 1 1


Moderator:  Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 584 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.093 seconds in which 0.065 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org