Hello all:
I want to run a script that will send a message when a specific event id is logged in event log.
Script is already written and works fine when I test it from command line.
Now, I am trying to run it from GRoup Policy, in Scripts/Startup Section, when i ran it on my winxp laptop, worked well, the computer starts, offers me to log in, and when I login the script is working (In task managers/proceses I see wscript.exe)
When I run it on a win2k server machine, and restart the server, the server gets stuck with the message "Running startup scripts" and will not show the logon message at all.
My script has a loop in it, of course it is monitoring all the time if an event id happens in event log, so I dont know how to tell it to have it running but at the same time log into the sistem.
And also why does it work in my winxp laptop in local group policy? I have tried other winxp machines and will have the same problem as the server.....
I would really appreciate some help, Im clueless here........
I want to run a script that will send a message when a specific event id is logged in event log.
Script is already written and works fine when I test it from command line.
Now, I am trying to run it from GRoup Policy, in Scripts/Startup Section, when i ran it on my winxp laptop, worked well, the computer starts, offers me to log in, and when I login the script is working (In task managers/proceses I see wscript.exe)
When I run it on a win2k server machine, and restart the server, the server gets stuck with the message "Running startup scripts" and will not show the logon message at all.
My script has a loop in it, of course it is monitoring all the time if an event id happens in event log, so I dont know how to tell it to have it running but at the same time log into the sistem.
And also why does it work in my winxp laptop in local group policy? I have tried other winxp machines and will have the same problem as the server.....
I would really appreciate some help, Im clueless here........