Page 1 of 1 1
Topic Options
#120656 - 2004-06-04 04:36 PM Force answer to MessageBox at logon
dfzone1 Offline
Lurker

Registered: 2004-06-04
Posts: 3
Loc: Toledo,Ohio,USA
Hi All,

I am trying to use kixtart to force users to accept an acceptable use policy at logon. I am able to bring up the message box and if they say no they are logged off. Problem is that if they just do not answer it they can still use the computer.

How can I make it so they have to answer before they can do anything else on the PC.

Here is what I have now:

$Selection = MessageBox("You must agree or you cannot use this computer. Do you agree?", "Acceptable Use Policy", 4372)

IF $Selection = 7
BEEP
SLEEP 1
Logoff(1)
Exit
ENDIF


Thanks for any help

Top
#120657 - 2004-06-04 04:44 PM Re: Force answer to MessageBox at logon
Schuliebug Offline
Hey THIS is FUN
*****

Registered: 2002-01-18
Posts: 379
Loc: Netherlands
Shouldn't you run the script synchroniously (set it via a GPO) ? That way the scripts must be ended before the desktop appears.
_________________________
Kind regards,

Top
#120658 - 2004-06-04 04:53 PM Re: Force answer to MessageBox at logon
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
For such a simple TOU message, why not just use the policy built-in to the OS?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#120659 - 2004-06-04 04:59 PM Re: Force answer to MessageBox at logon
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Only problem with that is that the standard message is informational only, you cannot get a response.

If your local policies require an active acceptance of the AUP then the standard message is insufficient.

Top
#120660 - 2004-06-04 05:24 PM Re: Force answer to MessageBox at logon
dfzone1 Offline
Lurker

Registered: 2004-06-04
Posts: 3
Loc: Toledo,Ohio,USA
Thanks for the quick replies.

That is not the actual message that is going to be used. Our actual legal acceptable use policy is going to be posted. The lawyers aren't done with that yet.

When you say run the script synchroniously (set it via a GPO)do you mean set it as a logon script in a GPO?

Top
#120661 - 2004-06-04 05:31 PM Re: Force answer to MessageBox at logon
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
No, he is referring to the RunLogonScriptSync setting.

More info here: http://www.microsoft.com/technet/prodtechnol/winntas/deploy/confeat/06wntpcc.mspx

Top
#120662 - 2004-06-04 05:58 PM Re: Force answer to MessageBox at logon
dfzone1 Offline
Lurker

Registered: 2004-06-04
Posts: 3
Loc: Toledo,Ohio,USA
Thanks, that worked great.
Top
#120663 - 2004-06-04 08:16 PM Re: Force answer to MessageBox at logon
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I don't believe GPO scripts can be made to run sync like legacy scripts can.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
Page 1 of 1 1


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

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

Generated in 0.062 seconds in which 0.028 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