Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scheduling a task in Windows Server 2008 R2

Tags:

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?

like image 436
user1168784 Avatar asked Jan 26 '12 08:01

user1168784


People also ask

How do I schedule a task in Windows Server?

Schedule the TaskClick Start, point to Control Panel, then point to Scheduled Tasks, and then click Add Scheduled Task. The Scheduled Task Wizard appears. Click Next. A list of programs that are available on your computer is displayed.

Does Windows Server have Task Scheduler?

To schedule a new task: Open Task Scheduler. To open Task Scheduler, click Start, click Control Panel, and then double-click Scheduled Tasks.

How do I schedule a task to run?

Go to the Scheduled Tasks applet in Control Panel, right-click the task you want to start immediately, and select Run from the displayed context menu.


1 Answers

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.
like image 141
Ganesh D Avatar answered Oct 24 '22 17:10

Ganesh D