Task scheduler is a component in Windows that, like the unix cron daemon, allows scripts to be run at defined times.

learn more… | top users | synonyms

16
votes
3answers
40k views

Make Windows Task Scheduler alert me on fail

I have an automated script that pulls backups from my website to my local computer. Once my server was down, another time i accidentally move my script. How do i make Windows Task Scheduler tell me ...
12
votes
3answers
18k views

Windows 7 Task Scheduler doesn't list my custom task(s)

I created a custom task from another application (Peachtree), but it never showed up in the Active Tasks list. So, I created it manually from within the Task Scheduler, but the task still hasn't ...
9
votes
2answers
8k views

Windows Server 2008 R2 - How to copy a scheduled task

I would like to create a new scheduled task that is extremely similar to an existing task. It would be a pain to write down or type out all the settings. Is there a way to copy an existing task to ...
9
votes
2answers
10k views

Windows 7 Task Scheduler advanced settings unclear

I'm trying to create a task that runs once an hour. The functions in the "Edit Trigger" dialog are unclear and seem to conflict. Under settings, the finest time interval for recurrence is "daily", ...
9
votes
7answers
17k views

Stop taskeng.exe window from popping up

I have several processes scheduled in my Windows 7 environment, mainly for backups, that are supposed to run in the background. However instead of just doing it's work quietly in the background, the ...
8
votes
4answers
10k views

Windows 7 Task Scheduler Hidden setting doesn't work

I've got a daemon process that I run on my machine every hour, and even though I've checked the Hidden box, it doesn't work. Every hour, the task runs, but it shows the black command window, in which ...
8
votes
5answers
15k views

How can I open a URL on a schedule in the default browser?

I'm looking for a mechanism to open a single URL in the user's current default browser on a schedule/recurring basis. I know that if I was writing .Net code to do this, I could simply do something ...
7
votes
2answers
9k views

Creating a scheduled task in Windows that will run at intervals indefinitely

