You can put Break On at the top of the script. This will prevent the user from getting logged of when he/she clicks the x or press Ctrl-C on the keyboard.
In a logon script I’d never use break on because if a user does not want the logon script he/she does not belong on the network and therefore gets logged of.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.