Hmmm... need to wonder how your user is running the script. If it is a network logon script, it should not run for a local logon.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.