Questions tagged [scheduled-tasks]

A scheduled task is a job scheduled to run at a specific time and frequency and run a specific command on the operational system.

Filter by
Sorted by
Tagged with
0 votes
1 answer
14 views

How to daisy chain tasks in the Windows Task Scheduler to run consecutively?

When one scheduled task is completed, I want another task to start immediately after. Task #1 already has 32 actions, so I cannot add another action. So I figured "Oh, I'll just split my single ...
user avatar
  • 503
0 votes
0 answers
18 views

Task-scheduler: cannot view/edit/run the tasks CREATED BY OTHER WINDOWS USER

We created tasks using one windows user and we configured it in such a way that service account will run the task but not the windows user. Now the issue is when I login with other windows user I am ...
user avatar
0 votes
1 answer
21 views

Running as an admin, is it possible to create a non-administrative scheduled task?

I'm working on a project responsible for establishing three callbacks for the execution of commands. These are supposed to represent three different scenarios: Regular Command Prompt, Administrative ...
user avatar
  • 1
0 votes
0 answers
12 views

How to monitor changes to a powerpoint slide show file (ppsx) using Windows Task Scheduler/batch file and restart Microsoft PowerPoint Mobile on PC?

We use powerpoint presenations as a welcome screen at work. Previously I had a scheduled task with a script that would look at the .ppsx file and if a change was made, it would relaunch the file with ...
user avatar
0 votes
0 answers
5 views

Windows task scheduler: when using the "repeat task every" option, I can't prevent the scheduler to trigger script execution when resuming from sleep

Using Windows task scheduler, I want to trigger script execution each hours (for instance at 20h15, 21h15, 22h15 etc...) when the computer is awake but NOT when it is in sleep/hibernate mode. When the ...
user avatar
0 votes
0 answers
17 views

Scheduled Task 'hangs' and blocks Octopus when it is trying to disable the task

In our organization Octopus is used to deploy on-premise web applications and background tasks on a Windows Server. During deployment Octopus disables all scheduled tasks before deploying several ...
user avatar
0 votes
0 answers
13 views

Windows Task Scheduler "Stop if the computer ceases to be idle" not working as expected

I've created a task in Windows Task scheduler to run an executable when my PC is idle. The task starts fine but is ending the task once the computer is no longer idle. I have "Stop if the ...
user avatar
0 votes
0 answers
19 views

Windows server's task sheduler not working after few months

I am using windows task scheduler to run few tasks. But the tasks stop running time to time. May be after few months. Can I know why this happens? dose this happen because of user password expiration?
user avatar
2 votes
1 answer
33 views

Custom Scheduled Tasks in Win11 causing PowerShell & CMD.exe pop-ups - how to make them silent / background tasks?

How can I make these run silently in the background? Here is my PowerShell script: rm C:\*.jpg rm C:\*.doc rm C:\*.pptx rm C:\*.xls rm C:\Users\*.jpg rm C:\Users\*.doc rm C:\Users\*.pptx rm C:\Users\*...
user avatar
1 vote
0 answers
34 views

Task Scheduler is not executing Start-Sleep in PowerShell script

I have a file called XLStoXLSX.ps1 which I am running it using a (.bat) file from Task scheduler as below : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File "E:\Conversion XLS to ...
user avatar
  • 121
0 votes
0 answers
35 views

how do I send an HTTP request when my pc goes to sleep or shutsdown

I am trying to set up a system where when my pc goes to sleep or shutsdown it sends an HTTP request to a raspberry pi on my local network which then performs some actions. Currently I have written a ...
user avatar
0 votes
0 answers
20 views

Automatically Open a File when A certain directory is opened in Windows Explorer

Is it possible to open a certain text file or a file with specific extension, when I open a particular directory in Windows Explorer in Windows 10? Here is one possible scenario for this request: I ...
user avatar
0 votes
0 answers
47 views

Is Windows 10 scheduling algorithm throttling back my processes?

I have a 10-core, 20-thread Intel Core i9-7900X 3.3GHz CPU. I've been running between 18 and 20 threads on it for around four years, mostly under Windows 7. A few months ago I switched to Windows 10. ...
user avatar
3 votes
1 answer
351 views

Windows task scheduler not calling the script when trigger is true

I have scheduled the in-built windows task scheduler to run python code every day, the trigger time is 11.14 AM. The thing is, I told the scheduler to run cmd and invoke the keywords python pathtofile....
user avatar
  • 215
0 votes
0 answers
316 views

Task Scheduler runs the task but does not execute PowerShell script

Just as the question states. I am trying to schedule a PowerShell script to run every hour using the Task Scheduler on Windows Server 2012R2. This is a remote server. The Task Scheduler runs the task ...
user avatar
  • 13
0 votes
0 answers
41 views

Task Scheduler: Task Never Reaches Completion despite finishing all its jobs

