Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

On linux I know you can run files under different users pretty easily but on Windows how do you do it? Do I have to log in under that user? Can I run it with the schedule system? I need to be able to run a batch type file under another user.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Yes, you can select the target user when setting up a job in the Task Scheduler. It's in the "Security Options" section of the General tab.

Screenshot from Windows 2008 R2:

Create Task Dialogue screenshot

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.