Scheduling a task in Windows Server 2008 R2

user1168784 picture user1168784 · Jan 26, 2012 · Viewed 59.3k times · Source

I have scheduled a task to run a SSIS job using the Task Scheduler (TS). It is configured to run as a User who belongs to the Admin group.

The security is "Run whether user is logged on or not" is checked "Dont store password" is checked "Run with highest preveilage" is unchecked

The scheduled task run ONLY when the user is logged in but when the user logs out the task doest seem to run. I figured "Run whether user is logged on or not" should run the task when the user isnt logged on.

What am I missing?

Answer

Ganesh D picture Ganesh D · Jan 16, 2015

Follow like this:

  1. Type in secpol.msc /s
  2. Select "Local Policies" in MSC snap in
  3. Select "User Rights Assignment"
  4. Right click on "Log on as batch job" and select Properties
  5. Click "Add User or Group", and include the relevant user.