I apologize in advance if this has already been asked. I tried to find the solution in the forums to no avail.

I have a KixForm that fires off at each user's login and the user's logon script runs. Some users are closing out of the form, which is killing the script and preventing the user from having their drives mapped. Is there a piece of code or something I can put in the script that would disable or gray out the "X" button at the top of the form, preventing the user from closing it?

Thanks in advance!