Rather than spawn another script at the end of the logon, put a call to it in the RunOnce key of the registry. Wintendos have problems with the redirector and do a smoke and mirrors with a Z: drive during logon. When the logon is finished, the Z: drive is broken down. If a script is still running, it can cause that sort of error.

See also, the FAQ

Topic: Sequence of events during logon
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.