Your post has me asking for clarification of exactly what you want to accomplish.

Your statements in the body of your seem to indicate you want to stop people from executing a script manually after the logon script has exited.

Are you asking for a way to have the script know if it is executing as part of the logon sequence or out side (post) logon sequence?

If that is your question then:
quote:
@LOGONMODE Indication of whether or not KiXtart believes to be running during the logon sequence.
@LOGONMODE is available in KiXtart 4.12.
_________________________
Home page: http://www.kixhelp.com/hb/