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
465 views

Windows scheduled task interactive mode (GUI)

I am trying to run an application (Selenium test) through the task scheduler in a Windows XP virtual machine guest that allows for desktop interaction (keyboard pressing, movement through Firefox). I ...
1
vote
4answers
3k views

Running powershell script through Windows Task Scheduler

I'm trying to run a simple PS1 powershell script from the Task Scheduler. The task's Actions settings are Program: powershell and Add arguments: -executionpolicy bypass -file ...
2
votes
1answer
4k 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 ...
1
vote
1answer
502 views

Task Scheduler Event when an Application Ended

How can I make a Task in the Windows 7 Task Scheduler with Trigger when an Application Ends ? I want to make a task when my "explorer.exe" process ends. How can i make it ?
1
vote
1answer
35 views

Priority increase when I look into task manager

This is my observation, in Windows many times when we start any application, it won't start but process name gets added in task manager. When I click on it or try to end process, it immediately gets ...
4
votes
1answer
497 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 ...
0
votes
0answers
134 views

Label taskeng.exe console windows

At my job, we use a lot of console applications to run various processes. We kick them off from the Task Scheduler on a regular and overlapping basis - at any time there could be anywhere from 3 to ...
0
votes
2answers
1k views

What Does “Local Computer Resources” Comprise in Task Scheduler?

In the Windows Task Scheduler, the interface allows me to use a specific user to run the task (General > Security options). Under the Run whether user is logged on or not option, the interface has ...
2
votes
2answers
5k 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 ...
1
vote
1answer
4k views

How to import a scheduled task automatically from an XML file?

I have created a scheduled task in Windows 7. The task is running perfectly well on my computer. I have also exported the task to an XML file and want to create the same task on another computer ...
1
vote
2answers
8k views

Windows scheduled tasks fail with 0x1, don't log errors

I have three Python scripts running overnight as scheduled tasks on a Windows Server 2008 VM. I can run them manually with no problems. But when I look at the Task Scheduler each morning, the first ...
0
votes
1answer
83 views

Scheduled task status

How to check last run result of scheduled task? We used "schtasks /query" command. But it didn't displayed our manually created scheduled task status. We don't want system scheduled task status. Only ...
0
votes
1answer
355 views

How to schedule a Task Scheduler to run every increment and not be confused by Day Light Savings time?

I am using the Windows 7 Task Scheduler to run a task once and repeat every 1442 minutes (24 hours plus two minutes). Today, due to Day Light Savings time change, it ran an hour early. How can I ...
1
vote
1answer
2k views

Only administrator account can run scheduled tasks

I am running Windows 2008 Server and I have set up a scheduled task that executes a SQL script from the command prompt. The script and command work completely fine. I set this scheduled task to run ...
0
votes
2answers
1k views

it opens “open with” prompt whenever scheduled task run

I am trying to run a .vbs file on every five minutes. I am trying to do this using windows task scheduler. In Actions tab -> New Action, I select the file ("D:\Documents\FC3 Savegames\FC3.vbs") ...
0
votes
0answers
182 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
428 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
65 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
657 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
246 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
836 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
7k 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
331 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
9k 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. ...
1
vote
0answers
261 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
2k 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 ...
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 ...
3
votes
1answer
690 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 ...
5
votes
3answers
5k 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
815 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
506 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
858 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
7k 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
601 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 ...
7
votes
4answers
9k 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
281 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
196 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
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 ...
1
vote
1answer
107 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 ...
4
votes
2answers
8k 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?
3
votes
2answers
818 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
448 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
820 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
2answers
9k 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: ...
0
votes
1answer
1k 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
397 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
1k 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. ...