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 ...
157
votes
9
answers
85k
views
How do I rename a task in Task Scheduled on Windows Server 2008 R2
I have some tasks in the Task Scheduler on Windows 2008 R2. I created them as the admin and I'm logged in as the admin. I have no easy way to rename the tasks. The only way I can is to export the task ...
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
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
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-...
50
votes
11
answers
191k
views
Windows Task Scheduler does not start task at next run time
I have a Windows Server 2008 SP 2 Task Scheduler task that should run every 10 minutes.
The trigger says "At 6:50 PM every day - After triggered, repeat every 10 minutes indefinitively."
Looking at ...
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 &...
3
votes
2
answers
19k
views
Windows 10 Task Scheduler run PowerShell with no pop-up window
I want to set up a task scheduler to run a PowerShell script every 1 hour with no prompt windows pop-up.
Here is the command I tried:
schtasks /create /sc hourly /tn $Task-Name /st $ScheduleTime `
/tr ...
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
1
answer
2k
views
How to import a PFX certificate to LocalMachine/Personal via GPO
I would like to deploy P12 certificate (for OpenVPN) to Windws Certificate Store, to be more precise to LocalMachine\Personal. The reason is the certificate will be protected at least by local admin ...
30
votes
4
answers
113k
views
This task requires that the user account specified has Log on as batch job rights
I have created a basic task in Task Scheduler on Windows Server 2008 R2. When I try saving the task, I get the following message:
This task requires that the user account specified has Log on as ...
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 ...