The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
26 views

Windows task scheduler event viewer trigger 0x800704DD

I am creating a Windows task in Windows 2008 R2 for an Event Viewer event. I wish for it to display a dialog box. However the task will only trigger if a user is logged in. I wish for the task to ...
0
votes
1answer
22 views

This task requires that the user account specified has Log on as batch job rights

I have created a basic task under our windows server 2008 r2 Task Scheduler.but when I try saving the task I got the following error:- This task requires that the user account specified has Log on as ...
1
vote
0answers
51 views

Scheduled Task no longer running: Exception code: 0xe0434352

I had a scheduled task that has ran successfully for over two months. On March 12th/13th the task stopped running and I started to receive the following error each time it tried to run each day ...
1
vote
1answer
16 views

robocopy with environment variable will cause 0x10

I tried this on command line and it will work correctly robocopy /mir /copy:DAT /mot:30 "D:\Source File\file" "E:\Target Directory\backup %DATE:/=-% %time::=-%" /xd "D:\Source File\file\excluded" ...
0
votes
0answers
16 views

How to run a php script under Window's Task Scheduler that outputs a CSV file

I need to run a php script that queries my DB and outputs the results as a CSV file. I have the script to produce the CSV and it worked perfectly when run on web browser. I just need to figure out how ...
0
votes
1answer
21 views

Schedualling a task to run indefinatley

I suppose what I want is closer to a service, but I'd like to know if I could just accomplish this with a scheduled task. I can create a task with these parameters: $trigger = ...
1
vote
0answers
14 views

Cross platform job/task scheduler [closed]

We have a mix of Linux, OSX and Windows servers that use crontab, Windows Task Scheduler, etc to run a bunch of bash/windows scripts, rsync commands, etc. I would like to replace these OS specific ...
2
votes
2answers
48 views

windows scheduled task is killed (timed out) too soon

I have a scheduled task that is configured to be killed 23 hours after starting. When I export the task to XML I can verify this setting because I see the line: ...
0
votes
2answers
33 views

Windows Scheduler 2nd and 3rd Weekend of each month

Is it possible using the Windows Scheduler to have a task run on the Sunday after the 2nd & 3rd Saturday of each month? Long Version We have some maintenance scripts which bring our systems ...
0
votes
1answer
37 views

Task Scheduler claims it ran but it did not

I had Task Scheduler start a task at 11:55 PM daily -- same setup on 5 servers. Last night I changed the same job to be run at 2 AM and 7 AM instead. It did not launch either. I know because it ...
1
vote
0answers
35 views

Why does svn look for cached credentials in the wrong place when run as a scheduled task?

I run a daily Powershell script via Windows Scheduler under a service account that updates a local svn working copy and commits changes. The svn client is sliksvn and is run by command line only. When ...
0
votes
0answers
25 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 ...
0
votes
0answers
20 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 ...
0
votes
1answer
130 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 ...
3
votes
0answers
72 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 ...
1
vote
0answers
29 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 ...
0
votes
1answer
53 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
343 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
147 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 ...
0
votes
0answers
54 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
53 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
96 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
444 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
345 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
0answers
114 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 ...
0
votes
1answer
309 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
5k 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
231 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
173 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
1answer
88 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
1answer
2k 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". ...
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
31 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
299 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
49 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 ...
1
vote
3answers
72 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 ...
0
votes
2answers
312 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
1answer
98 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 ...
-1
votes
2answers
157 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 ...
0
votes
1answer
3k views

How do I create a task scheduler to restart a software service in Windows Server 2008 R2

I have a pesky software service that fails every few weeks. It has two components. Service A and Service B. Service B gets in a weird state and stops accepting connections from Service A. The only way ...
1
vote
1answer
112 views

Task Scheduler - Run a process every hour except at designated time

I'm using Windows Server 2008 R2 I'd like to schedule to run a particular process at 40 minutes on hourly basis, except on Sunday at 2:40AM. How would one set up the trigger for this in Task ...
0
votes
1answer
87 views

Windows Server 2012 R2 - Email server's external IP address when the Azure VM starts

I have been trying to setup a task in the task scheduler that sends an email to me when the server starts. The email should contain the external IP address of the azure virtual machine. What should ...
0
votes
0answers
2k views

Task scheduler VS GPO do not allow storage of password

I have a scheduled task in one of my DC, running to check LastLogon date of AD accounts in each DCs everyday. The task was previously running in a Win 2003 DC without problem but now we are going to ...
1
vote
0answers
236 views

Trigger a scheduled task if specific event is logged in AD FS 2.0 event log

I am trying to use Task Scheduler to monitor an AD FS 2.0 event log on an AD FS 2.0 proxy which is located in a DMZ on a Windows 2008 R2 server. I am trying to monitor the log for a specific Event ID ...
1
vote
0answers
317 views

Scheduled RasMan connection to SSTP VPN fails only at night

Background I have an SSTP VPN with a self-signed certificate. It's running on a physical instance of Server 2008 R2 on our LAN. Three off-network workstations are scheduled to connect to the VPN "at ...
2
votes
2answers
110 views

Bizarre behavior of e-mailed reports (text files) via Task Scheduler

I’m still pretty new to powershell and practical implementations of it… but I created a script to monitor disk health and have some very bizarre results on 2012 R2. Wondering if anyone has seen the ...
5
votes
2answers
195 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 ...
0
votes
1answer
404 views

Scheduled Task fails to stop

I have a Scheduled Task on a Windows (64-bit) 2008 R12 (SP1) server. It’s a housekeeping task and I was expecting its first run to take some time catching up on backlog of actions , so set what I ...
0
votes
1answer
269 views

Task scheduler not logging failure to operational view in event viewer

The task scheduler below clearly errors but it never shows up under the task scheduler operational view as being failed but completed successfully. I want to send an email on a failed task scheduler ...
4
votes
1answer
317 views

How to get login username of the login that triggerred a task in the task scheduler

In the Windows 7 task scheduler, I have a task that runs when any user logs on. This task is run as Administrator so it can get the proper priviliges and runs a bat file. I would like to pass in the ...