Most likely you don't have the GPO set to run the script visible. Put the error info into a popup GUI window then.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.