Questions tagged [task-scheduler]
The task-scheduler tag has no summary.
327 questions
1
vote
0
answers
302
views
Windows Server 2019 startup task fails with "The last run of the task was terminated by the user 0x41306"
We have a Windows Server 2019 at a small office location with a scheduled task that runs at startup.
The task runs a program (a simple win32 utility exe), that does not trigger.
The Task Scheduler ...
0
votes
1
answer
184
views
Starting Network Script in Task Scheduler as System with FQDN not working
i have a strange Problem and i hope someone can help me.
What I’m doing:
I am creating a Scheduled Task via GPO, which starts a Powershell script which is located on a network share. The Script should ...
0
votes
0
answers
77
views
Starting batch files in startup
I have the following situation:
I have two user accounts. One is an administrator, and the other is a regular user with limited permissions.
I'm trying to run batch files using Task Scheduler or the ...
0
votes
1
answer
355
views
How to copy/transfer tasks from one Windows 10 machine to another
I have a windows 10 machine (A) where all the task files under Windows\System32\Tasks\Microsoft got erased due to a hard disk corruption. Now because all the default windows tasks missing, many ...
0
votes
1
answer
705
views
AzCopy Upload Works in CMD but Fails with 403/401 Errors in Batch Script
I am encountering an issue with AzCopy where my script runs perfectly fine in CMD but fails with authentication errors when executed via a batch file. Here's a breakdown of the situation:
The aim is ...
0
votes
1
answer
1k
views
Task Scheduler jobs not visible
We have tasks in Task scheduler running under account XYZ on a Windows PC. The XYZ user account has been disabled, and users have to logon using their own domain account.
When the user logs on, they ...
0
votes
0
answers
419
views
Windows Task Scheduler Run User
We have created a scheduled task in Windows 2019 to cleanup IIS log files per the following link: https://learn.microsoft.com/en-us/iis/manage/provisioning-and-managing-iis/managing-iis-log-file-...
2
votes
0
answers
103
views
How does task scheduler handle clocks shifting behind or ahead?
In the UK, when the clock moves ahead in March, and when the clock moves behind in October then how does the task scheduler handle this?
I know that if UTC is selected then this doesn't matter. ...
0
votes
1
answer
207
views
Windows 10 Task Scheduler run job but not launch new window
I have a Task Scheduler job that run a Batch file containing python script. When this job is activated either automatically or manually, the script runs correctly as I can see output file generated. ...
0
votes
1
answer
931
views
How to run a batch script completely and automatically on event such as sleep/hibernate and shutdown event using task scheduler?
I have written a batch script to perform some folder synchronizing task. I have scheduled the script to execute using task scheduler on events such as sleep/hibernate(kernel power event id 42) and ...
0
votes
1
answer
1k
views
How to have a task scheduler script running as network service access a network share securely?
Goal is to have a task scheduler task activate a PowerShell script at a certain time.
We have had problems where the server restarts and the script doesn't run because I was not logged in as my domain ...
0
votes
0
answers
2k
views
Windows Scheduled Task Does Not Work With Service Account
I have an odd problem with a scheduled task. The task is scheduled to run at 0202 every morning under a service account. The task is configured to run whether the user is logged on or not and the &...
0
votes
1
answer
436
views
Running A Script From Parent Domain Server To Child Domain With Child Domain Credentials
I have written a Powershell script which checks the OS and does some security scans. The server we run this script from is a member of the Parent domain of my system. I need to run this script from ...
0
votes
1
answer
4k
views
Task scheduler - run whether user is logged on or not
I am trying to run task scheduler on my local pc (windows 10), I have set it up to run a exe file stored on my C drive daily, but it doesn't run when I set it to "run whether user is logged on or ...
0
votes
0
answers
232
views
Windows Server: Email Notification when a user executes an exe?
I need some way to send and email notification when a user logs in to a remote desktop and executes a exe , i need to send an email that exe was run...
Is this possible in powershell ? Should i add ...