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.

I have this script that I need to schedule to run daily on a windows 2003 box. I was trying to avoid the user from needing to be added as an administrator but it seems so far that has been the only way to make it work (even with a local account).

What is the right procedure to do that?

I am a linux administrator so I am kind lost here.

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

If your running the scheduled task as a user:

The user needs to be able to run as a Batch; Start -> Admin Tools -> Local Security Policy

Local Policies -> User Rights Assignment -> Log on as a batch job; add the user here.

The System user already has this right.

share|improve this answer
add comment

Ignore that it's a scheduled job, if you were to do the same tasks stood in front of the server, whatever rights you need for that are what you need the account to have that the scheduled job is running as.

share|improve this answer
add comment

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.