A scheduled-task means the launch of a program or script at predefined times or after specified time intervals.
Questions tagged [scheduled-task]
662 questions
1
vote
1 answer
Task scheduler history on who enabled a task
We have several deactivated scheduled tasks and someone activated one. Is there a way to see who did that?
There is no such information on the task's history.
It is on windows server 2012

hunB
- 113
- 2
1
vote
0 answers
OpenSSH Windows server 2012 : SCP process randomally working : with passowrd authentication
I have created a openSSH SCP bat script and scheduled task to run as SYSTEM. I use publickkey authentication method. For that converted a private key of winscp to openSSH key using putty key gen and set permission of private key file read access…

TAMIL VED
- 11
- 1
1
vote
1 answer
Powershell script to create scheduled Task with argument
i have this Script which is checking if a named service is running. In the actual case its checking for "RSCDsvc" service.
if(!(Get-ScheduledTask | Where-Object {$_.TaskName -like "restart_RSCDsvc" })){
New-Item -Path C:\Admin\scripts -Name…

Juggybash
- 13
- 4
1
vote
1 answer
Update Task Scheduler job password on multiple machines
Here's the deal: the company's policy is to update Service Account passwords every 180 days. Problem is, I'm using those service accounts on about 20 servers, running various jobs - so every 180 days, I have to spend like 4 hours updating them all…

StanTastic
- 860
- 1
- 8
- 25
1
vote
0 answers
Least Privileges for Windows Scheduled Tasks
I want to configure a Windows Server 2012 R2 and a Windows User (Active Directory Domain) in a way that the user has least privileges to access (read) a windows scheduled task on a remote windows server.
As long as I use local admins (on the remote…

Johannes B. Latzel
- 11
- 1
1
vote
0 answers
Allow Windows Server 2016 user account to run Scheduled Task that was set up to run as another account
I've created a Scheduled Task via schtasks.exe so that it runs as an elevated account [A]. However, my reduced privilege account [B] can't manually trigger the task to run through the Task Scheduler or via the CLI.
I have tried:
Changing the…

Cameron Willis
- 11
- 2
1
vote
0 answers
Windows Event Filter to Trigger A Scheduled Task Using Custom Data
I need to create a custom event filter to trigger a scheduled task to recover a hung process.
Here is the event log in XML format:

Nime Cloud
- 466
- 1
- 4
- 17
1
vote
0 answers
Running a program from Task Scheduler without user being logged in. Windows Server 2019
I'm trying to run a program on Windows Server 2019 Standard with a user that that doesn't have to be logged in.The program reads the config file from the users profile. We are using User Profile Disks.
The program have a UI that can be overridden…

StarsonArms
- 11
- 4
1
vote
0 answers
Task scheduler can't running after update in same day
i have one task scheduler with 2 action.
2020-07-21T08:40:20.4842672
…

febry
- 73
- 1
- 7
1
vote
2 answers
windows server 2008 tasks\cmd programs
when I run a task on windows server 2008 I can't see the windows of it. how can I fix it?
unknown (google)
1
vote
1 answer
New-ScheduledTaskTrigger using variable for -DaysofWeek
I'm writing a script that takes the user's input to then Register-ClusteredScheduledTask
I'm trying to use a string for the -DaysOfWeek, but am only receiving various errors...
New-ScheduledTaskTrigger -Weekly -WeeksInterval $recur -DaysOfWeek $day…

TracyMcClain
- 13
- 1
- 6
0
votes
1 answer
Stopping powershell background jobs at a scheduled time?
I started a few powershell jobs and I want to stop them at a scheduled time. I know the command to stop them is Stop-Job -Name $someName but I don't know how I can schedule this.
I mean I realize there is task scheduler, but how do I get to the…

leeand00
- 4,869
- 15
- 69
- 110
0
votes
1 answer
How to put monitors into standby mode during certain hours using Group Policy
Just a normal Windows Server 2008 R2 and Windows 7/10 office environment with about 35 clients.
I would like to implement a domain-wide power plan for our office computers to put their monitors in standby mode after a certain amount of time, but my…

Disco
- 17
- 6
0
votes
0 answers
Scheduled task returns error 0xff but success
I have a scheduled task that runs a batch file, and even though I can see the results of it completing successfully, according to the task scheduler it fails with error 0xff, every time.
title Archiving
for /f "tokens=2 delims==" %%a in ('wmic OS…
0
votes
2 answers
Do Azure logic apps wait for completion before firing again?
We have an Azure logic app that fires every 60 seconds. It fetches a URL. Typically this would only take < 1s, but sometimes if there's a lot of work to do on the other end it can be higher.
Will the Azure logic app service wait to fire again if…

Tom Gullen
- 385
- 4
- 8
- 24