Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [task-scheduler]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
20 views

Task Scheduler runs a console application in the wrong way

I have configured a task to be run in Task Scheduler. That task is a console application. I configured action to be "c:\path\app.exe >> c:\path\logs\output.log". When I manually run the task from ...
0
votes
0answers
19 views

Scheduled tasks re-runs as missed their scheduled time even they were run and completed successfully at their startup time

We use Windows Server 2016 Task Scheduler to start periodic tasks. All our tasks has the [x] Run task as soon as possible after a scheduled start is missed setting enabled. The tasks are occasionally ...
0
votes
1answer
29 views

How to change linux default scheduling method

I've a jenkins server and running a lot of CPU bound compilations. I want to change the scheduler from SCHED_NORMAL to SCHED_BATCH. I know it can be done with chrt but I want the system to use it by ...
0
votes
1answer
21 views

Creating tasks for task scheduler

We use Azure-AD with Intune at work and I was wondering if it is possible to utilise it to set task scheduler tasks. Checking the CSP library did not prove helpful. I know I can utilise power-shell ...
0
votes
0answers
232 views

Windows Server 2019 scheduled tasks must be in future

As a follow on to the Windows Server 016 scheduled task must be in future, can anyone confirm if the same quirk exists in Windows Server 2019? When I was tidying up the Task Scheduler Library with ...
0
votes
0answers
26 views

Unable to backup SQL to a UNC path with a gMSA

I'm trying to automate backups using Ola Hallengren's backup scripts. I'm testing this out on a SQL express instance 2008 R2 (I know it's EOL today). I've setup the jobs and I created a scheduled ...
0
votes
0answers
43 views

Windows: How to watch progress of .bat file when run by Task Scheduler?

Is there a way to watch a .bat file run when it's started by the Task Scheduler? Windows Server 2008 R2 Standard
1
vote
0answers
32 views

Do I need to have identical user account on different domains to run a net use command via batch script?

I have a Task Scheduler task that runs a batch file which copies a file from server1 to server2 on a different domain. Note:The scheduled task is running on Domain_A using user accounts created to ...
0
votes
1answer
129 views

Windows 2012 server, created task not running

Created a task o windows 2012 Server, to run a *.bat file. Set up to run at startup and repeat task every 15 minutes. @ECHO OFF REM -------------------------------------------------------------------...
5
votes
1answer
458 views

Task Scheduler - Task Idle Conditions

