The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
2answers
1k views

All tasks in the Task Scheduler stop triggering until I restart the server (W.Server 2008 Datacenter)

First of all, some info: Windows Server 2008 Datacenter, 100% updated with Service Pack 2 and all the patches. I connect to it using "Remote Desktop Connection" (I don't now if this is relevant) I ...
2
votes
1answer
4k views

Stop a task in Windows 2008 Task Scheduler if it runs longer than 15 minutes?

In the Settings tab of a Task in Task Scheduler Windows 2008 and Win8 you can specify additional settings that affect the behavior of your task. The setting for "Stop the task if it runs longer ...
2
votes
1answer
1k views

Scheduled task does not run on WIndows 2003 server on VMWare unattened, runs fine otherwise

Scheduled task does not run on Windows 2003 server on VMWare. The same setup runs fine on standalone server. Test below explains the problem. We really need to run a more complex bat file, but ...
0
votes
0answers
14 views

Group Policy Scheduled Task not asking for password

I'm trying to deploy a scheduled Task to our Servers via GPO, but something doesn't seem quite right. I want the Task to be run with a Service account, wheter the user is logged on or not. I know that ...
2
votes
2answers
3k views

How to run a cygwin executable with Windows TaskScheduler without opening a terminal?

Using Windows XP Task Scheduler, I've scheduled the execution of a cygwin program (C:\cygwin\bin\svn.exe update). It is working fine, but when it executes, a terminal window titled svchost.exe opens. ...
3
votes
1answer
3k views

Task Scheduler Crashing MMC

I've been getting errors whenever I try to run the task scheduler for Windows 2008 R2. Each time that I've tried running it, the task scheduler will crash and report the following: Problem signature: ...
0
votes
2answers
2k views

Server 2008 issue running batch file

For the life of me, I can't seem to get a batch file running in Server 2008 Task Scheduler, despite it not having the common problems I've seen before. Problem so far: I have a batch file that ...
0
votes
1answer
116 views

Windows Server 2008 R2 Task Scheduler Powershell issue

I am trying to schedule a task which runs a powershell script. This script copy several files from one server to the one which the script is running. If i run the script with an elevated powershell ...
0
votes
0answers
16 views

Windows Task Scheduler condition not working

I have a service i want to start when windows user logs in. I set a condition to start only if network connection is available, but i'm on AWS EC2 so the connection name keeps changing. I also tried ...
3
votes
6answers
11k views

Windows Task Scheduler does not start task at next run time

I have a Windows Server 2008 SP 2 Task Scheduler task that should run every 10 minutes. The trigger says "At 6:50 PM every day - After triggered, repeat every 10 minutes indefinitively." Looking ...
83
votes
5answers
31k views

How do I rename a task in Task Scheduled on Windows Server 2008 R2

I have some tasks in the Task Scheduler on Windows 2008 R2. I created them as the admin and I'm logged in as the admin. I have no easy way to rename the tasks. The only way I can is to export the task ...
3
votes
0answers
39 views

How do I modify, disable, or delete a task with stored credentials after a Server Name Change?

I have a task that's been running regularly every 30 minutes for several months. It's got stored credentials for my account, listed as MACHINE_NAME\USER. After the creation of this task, we decided to ...
2
votes
2answers
3k views

How to schedule a job to run every 10 minutes in TWS

TWS is Tivoli Workload Scheduler. I have scheduled a job, and made it repeatable every 10 minutes. I put it in a job stream with a run cycle of daily. Now, the job runs once every ten minutes on the ...
1
vote
0answers
22 views

Scheduled Tasks running twice on windows server 2012 R2

On my production server (Windows server 2012) I have scheduled various tasks. I have enabled Task Scheduler history but its of no use. LastRunResult of each of my tasks shows Last run of the task was ...
1
vote
2answers
2k views

How do I get a Task Scheduler startup trigger to delay

System is Windows 2008 R2 I have a task scheduler task with a trigger to run at system startup, and have set the Delay to 20 minutes, however the task runs immediatley on system startup and ignores ...
0
votes
1answer
48 views

Why Windows is running programs via Task Scheduler

Running Windows Server 2008R2 as a Remote Desktop Session host. I noticed a while ago that there are tons of tasks being created in Task Scheduler. These are not created by the users themselves. ...
1
vote
0answers
172 views

Pause the Windows Task Scheduler

Is there a way to temporarily pause the Windows Task Scheduler so it doesn't launch new scheduled tasks in the middle of a critical operation? I have a PowerShell script that syncs an HA server to an ...
0
votes
2answers
119 views

Windows Server 2008 Task Scheduler taskeng.exe lingering

We run several simple python scripts periodically on our servers using Windows Task Scheduler. The scripts are extremely simple, and grab statistics like the Disk Space and the CPU Percentage and log ...
7
votes
3answers
12k views

Scheduled job not running to completion; event logged with return code 3762504530

I'm just a lowly developer, but a scheduled (2:00 am) VB.Net console app job I inherited is intermittently not running to completion. About half the time, it just doesn't run to completion, logging ...
0
votes
0answers
40 views

Task Scheduler not giving a detailed error message

I have two servers, a 2003 R2 and a 2008 R2, setup to run the same executable as a task as I work on migrating content over to the new server. The task started failing recently and the task scheduler ...
0
votes
1answer
44 views

Scheduled task PS script location best practice

Since there isn't a straightforward way to store and run scripts locally on domain members, I'm resorting to manually store them in a common location across the board and then deploying a task ...
0
votes
0answers
65 views

Logstash process, created after invoking logstash.bat with task scheduler, keeps running even after task is terminated

I have dedicated machine with windows server 2012 R2 and i have to keep a logstash instance running to collect logs. For this, i have created a task scheduler task configured to invoke the provided ...
0
votes
0answers
310 views

Task Scheduler insufficient permissions(?)

Windows Server 2012 in a domain environment. I cant seem to be able to do anything in Task Scheduler anymore. I might as well mention that my user is a domain admin. When attempting to disable a ...
0
votes
0answers
212 views

Why my task has 0x5 Access denied exit code with Task Scheduler if script was finished?

I have following batch script: copy \\remotehost.ip\c$\dumps\TEST_%date%.dmp C:\dumps\TEST_%date%.dmp sqlplus sys/password as SYSDBA @C:\dumps\recreate_test.sql > C:\dumps\recreate_test.log ...
0
votes
1answer
76 views

Windows Task Scheduler executing old triggers even after recreating the task

I had this task working perfectly until I changed the schedule. After I changed the scheduled time 5 minutes earlier, I noticed that in the history, it still triggers the old schedule. I tried ...
4
votes
4answers
21k views

How to schedule a task to run every x-minutes on Windows Server 2003 R2

How to add a scheduled task that should run every x-minutes on Windows Server 2003 R2. I have followed many suggestion from the web, but I always end up with some interruption after 1 or 2 runs. ...
6
votes
4answers
4k views

Clone Windows Scheduled Tasks

I would like to copy all scheduled tasks on a computer with Windows Server 2003 to another Server 2003 computer. I can guarantee that all executables will be available on the new computer. Can I do ...
0
votes
0answers
94 views

Task Scheduler - Custom Trigger Not Firing

Our server has MANY tasks in Task Scheduler that run on varying schedules. I need to be notified by email only when one particular tasks completes. Seeing that the appropriate Event ID for a ...
3
votes
2answers
3k views

Task Scheduler just decides it doesn't want to run a task anymore

I set up a task in Server 2012 to run a script every weekday. It will work for anywhere from a few weeks to a few days, then just not even try to run it anymore. Status: Ready Triggers: At 7:30 AM ...
0
votes
1answer
185 views

Scheduled Task Doesn't Run on Schedule

On a Windows Server 2012 R2 server, I have created a scheduled task with a trigger defined as daily, repeat every five minutes. (I have multiple other tasks configured like this that I have no problem ...
0
votes
1answer
3k views

All of my scheduled tasks are failing with error code 0xE0434352 on Windows Server 2008 R2

I have many scheduled tasks on a Windows Server 2008 R2 box, running a few different programs with various command line options. Last night, they all started failing with the last run result of ...
0
votes
0answers
192 views

How can i create a trigger for a task in task scheduler which should start the task for some event ID but not for some other event ID

I have a few tasks created in task scheduler for which i wish to create auto recovery mechanism if the tasks are terminated from outside the task scheduler. Basically each of these tasks create a java ...
1
vote
1answer
143 views

Win Terminal Server/RDS - dynamic printer mapping after session reconnect

I am trying to figure out this Problem: When a user disconnects his/her RDS (on Windows Server 2012 R2) session in Office 1 and reconnects in Office 2, then still all the Printers relevant to Office 1 ...
1
vote
3answers
69 views

Monitoring file for changes and immediately take action on change

How can I constantly monitor (small) file for changes? Eg. when file is updated (action from web application), a script is executed (if not already running). Right now, I do it every minute using ...
1
vote
1answer
78 views

Task Scheduled Powershell Script Not Shutting Down machine

I have a task running on a Hyper-V server setup as such: schtasks /CREATE /TN AutoShutdown /RU "SYSTEM" /TR "Powershell \"C:\AutoShutdown.ps1\"" /SC ONSTART It runs properly (as far as I can tell) ...
0
votes
2answers
227 views

Windows 2003 Task Scheduler Not running in foreground

I have an old (Windows 2003) server running. I then have a Powershell script which I need to execute using a scheduled task (running it on it's own works fine). On all my other (windows 2008) servers, ...
0
votes
2answers
3k views

PowerShell Script Not Running on Scheduled Task

I have been attempting to set up a PowerShell script to run as part of a scheduled task on a Windows Server 2012 R2 server. The script will run if I execute it manually from the GUI but all but one of ...
0
votes
1answer
1k views

The system cannot find the file specified- Task Scheduler. Win Server 2012

I have batch script file, which should encrypt a file with pgp. I have defined a task in task scheduler to do this, but I am keep receiving the error"The system cannot find the file specified". ...
1
vote
0answers
83 views

administrator domain account in Task Scheduler

I'm running a strange problem in Task Scheduler. I've set a task to run a IE with a URL as parameter. I've set the domain administrator account but something not working well. This task should send ...
1
vote
1answer
2k views

ForFiles.exe Not Working In Task Scheduler 0x1 Result?

I have no idea why it is not working in Task Scheduler because if I run the same code in a batch file it works fine? I am putting the following into task scheduler on a Win2008 R2 machine and I keep ...
0
votes
3answers
2k views

How to make the task scheduler display the cmd shell when invoking a batch file?

I am using Windows 2008 R2 and I am trying to schedule my application in the Task Scheduler. I have created a batch with the right settings. The problem I have is: I need to display the Cmd shell ...
0
votes
1answer
28 views

Unable to schedule task to copy across network

I remote access into a server running windows 2008 with my login from active directory. I wrote a BAT file to copy from a different sharefolder to backup files to this server. Running the BAT file ...
0
votes
1answer
238 views

Scheduled task not running BAT file [duplicate]

I have a windows server that I created a BAT file that basically goes into a network sharefolder and copies a file to a different location. When I run the BAT file manually it works perfectly. When I ...
1
vote
1answer
47 views

Gentle reboot of batch server (Task Schedular)

We have 3 Batch servers running hundreds of scheduled task using the built-in task schedular in Windows (2003R2 and 2012R2) How do i prepare our servers for a reboot, so i wont interrupting a running ...
5
votes
2answers
184 views

Cancel / block a task triggered with delay by windows “task scheduler”

This is related to a specific issue, but I think it is an "interesting" question for general use: In Windows (specifically 2k8 server, for me) you have a task that is triggered by an event ...
4
votes
1answer
4k views

Windows Task Scheduler - result code 0xC000005

I created Task in Windows Task Scheduler which runs every day at 9:00 AM. I configured it to run using SYSTEM account and run whether user is logged or not. I'm 100% sure, that action is pointing to ...
3
votes
1answer
475 views

Need help using SCHTASKS on Windows Server 2008/2012

I'm executing the following command : schtasks /create /tn "test" /ru system /SC onevent /TR "test" /F /RL HIGHEST /MO "*[System[Provider[@Name='SupportAssistService'] and EventID=900]]" /EC ...
0
votes
2answers
2k views

Unable to connect to another computer from the Task Scheduler on Windows 7

I am getting the following error when trying to connect to another computer from the Task Scheduler on Windows 7: "The remote computer was not found." The computer that I am trying to connect to is ...
0
votes
0answers
161 views

Executing VBS via Task Scheduler not working. It works if logon to server and launch

I am having a problem running a scheduled task using Task Scheduler. I have setup a new domain user with admin privileges on the server (Windows Server 2008): User1. The Task Scheduler runs a VBS ...
-1
votes
2answers
133 views

How to automatically restart after Windows Update requires it?

On a windows machine running Windows Update via the built-in service (not GPO), I would like to have it automatically restart every morning at 5:30AM, only when required by WU. The event log entry ...