Questions tagged [task-scheduler]

319 questions
1
vote
0 answers

TaskScheduler trigger on specific task

I have a backup service running through TaskScheduler. The backup task runs a batch-file which does all the magic. Sometimes the backup fails which fills a log table until the server becomes unresponsive (this is a whoooole different issue...) I'm…
kumaheiyama
  • 111
  • 3
1
vote
0 answers

Windows Task Scheduler shows Last Run Time = Never, even though task has run every day this week

I have a VBScript file that is run by the Task Scheduler, every day. The task was manually created on 6th February 2017, using the regular Create Task GUI, and has a Weekly trigger with Monday-Friday checked and a start time of 08:00. It runs the…
jimbobmcgee
  • 2,675
  • 4
  • 27
  • 43
1
vote
1 answer

Why is my application running OK manually, but when I run it in Task Scheduler, it errors out?

I have an application that works on my old Windows 2008 R2 server in Task Scheduler very nicely. It reads data from one web service and then writes some data to another Web Service (so it needs network access). It has been running equally well in…
1
vote
0 answers

Windows Task Scheduler Not Running On Some Machines When Locked

I create a bunch of window task scheduler events on multiple win7 & server 2012 machines. These machines automatically lock the user session after a period of time. Note, this is not logging out. These tasks are designed to only run if the user is…
1
vote
1 answer

Running task with highest privileges causes files created by that task to be owned by the Administrators group

I'm running Windows Server 2012 R2. I have a task that runs every 30 minutes. Basically, it checks to see if an interface address has changed, updates a config file, and restarts an application. Because the config file is in C:\Program Files, the…
1
vote
3 answers

How can I import a scheduled task from the command line that will run with elevated permissions?

I'm attempting to remote-install a graphics driver on a headless embedded Windows7 system. I have several systems in the field that need repair; I can upload an installer script and execute it as an unprivileged user on those systems. The driver…
Ethan
  • 13
  • 1
  • 1
  • 4
1
vote
1 answer

Windows Server Backup Email Notification Powershell Script

I hope everything below makes sense, any help would be much appreciated. I'm trying to create a script that will notify me if Windows Server Backup was successful or if it failed on a list of servers. The script is set to run at a certain time…
1
vote
1 answer

Task Schduler Log issues

I have been using task scheduler for scheduling batch jobs and I have enabled tasks history. However, I could not find any log file in C:\Windows\Tasks. So where could I find the log files for that?
1
vote
2 answers

How to tell if a DOS batch script is being run by task scheduler?

How can a DOS Batch command file determine if it is being run by Task Scheduler?
Dan
  • 51
  • 1
  • 5
1
vote
3 answers

Batch file error when executed from Task Manager

I'm new to windows batch scripting, but I was able to get something working that I needed. It works when executing it manually, but when Task Manager executes the script, it doesn't complete. The Last Run Result is "(0xff)." The script is…
1
vote
0 answers

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 following the March 12th/13th date. What confuses me…
HappyCoding
  • 111
  • 6
1
vote
1 answer

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" But after I create a schedule task to run it, I got…
zer09
  • 133
  • 4
1
vote
0 answers

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 run manually, the Powershell script works as…
1
vote
0 answers

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 present task I get: "The user account you are…
JustAGuy
  • 639
  • 3
  • 23
  • 38
1
vote
1 answer

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 will be mapped. First idea was to use the Task…