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)

5
votes
1answer
46 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
30 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
0answers
68 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
29 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 ...
9
votes
1answer
172 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 ...
1
vote
3answers
163 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
16 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
57 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
64 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
93 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
32 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
29 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
201 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
91 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
88 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
29 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
59 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
1k 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
65 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
53 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
42 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
159 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
61 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
140 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
66 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
45 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
66 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 ...
0
votes
1answer
149 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 ...
0
votes
0answers
222 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 ...
3
votes
1answer
1k 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
24 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
551 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 ...
1
vote
0answers
214 views

How can I run a scheduled task on a Windows 2008 R2 Domain Controller as a non-admin user?

I'm trying to run an exe as a scheduled task on a Windows 2008 R2 Domain Controller. The exe runs fine when I try and run it manually using an account which is a Domain Administrator, but I don't ...
2
votes
4answers
123 views

Windows client powershell reporting

I'm working on trying to find a way to get our windows machines to report to a webpage with information about it's MAC address, computer name, currently logged in user, and ip address. I wrote a ...
1
vote
0answers
70 views

How does Windows Task Scheduler detect that a task is already running?

I have an application on Windows Server 2008 that takes different command-line parameters. For example: myapp.exe /A myapp.exe /B I have created a task scheduler task for each of those. While ...
0
votes
0answers
93 views

Windows Task Scheduler fails on EventData instruction

The Scheduled Task fails on the Event Data instruction in this XML: <ValueQueries> <Value name="eventChannel">Event/System/Channel</Value> <Value ...
1
vote
3answers
200 views

make scheduled task active/passive cluster aware

I have 2 nodes using win server 2008 r2 in my active/passive cluster setup. They have the same set of scheduled tasks and i want them to run only when the node is active. Does Windows support ...
4
votes
3answers
425 views

Scheduled Jobs during hours of autumn time change

I'm wondering how other people deal with this scenario. What if you have a job scheduled to run at 1:30 am. In the autumn, when time changes, the hour of 1:00:00 to 1:59:59 repeats itself and so ...
5
votes
4answers
1k views

Task scheduler ran a task twice

Update: This has now happened two days in a row. Update: XML of scheduled tasks and images now included. Two servers located in London, both Windows 2012, have a scheduled task set to run at 3pm ...
0
votes
0answers
52 views

System 67 error scheduled task to transfer files

Running directly on command line the batch script works. But when scheduled to run (Windows 2003 R2 server) as the local administrator, I get the following error: D:\ScadaExport\exported>ping ...
0
votes
4answers
2k views

Robocopy fails in Scheduled task with ERROR 1326 Logon failure

My aim: To simply mirror a database backup directory onto another server Approach: Use Robocopy statement contained in a scheduled task robocopy "C:\MylocalDirBackup" "\\MY.IP\DatabaseBackupsShare" ...
3
votes
1answer
40 views

Windows Service Console app user

I've created a very simple C# one liner app which keeps an IIS/Entity Framework web application warm by simply loading the page (Using the built in IIS Warm up just wasn't working for me). I want to ...
0
votes
0answers
43 views

Windows Server 2003 Task Scheduler Fails to Kill Task Unless I'm Logged in

I am having problems with a process started by a Windows task that is not being killed properly after it has run for a pre-determined amount of time even though the Windows task is created to kill the ...
0
votes
1answer
49 views

SMS paging sends a new number every time

We have set up SQL Server to send out alerts when jobs fail. Text messages are sent to 1234567890@txt.ATT.Net, and they show up on our phones. However, the alerts come in from a weird 9-digit number ...
0
votes
0answers
46 views

Automated Logon with Macro backup script

I'm having some issues with an automated backup macro script I've written using Autohotkeys. My specific issue is that I need the script to run on a Windows based server at a given time during the ...
1
vote
0answers
53 views

Strange behavior of Windows Server 2003 task scheduler

I've got a task, which runs fine while launching it with "Right click / Run" in the scheduler, but fails with a weird "SQL Server login fail" due to bad login while ran automatically at specified ...
1
vote
1answer
141 views

Windows server 2012 scheduled tasks run using default profile ( when ran session less ) even if specific account is specified

As pointed in http://social.technet.microsoft.com/Forums/windowsserver/en-US/5e6dc56d-9069-42e3-a7e3-87437cf8ed81/scheduled-tasks-run-in-the-default-user-profile ( No answer from microsoft yet ) I'm ...
0
votes
0answers
146 views

Win2k3 Scheduled Task resets “run as” user account to currently logged on user

Domained Win2k3 servers using scheduled tasks. Tasks can be created when logged on server as myself or as "service account" ID. Both are domain admins, builtin Administrators and Backup Operators ...
0
votes
1answer
62 views

Windows Server 2003 - AT command for repeating a scheduled Task

Is it possible to use the AT command to create a scheduled task that repeats every X minutes? I can use AT to make one that repeats daily/weekly/monthly, but haven't seen a minute/hourly repeat. I can ...
1
vote
1answer
79 views

Schedule Task 2008 R2 - cmd line requires unix utc time - how to get it dynamically?

These forums are great, and I'm hoping to get some help with a headache I have on doing a process manually that should be easier to automate than I've found it to be. I have a command line tool from ...