Skip to main content

Questions tagged [windows-task-scheduler]

Task Scheduler is a component of Microsoft Windows that provides the ability to schedule the launch of programs or scripts at predefined times or after specified time intervals.

0 votes
1 answer
5k views

"If the task is already running..." setting in Windows Task Scheduler

Let's say I have a Windows Console executable MyApp.exe It can take different command line parameters and depending on parameters can perform different functions. MyApp.exe /1 will execute Function1 ...
Joe Schmoe's user avatar
1 vote
1 answer
2k 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 ...
dannyzee4's user avatar
1 vote
0 answers
171 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 ...
SanJid's user avatar
  • 29
0 votes
1 answer
15k views

How do you get Task Scheduler to run a task as SYSTEM? I use Windows 10, but am uncertain how to do this

How do you get Task Scheduler to run a task as SYSTEM? I use Windows 10, but am uncertain how to do this.
Thomas Pelletier's user avatar
0 votes
1 answer
131 views

Posiblities to login using Windows Task schedule

Im running automatization RPA daily with Windows Task Sheduler (WTS). Its okay but sometimes client lock screen and it wont work. I cant use WTS option to run if logged out because it will run in ...
Bot Plemiona's user avatar
0 votes
1 answer
2k views

Start Django App When Windows Starts

I would like to start a Django App automatically when Windows starts. I created a .bat file (that I intend to execute using Task Scheduler) containing the following: C:\Users\HP\project-name\Scripts\...
Mounir Benhalima's user avatar
0 votes
1 answer
901 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 ...
Gor's user avatar
  • 1
2 votes
0 answers
19 views

Unable to launch UI of java application which is executed by scheduler executed by system user [duplicate]

I have a python script which runs via windows task scheduler, I have to launch a javaFx application jar from this python script, when I execute the python script from cmd it launches the jar, also it ...
kailashdesiti's user avatar
0 votes
2 answers
305 views

How to open apps on startup only on a particular time

Right now, Microsoft Teams open whenever I open my Laptop. But the thing is — I only need teams during 7 AM to 12 PM. And if you know, Teams is very Resource-consuming and causes my old laptop to hang....
Saaransh Garg's user avatar
2 votes
2 answers
12k 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....
THE JOATMON's user avatar
  • 1,943
0 votes
1 answer
4k views

How do I fix a Win2019 Scheduled Task that fails to launch?

I have looked at all of the other questions on Stack Overflow related to Task Scheduler and spent hours googling and none of the answers work. I have created a .cmd file. I would like to schedule a ...
Mark Petersen's user avatar
0 votes
1 answer
724 views

Task Scheduler , run task when .exe from a determined ParentProcessName closes

I have a .bat that opens two .exes: explorer programA.exe explorer programB.exe Lets forget about ProgramB.exe and focus on the A.exe The ProgramA.exe create 3 child process that doesnt close when ...
kraudez's user avatar
-1 votes
1 answer
2k views

Task Scheduler does not launch chrome when Run whether user is logged on or not is selected

I have Python script for web-scraping. I am running it using papermill and then I created a batch file that I use on task scheduler to run. This workflow was running fine until my virtual machine got ...
The AG's user avatar
  • 49
0 votes
1 answer
1k views

Running Program in Windows When Not Connected to Specific Network

I have a Windows 10 PC and a VPN client which does not have a trusted networks feature. I would like to automatically run the client when not connected to my office corporate network or guest WiFi ...
RossHDB's user avatar
0 votes
1 answer
104 views

How to connect rss feed to task scheduler (WIN 10 HOME)

How would I be able to get a task to run in task scheduler when an rss feed is updated? I just want to use the updating of an rss feed as a trigger to get it to start.
Noah Henok's user avatar
12 votes
4 answers
8k views

How to schedule a Windows task on wake?

I created a task in Task Scheduler to run at system startup, and it works great. However, I want to change it to run every time Windows wakes from sleep and I cannot figure it out. The relevant ...
lurning too koad's user avatar
3 votes
4 answers
17k views

Task Scheduler always launches applications in background. How to launch in foreground?

