Questions tagged [task-scheduler]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1
votes
2answers
24 views

How to run a VBA macro from the Task Scheduler in Windows Server 2016?

I have a VBA macro for extracting some data daily. The Macro doesn't have any interactive component like a Message Box, Custom Inputs, or Input Box. It doesn't expect any user input, it only downloads ...
0
votes
1answer
44 views

DHCP Scope Option Sync Scheduled Task

I have two Server 2019 domain controllers with DHCP services running in load-balance mode, which synchronizes leases but not scope options or reservations unless instructed to do so via PowerShell. So ...
1
vote
1answer
15 views

Task scheduler Event trigger on user mail field change

How I could trigger Task Scheduler event when user mail field changed (or any custom attribute) in Active Directory? We want to run Powershell script when user mail field changes. Event ID: 4738, ...
0
votes
0answers
66 views

My windows Task Schdulrer is raising this error “0xE0434352”

I have windows server 2012 R2, and i have some tasks inside Windows Task scheduler which use to work well, but yesterday they start to return this error 0xE0434352, as follow:- I checked the Event ...
0
votes
1answer
16 views

Windows Scheduler: Task Start Failed

I'm trying to learn about task scheduling in Windows 10, so I set myself the task of trying to schedule a script that writes a blank file called test.txt to the user's home directory. I did this by ...
0
votes
0answers
13 views

List of users who have access to a specific job schedule windows

as I'm performing some auditing to identify users who have access and able to amend/update a specific job schedule configured. Can I ask for guidance on how I can view the list of all users who can ...
1
vote
0answers
40 views

Task scheduler can't running after update in same day

i have one task scheduler with 2 action. <?xml version="1.0" encoding="UTF-16"?> <Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/...
3
votes
1answer
92 views

Tasks Scheduler Windows High Availability

What is the best way to put in place «tasks scheduler» with high availability under Windows? Currently, the tasks are planned on a single server, which is a problem when the server reboot (for many ...
1
vote
0answers
79 views

Task Scheduler “On Remote Disconnect from any user session” triggers when connecting, too

I have two scheduled tasks, one with the "On connection to user session" type, any user, connection from remote computer. That triggers when an RDC connection is established. The other is "On ...
0
votes
0answers
52 views

powershell task in task scheduler cannot start-process with another -Credential

We have a scheduled task that is a powershell script. The script performs a number of actions against SQL data-bases where the access is controlled via integrated security. Hence each of these ...
0
votes
2answers
38 views

How to bind static affinity for *all* Linux processes at startup?

I have one single-threaded process on server that I'd like to statically bind to one CPU core and give it all available computing power all the time (it's real-time process that is heavily affected by ...
1
vote
0answers
58 views

Scheduled task on VM only works interactively/manually

I am trying to get a scheduled task to run on a Windows Server 2012 R2 virtual machine. When I RDP in and test the task, everything works manually. The task is scheduled to run nightly and it appears ...
0
votes
0answers
50 views

Can only get Immediate Tasks to work, never Scheduled Tasks

I'm trying to make a GPO that runs a PowerShell script whenever event ID 10000 occurs on a machine (when a network connection is established). First I simply made an immediate task that runs the ...
0
votes
0answers
47 views

How can I run a scheduled task on domain controller whenever a domain user logs into the domain?

I need to log domain user logins & logouts to an Oracle database. Not all computers have Oracle drivers, but one of the domain controllers does. So I have created a script which writes the ...
1
vote
0answers
29 views

How to get details of the event that triggered a task

A service that we are using writes to the event log when issues occur. I have successfully created a task from the event source and id to run a program that notifies the admins. So far, so good. ...
2
votes
1answer
2k views

Windows 10 run an interactive scheduled task to run for any interactive user

I want to setup a windows 10 task scheduler to run a GUI based tasked interactively for any logged on user. Right now we have to explicitly specify the user name, so the task can only be run for this ...
0
votes
1answer
743 views

Task Scheduler failed … Error Value 2147942402

I tried to schedule a task by schtasks /create /tn Test /sc minute /mo 1 /tr "del /f \"%UserProfile%\path\file\"" ...however the Scheduler always ends up with the following type of error: Task ...
0
votes
0answers
127 views

Print to a PDF Printer via Task Scheduler, Issue with Session 0 Isolation

I have a very old Delphi 32-bit application, which creates barcodes, QR codes and some drawings and put them together and print it to a real paper printer. The program runs every hour and is triggered ...
0
votes
0answers
27 views

Access Denied - every once in a while

We have some batch files that are launched via Task Scheduler, that map a network drive if it isn't already mapped, and then moves to a folder on that drive, and launches an executable. Launching ...
0
votes
1answer
472 views

Scheduled task runs twice after DST

We have a process in Task Scheduler that runs at 8:10am on certain days of the month. This has worked fine for years. We u/ged to Server 2019. Then, after this year's DST switch over and server ...
0
votes
0answers
288 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 ...
1
vote
1answer
178 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
98 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 ...
1
vote
1answer
2k 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 ...
1
vote
0answers
89 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
248 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
1k 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
173 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
27 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:\...
1
vote
1answer
194 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 ...
1
vote
1answer
672 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 ...
2
votes
2answers
919 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
614 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
867 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
3k 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
1answer
266 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
861 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
675 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
2k 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
1k 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
644 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
96 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
533 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 ...
2
votes
1answer
888 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
622 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
3k 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
63 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
1k 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
1k 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
1k 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
2 3 4 5 6