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
2 votes
1 answer
32 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
25 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
25 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
18 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
38 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
196 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
  • 113
0 votes
0 answers
149 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
22 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
73 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
38 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
60 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
146 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
106 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
34 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
237 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
34 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
448 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
89 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
  • 77
0 votes
1 answer
70 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
  • 306
1 vote
1 answer
97 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
147 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
98 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
117 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
31 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
20 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
231 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
169 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
62 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
97 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
90 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
116 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
0 votes
2 answers
1k 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
18 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
91 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
243 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
63 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
41 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
45 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
76 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,463
0 votes
1 answer
135 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
51 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
0 votes
0 answers
26 views

Any issue if I disable MicrosoftEdgeUpdateTaskMachineCore and MicrosoftEdgeUpdateTaskMachineUA?

I was learning task scheduling and I saw two tasks MicrosoftEdgeUpdateTaskMachineCore and MicrosoftEdgeUpdateTaskMachineUA related to auto update of Microsoft Edge. Is there any problem/threat if I ...
user avatar
  • 1
0 votes
0 answers
81 views

Task scheduler for scripts not running

I have some python tasks for work scheduled to run in the evening/early morning on Windows 10 Enterprise. The scripts work when I trigger them manually but not when my laptop is not in use, and I don’...
user avatar
  • 1
1 vote
1 answer
373 views

Windows Task Scheduler won't run task based on RDP login event

I want to run a command whenever I log in to my computer via RDP remote session. In task scheduler, I set the trigger as follows: <QueryList> <Query Id="0" Path="Microsoft-...
user avatar
0 votes
0 answers
55 views

Task Scheduler does not run assigned tasks

I have a task being scheduled in the task scheduler to run once everyday. The task is just to run a Python script for a software that needs to be triggered every day. Recently, for debugging purposes, ...
user avatar
0 votes
0 answers
52 views

Running task in Task Scheduler when do not see the Remote Desktop in WinServer2019 with telnet and cscript

I have two Windows Server 2019 in failover cluster running Redmine. Redmine hangs for a long time when not used, so I made request-Redmine.bat with :: Open a Telnet window ::start /B telnet.bat start /...
user avatar
2 votes
2 answers
1k views

How to run a PowerShell script at logon for all (current and future) users with elevated permissions without UAC

I'm building a login script for our company. Some of the things it will do include installing printers, mapping drives, setting wallpapers, etc. Many of these things will require elevated permissions....
user avatar
  • 1,840
0 votes
0 answers
60 views

Windows Task Scheduler running on multiple Virtual Machine instances

I suppose my question may expose my lack of knowledge about how VM instances operate. My understanding, as has been explained to me so far, is that each instance is identical to each other. If I have ...
user avatar
0 votes
0 answers
26 views

When I setup a schedule to wake the PC up, the PC resets instead

I followed this guide, exactly like it tells, however, for some reason, when the computer tries to wake from Sleep / Hibernation it simply resets instead. I am trying it on a Windows 10 system. Also ...
user avatar

1
2 3 4 5
18