It is a problem I encountered in Windows 10 task scheduler. I created a basic task whose action is start a batch file as follows: start "BitComet" "C:\Program Files\BitComet\BitComet....
zzzhhh's user avatar
  • 183
4 votes
1 answer
2k views

Where are scheduled tasks stored in an offline Windows 10 partition/hard drive?

I found this similar question: Where are scheduled tasks stored in an offline windows 10 image?, which however is about finding the tasks in an image file of a Windows installation. I am looking for a ...
David.P's user avatar
  • 566
2 votes
0 answers
158 views

Is there a way to automatically/programatically set the HDR brightness in Windows 10 through Task Scheduler or something similar?

I'm asking this question in order to automate a workaround for a bug in Windows HDR implementation, where the HDR brightness setting will change to its minimum value when switching users in Windows. (...
BobbitWormJoe's user avatar
0 votes
1 answer
458 views

Improving task from Task Scheduler

I have to restart a program after waking up the laptop. The trigger is working (https://www.sevenforums.com/general-discussion/308855-using-task-scheduler-restart-program-upon-wake-sleep.html) Then I ...
kraudez's user avatar
0 votes
0 answers
223 views

Will checking the last Modified Date of a WIN7 TaskScheduler file (StartRecording), by means of a batch file, automatically update it?

I'm aiming for a quick way to monitor the last Modified Date of a WIN7 TaskScheduler file for Windows Media Center - probably quicker by a batch file than by clicking down 7 levels in Win Explorer. ...
iSeeker's user avatar
  • 229
0 votes
1 answer
3k views

Windows Task Scheduler does not open Chrome browser as active window

I'm able to run chrome browser via Task Scheduler with arguments. But time to time chrome does not run as active windows. After one mouse click - window is active. Is there any parameter or way to run ...
Adam's user avatar
  • 149
2 votes
2 answers
4k views

Start Python script with Task Scheduler via PowerShell

With PowerShell, I want to create a new task that starts a Python script: Setting it this way via the GUI Task Scheduler works, but in my PowerShell code below, I don't know how to specify the "...
EllipticalInitial's user avatar
0 votes
0 answers
549 views

Task scheduler not running after DST time change

I'm experiencing problems with windows task scheduler since last DST change on the 28th (I'm in Europe). I have serveral windows 10 PCs used as test bench, the program we are testing has a database ...
Zucch's user avatar
  • 141
0 votes
0 answers
63 views

TaskScheduler failure - should I be surprised?

Yesterday I spent several hours of my life which I'll never recover finding that, to my great surprise, W10 TaskScheduler is, apparently, crap. I had two repeating tasks, both intended to do backups ...
mike rodent's user avatar
0 votes
2 answers
1k views

Windows Task Scheduler Not Running Microsoft Access Script

I have a script setup in an Access database that I want to run nightly. I've setup a task in task scheduler to run every day at 4:00am. It opens the database, runs the script, and the last line of the ...
Thetafinity's user avatar
4 votes
1 answer
5k views

How to modify permissions for scheduled tasks in Windows 10?

I have a scheduled task that I want to be able to run/trigger as a normal user that has no administrative privileges on the local computer. The task itself was created with the account NT AUTHORITY\...
Slamdunk's user avatar
  • 141
1 vote
1 answer
1k views

Windows Server 2019 Task Scheduler - Task running but not appearing anywhere

I imported a Task on Windows Server 2019 and I got some errors. The Task Scheduler was completely stuck so I deleted the task from c:\Windows\System32\Tasks and from the registry. I then re-imported ...
Guido Lo Spacy's user avatar
2 votes
1 answer
3k views

How would I detect a file with task scheduler

I'm just wondering. Is it possible for task scheduler to detect a file? The closest thing I found to this question was on Technet. Could anyone give me any pointers? Thanks.
NewUser's user avatar
  • 21
0 votes
2 answers
1k views

What is the command line equivalent for toggling "wake the computer to run this task"?

From a sufficiently elevated command prompt I can disable any task from running at all e.g. with C:\WINDOWS\system32>schtasks /Change /Disable /TN "\Microsoft\Windows\UpdateOrchestrator\Reboot&...
got trolled too much this week's user avatar

15 30 50 per page
1 2 3
4
5
19