Again me with the Task Scheduler. Microsoft - Task Idle Conditions Under Windows 7, tasks behave according to the rules stated in the link ... tested and it works. Under Windows 10 (Pro v1809 with ...
2
votes
3answers
38 views

Windows Task Scheduler to click link in access form

I have a label on an Access form. This is a clickable label which will then run an event procedure. This event extracts data and puts it into an excel sheet. A Client has asked for this to be an ...
1
vote
1answer
24 views

Task under SYSTEM won't run Win Srv 2k8R2

My company has a software that updates our installers on clients' servers. During the setup, a environment variable is created along with a task with the following lines: Variable: setx ccloud "C:\...
0
votes
0answers
138 views

Task Scheduler To Run batch file windows server 2012

Hi I have been struggling with this for a while and I don't know what the problem is. I need to Deploy software to 100 computer on the domain. My domain has windows server 2012. I created a Group ...
1
vote
1answer
120 views

Windows task scheduler - can't get PS script to get-eventlog from servers over network, only local server

In a 2008 R2 server, I have a Windows task that executes a PowerShell script that uses Get-EventLog to get Windows event logs from the local server and also from servers over the network. When running ...
0
votes
0answers
229 views

How to run a Windows Task that executes a PowerShell script as the Windows Local Service account

On a 2008 R2 server, I have a Windows task that executes a PowerShell script. It works fine when set in Task Scheduler to execute as an Admin account, but I'd like to set it to execute as the Windows ...
1
vote
1answer
295 views

Unable to see Scheduled Task even with access rights to SYSTEM32\Tasks

I have a follow-up question to this. I have a task folder RPA with two tasks as follows: I created these two tasks myself using the Task Scheduler UI (as in above image). My trouble is I am now ...
0
votes
0answers
358 views

Unable to create tasks in Windows task scheduler - Permission denied

I have few servers facing same problem- I am unable to create task scheduler jobs. The problem seems to be exactly same as this and this. However, I have checked group policies, and made sure that ...
0
votes
0answers
467 views

Scheduled Tasks Triggering When Not Scheduled

Server environment: Windows Server 2012 R2 Hello, I've been experiencing a strange issue on one of the servers I administrate and was hoping someone could point me in the direction of some answers. ...
4
votes
1answer
905 views

Permissions or ACL for Scheduled Tasks

I am on a Windows Server 2012 R2 and the logged in account is a member of Administrators. This is a screen shot of Task Scheduler: I have tasks in folders another administrator created: RPA and Test....
0
votes
0answers
600 views

Task scheduler fails to run task under group managed service account

I successfully followed the detailed instructions in this Technet blog post on setting up a group managed service account called 'locSchedAccount' on a Windows Server 2016 Standard machine acting as ...
0
votes
1answer
88 views

Trigger task after DataCollection with perfmon

In performance Monitor, I'm looking for a way to compress my data collection (*.blg file) when the collection has reached the stop condition. Looking at the "Data Collector Sets" properties there ...
3
votes
0answers
73 views

Defining multiple triggers for my Task Scheduler will only work on the first trigger

I have "Windows server 2008 R2 standard" with SP1. and inside my windows Task Scheduler, i define the following 2 triggers:- now as the picture is mentioning, i want to run the task on different ...
3
votes
1answer
367 views

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 ...
3
votes
1answer
927 views

Execute a Windows task triggered by registry changes

I'm looking for a possibility to execute a script in case a particular registry key is going to be created or modified. In the Windows Taks Scheduler there is a way to execute scripts triggered by ...
1
vote
2answers
341 views

Task Scheduler — how to expand /export the “Show Active tasks” window — Windows server Enterprise Edition 2007:

For the Task Scheduler -- how to expand the "Show Active tasks" window -- This is for Windows server Enterprise Edition (release date: 2007). Is there a way to export the data to a .csv file or ...
1
vote
0answers
491 views

How to create a scheduled task to run on system startup(without user logging in) in Windows server 2016 azure vm

I have a windows server 2016 server in Azure which is mainly used for running a few scripts. I want to create a schedule where a script should run at the system startup(around 3-5 mins delay is also ...
0
votes
1answer
93 views

task scheduler returns false executing the script

The following script checks for network share availability: while($true) { $i++ test-path Z: |Foreach{"{0} - {1}" -f (Get-Date),$_} | Out-File "F:\script\path.log" -Append Start-Sleep -s ...
1
vote
1answer
443 views

Task Scheduler Arguments

Are there any parameters defined for Task Scheduler arguments? Specifically, I'd like to send in the current location of the task. For example: If I've got a task under Task Scheduler Library > My ...
0
votes
1answer
553 views

Save scheduled tasks with powershell

I want to save my scheduled tasks using powershell. I tried this: $taskpath = "\mytasks\" # all of my tasks are in this folder in Task Scheduler $savefolder = "C:\tasks" # where I want to save ...
0
votes
0answers
392 views

How to use schtasks to query a remote server as a non-admin?

I want to query a remote server's tasks: schtasks /query /s <server-name> ERROR: Access is denied. The account I am running this from is not a local admin on the remote server, but I have the ...
1
vote
1answer
2k views

PowerShell script running from scheduled task: action failed to start, directory name invalid

I have a Windows Server 2012 R2 server running a scheduled task with three actions, each running PowerShell scripts: Each of these actions "starts in" the relevant (and correct) directory: ...
2
votes
0answers
57 views

When creating new basic task Windows scheduler getting stuck

I have Windows SBS 2011 server with one secondary Windows 2003 domain controller, no other problems found, but when I try to create new basic task on the SBS, all works well till pressing the Finish ...
1
vote
2answers
999 views

PowerShell New-ScheduledTaskTrigger requires user input?

I'm trying to add a Powershell script to task scheduler to run on a regular basis. Import-Module ScheduledTasks $scriptFilePath = "C:\hello-there.ps1" $action = New-ScheduledTaskAction -Execute "...
1
vote
1answer
645 views

Windows Task Scheduler: Why is the minimum frequency once per minute?

The Windows Task Scheduler will not allow you to run a task more frequently than once per minute. To get around this we can set up multiple triggers to run the task every minute but with staggered ...
1
vote
1answer
803 views

Where do initial task/kernel/cpu scheduler values after cold boot come from in Linux?

This question is related to a former one, which contains the full background of my problem. The summary of that background is that I have two almost identical VMs and one of those is scaling very ...
-1
votes
1answer
285 views

How to fix Win2003 Task Scheduler Error 0x8007000d: The data is invalid after re-joining domain?

After re-joining this Windows 2003 Server box with the domain, all 20+ Scheduled task jobs were unable to start. An error has occurred attempting to retrieve task account information. You may ...
1
vote
3answers
6k views

Issues deploying a Scheduled Task through GPO

I am having trouble deploying a Task to all the workstations in my environment. I am trying to setup a simple task that reboots at a specific time; In my research on trying to accomplish this, I ...
1
vote
1answer
473 views

What permissions are needed for Register-ScheduledTask?

I have a PowerShell script that runs under its own user account for security purposes. It needs to be able to schedule tasks as part of its operation, and uses the ScheduledTasks module to do so. ...
0
votes
2answers
761 views

I need to configure a domain user to run a scheduled task

Here is my configuration (on DC): Note: user is just regular on the domain. What I am missing? When I run: gpresult /user asap\deltacopy /V I get this: INFO: The user "asap\deltacopy" does not ...
2
votes
2answers
1k views

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 ...
0
votes
1answer
70 views

Server 2k8 R2 | Windows 7 -> Scheduled Tasks GPO don't run but if created locally on client they do

I created a GPO that pushes scheduled tasks to my clients. The scheduled tasks run an exe silently in the background. They don't work. I have made sure they run as a domain/ent admin account. ...
2
votes
1answer
1k views

Task Scheduler : Window can't find the specified folder

I am running on Window 2012 OS. Whenever I am going to open Task Scheduler Service it is giving me the following error: Windows cannot find the specified folder.
0
votes
1answer
107 views

Does “Stop the task” kill an EXE that launched successfully?

In Windows Server 2008 R2 Standard 6.1 (build 7601 SP1), in Scheduled Tasks, I have a "Start a program" task that launches a normal EXE (visible desktop application) at login. This app is intended to ...
2
votes
0answers
2k views

Windows Task Scheduler job not starting but runs on manual start

Windows Server Version : 2016 Problem Description : This is indeed a weird problem I am facing. I have a .bat file that I have scheduled to run every 15 min but it does not start on its own at the ...
1
vote
1answer
62 views

What happens to Task Scheduler if User has no permission?

I've a little question: Lets say I have a Windows 2012 Server where I created a Scheduled Task with my Useraccount. I selected the option "Run this task even if user is not logged in" - so I don't ...
0
votes
1answer
294 views

How do I show my user created task which does not show up in Windows 2008 task scheduler?

From within "Task scheduler (local)", within the task scheduler application of Windows 2008 server, I have created a new task. However the user created task doesn't show up in the list of "Active ...
1
vote
0answers
308 views

Does Windows task scheduler cache dlls

I recently changed an existing scheduled task on a Windows 2008 r2 server by making it point to a new executable located in a different folder than the previous one. A few DLLs alongside the exe (a ....
0
votes
1answer
52 views

How to determine what is scheduling a job to run or starting it in linux/debian?

I've searched and found similar questions asked, but either they don't answer it or I'm not understanding. We have a linux file server that is scheduled to make backups using rsync. I noticed that ...
0
votes
2answers
82 views

Juicebox Job Scheduler as a Windows service?

Have been using the Juicebox Job Scheduler to run scheduled tasks on my Windows Server box for more than a year. However I need to manually start the scheduler each time I reboot as the scheduler is a ...
0
votes
0answers
74 views

Access hidden/administrative Windows file share with UNC path from task or windows service

These administrative file shares seem to contain some magic which is either poorly documented or very hard to get to. There is a lot of information of various aspects but nothing seem to apply exactly ...