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

0
votes
0answers
253 views

Does Windows Task Scheduler behave strange?

I made my application (WinForms EXE) that when I launch it my from command-line or GUI, I see an icon in the systary and it's OK. I see now that if I wrap my application in a task into the Task ...
0
votes
1answer
1k views

How to use Windows Task Scheduler interactively on Windows 7?

I've just made a new task that triggers an application from the command-line. It seems that it's working (I check in log files), however I see no icon just as it used to be if I'd run the application ...
0
votes
1answer
71 views

How does scheduling work?

How do programs designed for scheduling (e.g. Task Scheduler in Windows, cron in Unix systems) know that it "is time" for them to run a certain scheduled command or script? I imagine it's not ...
1
vote
1answer
998 views

Where can I find schtasks.exe exit codes

Where can I find the documentation for exit/return/error codes for the schtasks.exe ? MS's documentation (http://technet.microsoft.com/en-us/library/bb490996.aspx) doesn't have any references ...
0
votes
0answers
293 views

Windows 7 Task Scheduler Run On Idle End

I want to run a task every time I sit down at my computer, so that I will effectively run the task once when the computer ceases to be idle. I can't see a way to do this. Any suggestions?
1
vote
3answers
1k views

Schedule a Powershell script in Windows 8?

How can I schedule a Powershell script to run every day at 3am in Windows 8?
1
vote
1answer
12k views

What does return code 1 mean for cmd.exe on Windows XP?

I'm trying to run a task hourly with the Task Scheduler to launch a bat file, but it is not working. Looking at the history, I see the following which looks to be the issue: Task Scheduler ...
0
votes
1answer
412 views

Powershell, Task Scheduler or loop and sleep

I have a job that needs to go off every minute or so, it loads a DLL i have written in C# that retrieves state for an SQL Server Mirror (Primary, Mirror and witness) for a number of databases; it ...
2
votes
2answers
16k 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
0answers
417 views

Idle state detection for server

Windows OS has a service that detects idle state. Details: Task Idle Conditions The computer is considered idle if all the processors and all the disks were idle for more than 90% of the past 15 ...
1
vote
1answer
3k views

Unable to remotely schedule tasks from the command line

I'm on a Windows 7 machine, attempting to use the command line to schedule a task on another Windows 7 machine in my company's network. I have administrative-level credentials for both computers. With ...
5
votes
1answer
2k 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 ...
3
votes
1answer
823 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 ...
6
votes
3answers
9k 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
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 ...
1
vote
1answer
1k views

What is wrong with this call to schtasks on Win 7?

I'm trying to run this in a Win 7 Professional admin console: schtasks /create /tn "Task at 16:40 on 10/27/2012" /sc "once" /st "16:40" /sd "10/27/2012" /tr "c:\python27\python.exe ...
0
votes
1answer
690 views

Neither Event Viewer nor Task Scheduler work on my PC

I have no idea why this is happening, but neither vent viewer nor task scheduler work on my PC. I have posted this as one question because I bet it is related. Thank you. Here is the error I get ...
0
votes
1answer
1k views

Specifying specific days in WinServer task scheduler:

I have a task to run on a Win Server 2008 R2 machine. I set up it to run from the windows task scheduler that comes with Windows. I need to run the task DAILY but NOT on weekends. I did not find any ...
4
votes
1answer
13k 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 ...
0
votes
2answers
797 views

Mirror a Dropbox repository in Sharepoint and restrict access

I'm looking for an elegant way to solve the following problem: My development team uses Dropbox for sharing documents amongst our immediate group. We'd like to put some of those documents into a ...
10
votes
4answers
15k 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 ...
2
votes
2answers
349 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 ...
1
vote
1answer
255 views

Launching a scheduled task on a windows 7 VM on startup

I have a batch file I would like to run every time my Windows 7 VM restarts. I have created the batch file (and it functions as expected) as C:\example.bat. I have also setup a task in Task Scheduler ...
3
votes
3answers
2k 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 ...
1
vote
1answer
119 views

Any way i can have a ftp script that runs for 12 hours only at specific start time?

