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
1answer
406 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
15k 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
389 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
799 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
8k 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
674 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
12k 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
764 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
14k 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
336 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
248 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
14k 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
976 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
526 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
3answers
13k 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
444 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
449 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
12k 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
348 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
173 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
373 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
484 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?
3
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
6k 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
10k 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
331 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 ...
3
votes
2answers
3k 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 ...
2
votes
1answer
292 views

Running batch file from Task Scheduler in Win7 using QODBC and Quickbooks does not work

I have a batch file (.BAT) set up on a Windows 7 PC running QB Premier 2012 that uses a SQL client to connect to a Quickbooks company file through QODBC (latest version) that works fine when run ad ...
3
votes
1answer
424 views

Reliable way to run a task after specificed time without user input

For a Kiosk solution I'm looking for a completely reliable way to run a batch file on Windows 7 after a specified time without any user input (think screensaver). So far I've been looking at: ...
1
vote
1answer
858 views

Why would TaskScheduler start tasks at the wrong time?

I have a task scheduled every day at 3:00, on a Vista 64 machine. Most of the time it starts at 3:00:00, sometimes 2:59:59, which is fine. But from time to time the task is launched at a completely ...
1
vote
3answers
7k views

How can I use Task Scheduler to schedule a .jar file?

I have an executable jar file and I am trying to create a scheduled task for every day using windows Task Scheduler I go through the following steps: open Task Scheduler -> Create Basic Task -> ...
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.
1
vote
0answers
416 views

Windows scheduled task not running

I have several SQL server backups on a server. I have created a batch file which then copies these to network drives. These are mapped to the server, and it works properly. Now, I've created a ...