before I learned to use kix, i would generate scripts with dos. If you do not want to learn kix, you could still invoke kix at a simple level to call your original batch file. this would guarantee your session wont get interupted. For Example:
logon.bat =
@echo off
kix32 <kix32 script>
//////////////////////////
<kix32 script> =
break off
shell "logonX.bat///////////////////////
logonX.bat = original batch file
<<this scenario will keep the window locked so the user can not cancel it until the script is done.>>
Option 2
logon.bat =
@echo off
start /min logonX.bat
exit
///////////////////////
logonX.bat= original logon script.
There may be a break command in the DOS arena, but I am not sure what it is. Secondly, option 2 has its drawbacks. Though the screen is minimized, but could still be cancelled. If you opt for the kix script, you have added control, and the option to hide the entire logon process, not to mention a speed enhancement.
Hope this helps some...
john