Hi have this ini file that runs our encoder (Video) Can i make this config to run the ftp only at certain times? Or is there a script i can use to set the ftp to start at 7:15pm and force end at 7:30 ...
6
votes
2answers
15k views

Set windows scheduler to open a webpage or the bookmark [duplicate]

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?
3
votes
2answers
1k 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 ...
1
vote
1answer
546 views

Disk defrag scheduled task breaks on reboot

I configured the Windows 7 disk defrag utility to run on the 1st of the month at 1:00 AM. The associated task gets created in the Task Scheduler and all is well until the next time I reboot my ...
0
votes
2answers
1k views

Is it possible to set the process name with pythonw?

I am using a piece of software written in Python and am using the Task Scheduler in WHS2011 to run it as a background process. Unfortunately it appears as "pythonw.exe" in the task list. It doesn't ...
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 ...
1
vote
4answers
14k views

Why does my scheduled task fail with error (0x4)

I have a scheduled task that is supposed to run a batch file. The batch files runs file when called on it's own, but does not run when wrapped in a scheduled task. Here is what the dialog looks like: ...
1
vote
1answer
2k views

scheduled script much more slow than running manually

I have a backup script that uses robocopy to copy files from my computer to an external USB drive. I added the script to Windows 7 Task Scheduler. It works, but it takes around 4 hours to copy ...
1
vote
1answer
454 views

Use Task Scheduler to email Security Event log file?

In XP, how can I use the Task Scheduler to cause the Security Event log file to be emailed from a machine?
0
votes
2answers
2k views

Run a batch file on exiting specific program

I want a batch file to run when I exit a specific program, Nokia Suite in my case. I want to use Windows 7 task scheduler and would prefer avoiding any 3rd party program. I have already checked ...
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. ...
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 ...
0
votes
1answer
475 views

Instruct Windows Task Scheduler to turn on the monitor from sleep

How do I get Windows Task Scheduler to turn on the monitor from sleep in Windows Vista? Currently, all it does is wake up from sleep (without turning on the monitor, it runs a batch script).
7
votes
2answers
13k 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 ...
1
vote
1answer
365 views

Best way to folder copying tasks on Windows XP

Here is my dilemma: I have a bunch of folders with dates at the end of the folder names (i.e., 2.28 for February 28). When the date in the folder name is reached, I want to copy the folder to a ...
2
votes
1answer
175 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
0answers
3k views

Why Task Scheduler fails to open a GUI application window when /sc onstart parameter specified?

This works: schtasks /create /tn calc /tr c:\Windows\system32\calc.exe /sc minute After running this and a computer restart: schtasks /create /tn calc /tr c:\Windows\system32\calc.exe /sc onstart ...
1
vote
0answers
400 views

Why is Windows Task Scheduler starting my tasks early?

I made a task in Windows that's supposed to run 10 minutes after the hour every hour. However, when I look at the task in the task scheduler, it will say it ran at XX:09:59 instead of XX:10:00. Here ...
0
votes
1answer
502 views

Necessary permissions for Task Scheduler in PowerShell v1.0

I'm very confused at what permissions are necessary to run scheduled tasks. If I schedule a task to run at 5am every day, what user does that run under? Does that user need log on access?
4
votes
1answer
1k views

Task Scheduler and Mapped Drive Invalid Disk Specification

I have a task in Task Scheduler to run a batch file that resides on a local hard drive. The batch file simply runs XCopy to copy files from a mapped drive to a folder on the local drive. When the ...
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 ...
2
votes
1answer
2k 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
4k views

How to capture Internet connection event in Windows Task Scheduler?

I'm trying to create a simple task in Windows 7 that would run some script after every connection to the Internet. My gateway restart itself sometimes and I want to run that script every time Internet ...
2
votes
3answers
7k 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 ...
11
votes
2answers
11k 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 ...
1
vote
3answers
337 views

How do I stop my laptop from waking up?

I never scheduled wake up for my laptop, but after scheduling Auslogics Defragmenter to run on Sundays, 6:01AM and laptop to wake up at 6:00AM in Task Scheduler, it was waking up. Auslogics ...