• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 538
  • Last Modified:

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.
0
kenny_klbn
Asked:
kenny_klbn
1 Solution
 
Robberbaron (robr)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

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now