I've been able to run this batch file before but when I run this one command in a batch file I get an "Access denied" error.
First the batch file
SC config Alerter start= auto
I can run sc config Alerter start= auto in the command prompt and it works, but it won't work in a batch file! I know I have the syntax correct. I've tried "" around the service name and the startup type, and this is verbatum from some sites I have visted.
I have XP pro and am running as administrator.
The error I receive is;
[SC] ChangeServiceConfig FAILED 5:
Access is denied.
I've searched for about 4 hours now and have not resolved this issue.