Questions tagged [task-scheduler]
319 questions
5
votes
1 answer
Secret scheduled tasks in windows server 2003
I'm taking care of the company's website for a while. The guy who was doing so before me was fired because reasons. So for the past 3 months I've been keeping it up to date and adding/deleting stuff. Not a big deal, I know a bit of PHP so it is not…

MrSalazar
- 51
- 1
5
votes
1 answer
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 than:" only allows as low as 1 hour but is there any…

Mouffette
- 495
- 7
- 11
5
votes
2 answers
Task Scheduler Cannot Apply My Changes - Adding a User with Permissions
When I login to the server using a domain account with administrator privileges and create a task in the Task Scheduler, I am unable to successfully save the Task once I select the following options: "Run whether the user is logged on or not" and…

Aaron
- 199
- 1
- 1
- 9
4
votes
1 answer
Server 2016 Scheduled Task fails on specific hardware model with error 0x8007052e
I've got a strange problem relating to basic Windows Scheduled tasks that has baffled me for a few weeks now. These jobs fail to run on some servers, but work on others which are running on different hardware/VMs platforms. Initially this was a…

Alan Fleming
- 73
- 8
4
votes
3 answers
Windows Service vs. Task Scheduler with startup trigger
I'm running a desktop application as a service with the help of NSSM (Non Sucking Service Manager), which is a wrapper for applications which aren't made to run as a service to be run as a service.
I use an old laptop with Windows 10 as a server by…

user3220145
- 41
- 1
- 2
4
votes
3 answers
.NET Core console app fails from task scheduler with 0xC0000005
I have written a simple .NET Core console app (which writes some log files, hits a database and sends some emails). Triggering the task by double-clicking on the .exe within Windows works fine.
However when attempting to trigger the task through…

Mick Byrne
- 141
- 1
- 1
- 5
4
votes
1 answer
GPO for scheduled tasks not applying to certain servers, no errors in logs
I have two servers out in an OU that are not taking scheduled tasks as specified in the GPO. The same GPO applies correctly to other machines in the same OU with the same permissions, so I don't believe it to be a permissions or routing issue.
The…

kellyredbook
- 67
- 1
- 9
4
votes
3 answers
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 0xE0434352, which is the exception code for all .NET…

dsolimano
- 1,320
- 2
- 14
- 26
4
votes
1 answer
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 username (userid) of the user that logged in,…

ciso
- 217
- 3
- 14
4
votes
1 answer
AT command w/ 2008 R2 unexpectedly schedules task as repeating
In my organization we recently upgraded some servers from Windows Server 2003 to 2008 R2. In doing so we found a strange bug in how the AT command works. This is critical to an internally developed tool that deploys remote tasks to a large number…

spoulson
- 2,183
- 5
- 22
- 30
4
votes
1 answer
Run a scheduled task as an unprivileged user remotely
I need to allow a group of unprivileged users to trigger a predefined scheduled tank on a Windows Server 2008 R2 host. I seem unable to find the respective rights to do so. Upon an attempt to connect to the remote Task Scheduler, the remote system…

the-wabbit
- 40,737
- 13
- 111
- 174
4
votes
4 answers
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 every Monday, Tuesday, Wednesday, Thursday, Friday…

Tamerz
- 412
- 3
- 6
- 14
4
votes
2 answers
How to get eventlog information in a scheduled task email?
I have a scheduled task that sends a email when something happens on a application.
Now I want to send the message details of the event also in the email. How to do that?
In Windows Server 2008 R2 with the Task Scheduler.

marko
- 179
- 1
- 3
- 10
4
votes
2 answers
Windows Server 2008 Task Scheduler Tasks Not Executing
I've been having an intermittent problem for some time now with the Windows Task Scheduler that I can't work out. I use the task scheduler to run a C# app I've written that has various plugins used to ensure production systems are working.
This…

omatase
- 141
- 2
4
votes
2 answers
What is the impact of increasing the httpd process priority (negative nice)?
Renicing a process to a negative nice level increases the process's scheduling priority. High priority processes are run before low-priority processes. They are also allowed to run longer before being pre-empted (they get longer time-slices).
On a…

Daniel S. Sterling
- 1,584
- 2
- 11
- 13