Run as command in Task Scheduler

Posted on 2009-12-25
Last Modified: 2013-12-05
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.
Question by:kenny_klbn
    1 Comment
    LVL 32

    Accepted Solution

    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


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
    A quick step-by-step overview of installing and configuring Carbonite Server Backup.
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now