Run as command in Task Scheduler

Hi Experts,

How do i setup the Task Scheduler to run a batch script using alternative credential ie RUN AS another user who is also member of the local Administrators?

thanks in advance.
kenny_klbnAsked:
Who is Participating?
 
Robberbaron (robr)Connect With a Mentor Commented:
when you create the task,  there is a field RunAs. (if you user the add task wizard, it asks for name and password)
Enter the user name and set password. It defaults to current logged on user or System, but just change it to the desired user and enter the password. Ensure you make a distinction between Domain user or Local User if necessary by prefixing with Domain or computer\user

sched-cmd.jpg
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.