A scheduled-task means the launch of a program or script at predefined times or after specified time intervals.

learn more… | top users | synonyms (1)

-3
votes
1answer
19 views

Create task on windows server

i need to create a task to download a file from a website that is gzipped and then ungzip it and copy it to various folders on the server, but I don't really know what is the best approach to achieve ...
0
votes
0answers
20 views

Program does not run properly as Scheduled Task

I have a batch script that prepares some files, executes a program and then deletes said files. This task should run hourly, so I'm trying to configure this using Scheduled Tasks. The problem is that ...
-3
votes
2answers
31 views

Scheduled Task Naming Conventions? [closed]

I would like to hear of examples of a naming convention for Scheduled Tasks in Windows, along with rationale. Thanks.
0
votes
0answers
19 views

How to send email when SPECIFIC scheduled task fails to run or returns with an error code

I have a backup script (Powershell 1.0) that is executed every night by the Task Scheduler on my Windows 2008 box. If that script should fail to start, e.g. because the script has been moved or ...
0
votes
1answer
34 views

Windows Server 2012 Run Service On Startup Unsuccessful

I have an EC2 instance with Windows Server 2012 R2 with all the latest updates. I made a service at first, and then a task to run a batch file to create a Microsoft Word report (using my custom C# ...
0
votes
0answers
8 views

How to change task's priority?

How to change task's priority in Windows Server 2003 Scheduled task? I see it's possible in Windows Server 2008 and R2. I'm wondering if it's possible in Server 2003 too? In 2008 it's possible ...
0
votes
1answer
20 views

How to enable or disable a ClusteredScheduledTask in Powershell 4.0

Reference to this page: http://technet.microsoft.com/en-us/library/jj649815.aspx I'm finding ClusteredScheduledTasks a bit daunting to handle without a GUI interface. For example, they have a ...
-1
votes
3answers
38 views

Can't create new task with schtasks… Why?

I have a new Windows Server 2008 R2 host with a strange (?) behavior. I try to schedule a new task into Task Scheduler. I'm using a user that's part of administrators group. If I do it from the ...
0
votes
1answer
43 views

:Powershell Register-ClusteredScheduledTask from XML

I'd like to take my tasks on a non-clustered server, and import them as clustered tasks on a new cluster that has been built and tested. Here's what I have tried: cls ...
-1
votes
1answer
29 views

Child process runs in normal priority only. Why? [closed]

I run a scheduled task in Windows Server 2008 R2. I used the technique described here to set its priority to high priority (level 1 of 7). My task runs a process (an EXE file) that creates child ...
1
vote
3answers
151 views

Powershell - Set-ClusteredScheduledTask - Error “Incorrect function.”

I'm experimenting with Powershell to add a ClusteredScheduledTask on a clustered server (Win 2012/R2) Technet sample code gives error: #canned exampled from ...
0
votes
0answers
18 views

Windows Task Scheduler skips a scheduled interval

We use Windows Task Scheduler on Win2008/R2 to run a small Powershell job every 15 minutes. It creates a small XML file which triggers a BizTalk process to run, so it typically takes under 1 second ...
0
votes
0answers
40 views

Getting the `The application failed to initialize properly`/3221225794 error executing a batch file

There is a scheduled task that is attached to a custom event in the EventLog, it executes the lines below: reconnect.cmd c:\windows\system32\rasphone -f "phone_book.pbk" -d "vpn_connection" ...
0
votes
0answers
35 views

task cannot be completed because of VPN 809 error

The setup: Windows server 2008 R2; L2TP VPN connection is configured; ports for L2TP are opened on the firewall. To (re)connect the vpn connection the task manager gets utilized. I've created a ...
0
votes
0answers
44 views

PowerShell Task Scheduler works but also throws Exception

I'm running into a roadblock trying to narrow down the cause of a powershell exception. Deployment: Server is being deployed with a Server 2012 clone with standardized machine and admin name which ...
0
votes
1answer
63 views

How to kill a running scheduled task?

I have scheduled a task on Windows Server 2008 R2 Task Scheduler that kicks off a python script. However, when the task is running, I don't see the process spawned in the Task Manager and therefore am ...
0
votes
2answers
68 views

View Scheduled Tasks (local and remote) on Windows Server 2008 R2

In one of our production nodes which runs on Windows Server 2008 R2, we have noticed that there is a significant delay (5 times normal) in processing requests (by our application running on tomcat) ...
2
votes
1answer
249 views

Windows 2008 R2 task scheduler with Batch and VBS

I've created a batch file called restart.bat :: Open a Telnet window start telnet.exe 10.20.11.12 :: Run the script %systemroot%\system32\cscript.exe //Nologo //B C:\Scripts_and_Tools\SendKeys.vbs ...
5
votes
1answer
96 views

What is the default working directory for a scheduled task in Windows 2008 R2?

Trying to figure out where the output of a long running scheduled task is being saved. Presumably, it's in the working directory of the task. Unfortunately, the "Start in" option was not set. The ...
-6
votes
1answer
40 views

Database Backup using DOS commands or any other useful commands [closed]

I am planning to backup my database files from network drive to one other. Here is my requirement: All database should be backed up excluding certain file names starting with msdb, model etc. this ...
1
vote
1answer
500 views

Server 2012 R2 Run Program from Task Scheduler not running program

I have a scheduled task that I am trying to run a program (a DB backup program). For reasons unknown I am unable to actually get the program to run, even though the task log says everything was run ...
1
vote
0answers
56 views

Trigger task on USB insert instead of insert and removal

i'm using Windows' task scheluder to trigger a task when a specific USB device is plugged to the computer, problem is the task is also triggered on USB removal. I used custom XML trigger for this ...
10
votes
1answer
328 views

Task Scheduler 2.0: Difference between “Stop task if…”

Using the Task Scheduler in Windows Server 2008 R2 or Windows 2012, etc... What is the difference between this setting: and this setting on the same task: Does one take precedence over the ...
3
votes
3answers
692 views

How can I disable a scheduled task using Powershell?

I have a web application that runs on Windows Server 2008 R2, which has a large number of scheduled tasks which take care of all the backend stuff. When I do a software deployment which touches the ...
0
votes
1answer
30 views

User WinWget to keep web site alive in a Windows Server 2003

I have a site that must stay alive due to a service that runs and check a directory for changes. The site is running in IIS at a Windows Server 2003 and the solution I came up it that I will ...
3
votes
1answer
142 views

Scheduled Task not Running on Windows Server 2012

I go to Task Scheduler and drill down to Microsoft Then I click on Create Basic Task and go through the wizard At the last page of the wizard I check "Open the Properties dialog for this task ...
1
vote
1answer
131 views

Cannot see schedule for Windows Server 2012 Task Scheduler task “SynchronizeTime”

We have a server that regularly gets a clock drift problem. It is Windows Server 2012 running as a guest in a HyperV host. I am under the impression that this scheduled task should periodically cause ...
1
vote
2answers
234 views

Server 2012 Scheduled Task CMD mysqldump not doing what is intended

I'm running a batch file to back up some mysql databases on a 2012 webserver. The batch file creates a folder, then runs the following for each db: mysqldump -u *username* -p*Password* *db_name* ...
0
votes
0answers
56 views

How to whitelist a scheduled task in Windows 7 to run in interactive window fully as administrator

How to whitelist a scheduled task in Windows 7 to run in interactive window(not running in the background) fully as administrator from a standard user account. If whitelisting is not an option, is ...
1
vote
1answer
94 views

Server 2008: Keyset does not exist when installing scheduled task

The product I work on has an installer that does a whole bunch of things, including installing regular files, setting registry keys, installing websites and web services on IIS and creating scheduled ...
0
votes
1answer
698 views

Strange behavior from Invoke-WebRequest in scheduled task

I'm running a PowerShell script that posts data to an internal webserver over HTTPS. The SSL certificate is not valid. I'm using [System.Net.ServicePointManager]::ServerCertificateValidationCallback ...
0
votes
0answers
450 views

Parameterizing powershell parameters in scheduled tasks

I have a bunch of powershell scripts that are kicked off via scheduled tasks at various times. The script are run multiple times with different arguments. Also admins unfamiliar with scripting needed ...
1
vote
3answers
144 views

Running desktop software as a “service”

We've got a Windows Server Standard 2008 server that needs to run QuickBooks Sync Manager, which is an application that only works properly from one user account (the account that configured it). The ...
3
votes
2answers
38 views

SYSTEM user to schedule tasks on Win 2003 server?Impact?

I wish to schedule a bat file on my Win 2003 server without a password. The requirement is to run it everyday at a specific time. We use expiring passwords and do not have a non expiring account. I ...
0
votes
1answer
219 views

Console application is shown as “Running” when it has actually completed

I created a task in Task Scheduler to run the following C# Hello World program. When I trigger it wait for it to complete, I can confirm under in its history that the console application have ...
4
votes
3answers
3k views

Start program on computer startup when nobody is logged on and show the window when someone does log on (OS: Windows)

I have a program that is launched on system startup using Task Scheduler on Windows Server 2012. The program must start even if the computer reboots automatially. Administrator is the account used to ...
1
vote
1answer
173 views

Windows Scheduled Task ignores the 'Stop the task after <time period>' setting

I have a Scheduled Task running on a Windows 2008 R2 server. The task calls a .bat file that performs a file copy. Everything works perfectly except for one thing. I want the task to terminate if it ...
0
votes
0answers
71 views

Scheduled task deleting itself

I am using PowerShell to create scheduled tasks on my local machine, the Scheduled Task runs a PowerShell script to PowerShell remote into a server and copy files. When I run the Scheduled task using ...
0
votes
1answer
59 views

Windows Scheduled tasks ends prematurely, so server doesn't run

I'm trying to run Django on my Windows Server 2008 machine. I can do this manually by calling python manage.py runserver 54321, which launches Django's server at http://127.0.0.1:54321 -- then I can ...
3
votes
1answer
369 views

Defrag options in Windows Server 2012

I am looking at the command line options for defrag.exe as well as the "ScheduledDefrag" task on Windows Server 2012, and I don't understand some of the arguments. In particular, when I view defrag ...
1
vote
1answer
82 views

Will a Scheduled Task On Windows Server 2008 R2 work correctly if windows are opened and closed?

I have a batch script that I am currently running on my own Windows 7 computer as a scheduled task. The task runs nightly when my computer is locked. The task launches an Progress OpenEdge session ...
3
votes
2answers
254 views

Stopping a scheduled task with WMIC

I need to find some method for disabling a scheduled task on a remote machine and waiting until that task has stopped executing if it happens to be running at the moment. I'd like to do this through ...
0
votes
0answers
112 views

Windows Task Scheduler Option “Do not start a new instance” runs a second instance of my script, known bug?

I am using a small powershell script which checks the ram and disk usage , just some metrics. This script sleeps for 15 seconds and then runs again. Only 1 script is triggered and this should kept ...
1
vote
1answer
67 views

Solved: Can I define scheduled tasks before naming the computer?

When scheduling a task it's scheduled as running as a specific user/group. Can I on a vm schedule a task, then sysprep, and then deploy the image to a machine which I then name and join to a domain? ...
1
vote
1answer
104 views

If I disable a Windows task in task scheduler will it stop the current task that's running too?

Let's say I have scheduled Task A in Windows Server task scheduler, and it's set to run 6 times a day. I manually run it 20 minutes before it's about to run next, but I forget that it's going to take ...
1
vote
1answer
277 views

schtasks - create task with no schedule that runs on demand

I am trying to use schtasks.exe and create a one-time task that runs on demand. I just want to create the task without a schedule but the command schtasks /create /tn TestTask fails with Invalid ...
1
vote
1answer
387 views

Scheduled Task fails to start due to network connection condition even when connection is available

I have a scheduled task with a condition set to "Start only if the following network connection is available". I've selected my VPN connection. However, even when my VPN is connected the task will ...
4
votes
1answer
2k views

What causes scheduled task error 2147942402?

Server 2008 R2 (fully patched) I'm trying to run a scheduled task to move a specify type of files from C:\Windows\Temp to E:\Foo_blah_blah_blah_blah\Foo2 and for some reason am getting the following ...
0
votes
0answers
27 views

WS2003 : scheduled tasks normally displayed in session are not, with processes parented from Svchost instead of Winlogon

I have Windows Server 2003 machines intended to run scheduled tasks under a specific account, which is logged-on 24/24. We have given that particular user just the proper set of rights to create, ...
3
votes
1answer
909 views

Scheduled Task to run 32-bit PowerShell Script with 3 Arguments

TL;DR Version I need to run a 32-bit PowerShell script that takes three arguments as a scheduled task in Windows Server 2008 R2. The script starts a FileSystemWatcher, so I need to keep it alive so ...