Running a batch file through the Task Scheduler Its running fine, completes everything expected Then continues to run without end for no reason Batch File contains: -> "C:{PATH}\bin\runapp.cmd&...
user avatar
0 votes
1 answer
179 views

Can't find scheduled task in Task Scheduler

I added a custom task to startup my Calendar app (Windows 10) on every bootup. Now I want to stop that from happening, but I cannot find the task anywhere. In Task Scheduler, there is no custom tasks ...
user avatar
  • 403
0 votes
0 answers
74 views

How to create a Scheduled Task that runs a Power Shell script once on next reboot then never runs again?

On Windows 10, is there a way I can create a scheduled task that kicks off on the next system reboot or user login but then never runs ever again? Currently I can create a scheduled task that runs on ...
user avatar
2 votes
1 answer
81 views

How to shut down and start up Debian server on a preset schedule?

I have a basic home server running Debian 11, which I am using to self-host a few things. I would like to set it up, so that it does not run during the night. Basically, I am doing this out of noise ...
user avatar
0 votes
0 answers
268 views

Scheduled Task Launch Failure - 2147944309

There is a scheduled task that executes a script. It was running fine until one day it started to fail with 'Task Scheduler failed to start "Task" task for user "domain account". ...
user avatar
0 votes
0 answers
283 views

Execute Python script in Windows Task Scheduler

I have a Python script which is running in Windows Task Scheduler. The script contains some print commands so that when it run from PyCharm, I can see the print in the console. However, I can't see ...
user avatar
0 votes
0 answers
43 views

Disable ubuntu scheduled shutdown

Many moons and about 4 releases ago I set up my Ubuntu system to automatically shut down at night (in the interests of going to bed). I do not recall how I did it. It's not in cron, I have grepped ...
user avatar
0 votes
1 answer
397 views

Win 10 - Task scheduler not running when specifying a domain account as local admin

I have a gpo that adds a domain account to be a member of the local administrator group on a domain joined pc. I can see the user is part of that group, and have the task scheduler set to run whether ...
user avatar
0 votes
0 answers
43 views

Windows task scheduler website opener

Yes I know this has been handled in various threads dating back to 2012 and such, but hear me out please. I've seen multiple methodologies for opening a web page in task scheduler varying from using a ...
user avatar
1 vote
1 answer
747 views

Allowing non-admin users to trigger Task Scheduler task via shortcut

I have a piece of software that can only be licensed under the current user, and I need to have it available on a lab machine where I don't know who will be logging in. I have a script that runs in ...
user avatar
1 vote
1 answer
132 views

Create Task Scheduler adding wake computer condition using batch script

I have a batch script to create a task scheduler but I want to add the condition to WAKE THIS COMPUTER TO RUN THIS TASK. The purpose of this task is the wake the computer from sleep mode. I have ...
user avatar
  • 97
0 votes
1 answer
106 views

Running a program before Windows login (Task Scheduler fails to execute)

I'd like to run a small *.exe written in AutoHotkey before the Windows user logon. I created a scheduled task for this, but it doesn't seem to work. In the task scheduler it reads "The last run ...
user avatar
  • 296
1 vote
1 answer
159 views

windows Task scheduler - making a task run as an application rather than background process

I have a windows powershell script that runs all, day every. It's started by task manager at 5 minutes past midnight every morning, runs as an application (i.e. in a powershell console on my desktop) ...
user avatar
1 vote
1 answer
220 views

How to make Task Scheduler open a Document with a specific program?

I have Windows 10 Task Scheduler opening a specific .rtf (also tried changing it to .docx) file on workstation unlock. At present it opens automatically with Wordpad, but I want it to open using ...
user avatar
3 votes
1 answer
128 views

running Process Explorer as administrator at log on of non-admin account

I have tried to achieve a supposedly simple task of running Process Explorer with administrator rights (to show all processes) when logging on as normal user on my Win10 Pro 21H1 system. It proved to ...
user avatar
0 votes
0 answers
20 views

Windows 10 Update, sth. like "active days"

I would like to deny Windows Updates on the weekends, but not during nights for working days, since we run production tests over weekends: In the documentation for Windows Updates, I can find ...
user avatar
  • 101
0 votes
1 answer
285 views

Why scheduled Tasks not running on Windows Server?

I have several scheduled tasks stored in Windows Server 2016. But none of them are executed at the appointed time. If I run them manually, they will run properly. I have also created some tasks in the ...
user avatar
  • 319
1 vote
0 answers
38 views

How to add trigger for Task Scheduler on weekdays on a specific time, except for a certain days

So I have this .bat file that I need to run on weekdays at 1 pm. Adding it is easy, the problem is. Every 1st to 3rd day of the month(ex. January 1 to 3) the 1 pm run must not run but instead, it ...
user avatar
  • 29
