Running a batch programme as a scheduled task - how to set "Run as adminstrator"
Running Active Directory in a 2012 Domain. I have a script/batch programme that works if I run it "as administrator" if I run it as a scheduled task it fails as it needs to run "as administrator"
How to do I resolve this issue ? Is it a policy setting of some how set this on the file so when TASK SCHEDULAR runs it ..it runs.
Suggesting they blindly turn off UAC without knowing their environment is horrible advice.
Is this job running on a domain controller or a member server? If its a domain controller, checking "run with highest privilege" might not work. If thats the case, you can force taskmgr to invoke the job using "NT_AUTHORITY\System", which may work for you.
Under General Tap
DirkMare