Related to Pauls' advise, if vbscript and if it contains "On error resume next", comment out that line to hopefully get a meaningful error message.
Back in the early days of SEP, I had some issues with a group policy deployed script bombing out due to SEP resource usage. The fix was to modify my AV policy in SEPM so that SEP loads with windows, not at boot time. Give this one a try, if it doesn't helps, it's easy enough to change back.