0 votes
0 answers
22 views

Is it possible to send arguments from a failed scheduled task?

I'm trying to make sure that when we have a failure on any scheduled tasks at work (especially the critical ones) we get notified. I've set up two tasks: Task 1: Starts the program that alerts my ...
user avatar
0 votes
2 answers
368 views

How can I schedule only Windows Defender to update itself the moment updates come out?

I schedule Windows updates according to my convenience. I would, however, like Windows Defender to automatically update itself the moment updates are released or at least be able to schedule Windows ...
user avatar
0 votes
0 answers
187 views

Task Scheduler in windows10 - just created task is not listed in active tasks

I created it in the following way: Open Task Scheduler from the start menu. Clicked on "Create Basic Task" to create a new task and click Next. Entered Name for the task Answer when to ...
user avatar
1 vote
1 answer
66 views

Powershell script does not get executed by Task Scheduler

I have a simple Powershell script (ps1 file) that clears the contents of a existing file, and then appends date and status of a service to the file: Clear-Content \\MyDomain\Homes\Usr\MyUser\"...
user avatar
0 votes
1 answer
148 views

Running a Script in Foreground Without Login at Boot Windows10

I am trying to run a programme (t-rex, mining soft) which runs in the cmd indefinitely. I want to run it at boot without login. I have got it to run without any problems by scheduling a bat file, but ...
user avatar
  • 1
0 votes
1 answer
110 views

Windows Task Scheduler: Schedule task to run after reboot after 30 days

In Window 10, I want to schedule a task to run after 30 days but only after reboot (at startup) I cannot combine these 2 triggers i.e. it should run when the system is rebooted after every 30 days. As ...
user avatar
0 votes
0 answers
174 views

How to run a program with administrator privileges on user login under Windows 10 Pro?

I would like to run a task to monitor CPU temperature while I am logged into my regular working account, which does not have admin privileges. However, admin privileges are required to read the CPU ...
user avatar
  • 1
1 vote
2 answers
2k views

Downloading all files from URL Folder to local folder

I want to download all contents from a url using Windows 10, like https://example.com/folder This folder may contain 100 files, and I want to put them all into C:\backups I am going to schedule this ...
user avatar
0 votes
0 answers
19 views

Automatically Log Into Windows 10 At Specific Time

I am trying to run a macro to upload file to an website once a day on the weekend. I have created a macro with Pulover's Macro Creator that was successful in this. My issue now is trying to find a way ...
user avatar
  • 1
0 votes
0 answers
112 views

What is the difference between scheduled tasks and scheduled jobs on Windows?

People usually use these terms interchangeably, even Windows Task Scheduler deals with .job files, but I remember that I was told there is a difference. I think it was about that "real" jobs ...
user avatar
  • 1
0 votes
1 answer
503 views

Does a scheduled task in Windows that is triggered by an event run continually?

I created a scheduled task in Windows 7 that is supposed to be triggered when an event happens. Well, the event happened, and the action did not get performed? Does a scheduled task in Windows that ...
user avatar
0 votes
0 answers
78 views

Can't open shortcut as minimized in Task Scheduler

I have a lnk to a bat file that opens a minimized window when ran. It works fine. However if I create a task in Task Scheduler by doing cmd /c "C:\...\task.bat.lnk", it no longer opens in ...
user avatar
  • 179
0 votes
0 answers
47 views

How to trigger a WIndows task based on a process terminating?

I'd just like to run BleachBit on the command line when my browsers close, to simulate the convenience of certain commercial software I have no interest in having on my computer anymore. It's pretty ...
user avatar
  • 61
1 vote
0 answers
65 views

How to create a scheduled task in Windows that will detect if an application currently has a system tray (notification area) icon?

I want to create a Windows 7 (64-bit) scheduled task to determine if an application currently has a system tray (AKA notification area) icon. The scheduled task can run a batch file, PowerShell script,...
user avatar
0 votes
1 answer
102 views

CMD/PS1 runs from prompt but not as a SYSTEM scheduled task?

At first I tried using the following as a command for a scheduled task (see the full dump of the task below) C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -Command ...
user avatar
  • 3,503
0 votes
1 answer
173 views

As an admin, I cannot schedule for a user account a Task Scheduler for an UAC program

As an admin, I am scheduling my task for another user by doing this .bat command to schedule for ANOTHER_USER: schtasks /create /tn AlarmClock /tr C:\ProgramData\AlarmClock.exe /sc onlogon /ru ...
user avatar
0 votes
0 answers
69 views

Task manager can decrypt one BitLocker-encrypted partition but not another

I'm running Windows 10 21H2 (19044.1319) Home Edition. My laptop has two SSDs, one with C: and D: partition and one with E: partition. Both D: and E: are BitLocker-encrypted. E: is fully encrypted ...
user avatar

1
2 3 4 5
19