I seem to be getting slightly confused by the Task Scheduler trigger settings. (I'm on Windows Server 2008 Web) I want to create a task that will run every 5 minutes, whether a user is logged in or ...
6
votes
3answers
2k views

How to auto shutdown laptop on AC power loss

I'm using Windows 7 64-bit Home Edition on a Dell Inspiron. How do I make my laptop shut down instead of running on battery after an AC power loss? The idea is to have µTorrent run at night but not ...
6
votes
1answer
1k views

How to schedule a task with the Task Scheduler on Windows 7 that runs one minute later each day?

How to schedule a task with the Task Scheduler on Windows 7 that runs one minute later each day? That is on day one it runs at say 10:00 then the next day at 10:01, etc.
5
votes
1answer
2k views

How can I schedule scans in the Windows 8 Windows Defender?

In the previous Windows versions (XP, Vista and 7), Windows Defender included the option to schedule when Windows Defender scans your computer. However, Windows Defender on Windows 8 doesn't seem to ...
5
votes
4answers
3k views

How to run a task every time computer resumes from suspend or hibernate in Windows

Is there a way in Windows XP to run a task every time a computer resumes from suspend/hibernate? On workstation unlock would also work.
5
votes
3answers
6k views

Windows 8 waking issues - “Maintenance Configurator” task cannot be changed or disabled

I recently upgraded to Windows 8 x64 (from Windows 7 x64). I had all the wake from sleep tasks disabled in Windows 7. In the Windows 8 Task Scheduler, Task Scheduler ...
5
votes
1answer
1k views

What windows 7 task scheduler event would respond to an idle END condition?

The Windows 7 task scheduler allows me to run a task when the computer goes idle, but there doesn't seem to be any obvious way to run a task when the computer resumes from idle, or is no longer idle. ...
4
votes
1answer
1k views

How can I make Windows 8 scheduler to run something once when the computer is idle but then wait for at least 12 hours in order to do the same?

I noticed that choosing the option to run only when it is idle and then to repeat the task indefinitely every 12 hours, i.e.: , did not do what I intended since it basically reset its 12h counter ...
4
votes
3answers
3k views

Accessing Environment Variables in a Scheduled Task

When setting up a scheduled task, for the action section I'm trying to access an environment variable for the location of the executable that I wish to run. This is mainly because on one machine the ...
4
votes
2answers
1k views

Windows Task scheduler Winlogon events - logout not enough(?)

I created a powershell script that I want to run on every logout / restart / shut down. For trigger I set a custom event: Log: System, Source: Winlogon, Event ID: 7002. I found the above event id ...
4
votes
2answers
6k views

How to schedule a task for sleep/hibernate [duplicate]

Possible Duplicate: Is there any way to execute something when closing the laptop's lid? I have a task that I want to run right before my computer sleeps or hibernates. Is there a way ...
4
votes
2answers
10k views

Set windows scheduler to open a webpage or the bookmark

I have a bookmark: C:\inetpub\services\Full Scan\full scan.url or a link: 10.237.49.250:8080/scanner/run.aspx?FULLSCAN=ON how can I schedule either of them to open in IE or Chrome?
4
votes
1answer
9k views

How to import a scheduled task from an XML file?

I have created a scheduled task in Windows 7, which will run a batch file once a day. The task is running perfectly well on my computer. I have also exported the task to an XML file and want to ...
4
votes
1answer
645 views

Automatically running a windows bat file after returning from idle

First off, the background on what I want to do: I am running rosetta@home on my computers at home and work, and I often find minirosetta tasks stuck in memory when I resume using the computer after a ...
4
votes
1answer
5k views

Rebooting the machine via shutdown.exe triggers the Shutdown Event Tracker

I have a scheduled task that runs once a week which performs a simple reboot of the machine. The problem is that once the system is rebooted, it thinks that the last shutdown was unexpected and then ...
4
votes
1answer
2k views

How to make TaskScheduler fail when the task returns result different from 0

I have a backup task that fails with a non zero result, yet Task Scheduler says that it executed the task correctly. Is there any way to tell Task Scheduler that the task failed?
3
votes
3answers
12k views

How do I specify “Run with highest privileges” in SchTasks?

When I use the GUI Task Scheduler, I can easily check the "Run with highest privileges" checkbox. I found no such option in the SchTasks command line too, however. Is there a way to do that from the ...
3
votes
3answers
10k views

Using Task Scheduler to Run a Task Before Shutdown

As of writing, the only options available are to "Begin the task": On a schedule At logon At startup On idle On an event At task modification/creation On connect to user session On disconnect from ...
3
votes
2answers
2k views

Does the Windows Task Scheduler have a way to run a command a set time after the user logs on?

Does the Windows Task Scheduler have a way to run a command a set time after the user logs on? I prefer it to run the first time anybody logs on, whether manually or if the computer is set to logon a ...
3
votes
1answer
1k views

Task scheduler - What is “Wait for idle for”?

I created a new Task in my task scheduler and I wanted it to be running only if the computer is idle for 10 min. but then I saw this checkbox which I don't understand what it does : The help says ...
3
votes
2answers
6k views

Why can't Excel open a file when run from task scheduler?

I wrote a powershell script that opens an excel workbook and runs a macro. When I run that script from PS console, or even from command line using powershell.exe script.ps1, it jus works. When I set ...
3
votes
2answers
569 views

setting an annual task on windows task scheduler

Is it possible to create a task in task scheduler that would execute only once a year?
3
votes
1answer
6k views

What “user” must a scheduled task run as in order to be visible for all users?

I wish a task to be scheduled to run when any user logs on, but is not dependent on any one user being logged on, so I pick "Run whether user is logged on or not". The problem with this is that the ...
3
votes
2answers
876 views

How can I cause Task Scheduler to “fail” if a dialog box returns a certain result?

I'm working on a VBScript to do a weekly reboot of all machines on our network. I want to run this script via Task Scheduler. The script runs at 3:00 AM, but there is a small chance that users may ...
3
votes
3answers
1k views

How to sync files between PC and USB

I need to sync a file between my computer and a USB stick. The sync needs to happen in real time, as in when the right file changes sync to the left file and vice versa. I tried looking at Task ...
3
votes
1answer
1k views

Schedule powershell script with admin priviliges

I want to schedule a powershell script to run on my windows 7 system everyday with admin priviliges. How do I do so?
3
votes
1answer
717 views

AutoHotkey cannot launch ClickOnce apps when launched at startup using Task Scheduler

I love AutoHotkey (AHK) and use it to launch all of my apps using AHK Command Picker. In order to get around restrictions put in place by the Windows 8 UAC I require my AHK scripts to run as ...
3
votes
1answer
4k views

Task Scheduler: Run whether user is logged in or not: not working

I have a Task scheduled to run in Windows server 2008 (start up notepad). It seems to work fine when "Run whether user is logged in or not" is not selected. however when I select it the the task no ...
3
votes
1answer
648 views

Missed Windows Task runs when the computer starts

hi I have a problem oposite to the usual one. I have a task to hibernate my computer at 8pm If I hibernate the computer earlier, and turn it on next morning, the task runs and hibernates the computer ...
2
votes
3answers
6k views

What is the best way to run a Console Application once per day at a certain time?

What is the best way to run a Console application (C#) once per day at a certain time on Windows XP? I want to see the Console window.
2
votes
2answers
3k views

How to make a scheduled window-creating program not steal the focus?

I have written a small console program that checks that all my websites are up and running properly. I use the Microsoft Windows Task Scheduler to run this program automatically once a day. The ...
2
votes
2answers
349 views

Powershell script not logging as expected when run from command line

I have a simple powershell script that opens a ur and logs whether it was successful: $LogFile = ".\userLoad.log" $Date = Get-Date Try { $Request = ...
2
votes
2answers
2k views

Windows Task Scheduler: Schedule task to run once every 10 seconds

In my windows, I want to schedule a windows service to start once every 10 seconds. I tried using the windows task scheduler but it only gives me an option to repeat the service daily, weekly and ...
2
votes
1answer
2k views

What is the difference between /U and /RU in SchTasks?

SchTasks help describes both /U and /RU as "A value that specifies the user context under which the task runs" What is the difference, then, between /U and /RU ? What am I missing?
2
votes
1answer
5k views

Task Scheduler from Command-Line?

I'm using Windows7 and I want to make a scheduled task with my options using Task Scheduler Command line mode utility that called "SchTasks". But there is some problems using Schtasks : 1) Is there ...
2
votes
2answers
297 views

Windows Task Scheduler with Possible Overlap

I need to run a task on the following schedule: task repeats weekly on Saturdays task repeats the first of every month However, if the first of the month is a Saturday, the task should only run ...
2
votes
1answer
162 views

When does the 'system start' occur if Task Scheduler with the /sc onstart parameter is used?

When does the 'system start' occur if Task Scheduler with the /sc onstart parameter is used? I.e. where would the 'system start' entry be on the following list: Windows boots up, loads the drivers ...
2
votes
1answer
1k views

Running Scheduled Task Multiple Times a Day

Is there a way to run a scheduled task multiple times a day, instead of just one defined time, without creating multiple task jobs?
2
votes
1answer
475 views

Scheduling an XP Weekly Task Without a Start Time

I need to schedule a backup task to run every week using the Windows XP Scheduler (Home Edition with SP 3). I would like it to run every Saturday, but how can I make it not time-specific, so it will ...
2
votes
3answers
7k views

Why can't a Task Scheduler job access a mapped network drive?

I have a Task Scheduler job to run Robocopy for backing up local files to a network share. I have to use domain credentials to access the network share but the local computer is not on the domain, and ...
2
votes
1answer
1k views

User restriction policy when creating a scheduled task

I have a problem when creating a scheduled task on Windows7 Pro SP1. The task is supposed to run a .bat file on system startup. This is to happen before user logon. When i click 'OK' to finish ...
2
votes
2answers
11k views

Remotely managing Scheduled Tasks on another computer: Access Denied

I need to remotely create new scheduled tasks from a Windows 7 computer in my company (which according to this Microsoft TechNet article I should be able to do. ...
2
votes
3answers
5k views

Windows scheduler - Tasks not running when user not logged in

I have Windows Server 2003, with schedules setup via Remote Desktop under one account. That account appears in the 'creator' column too. I have 'Run only if logged on' unticked. When I have logged ...