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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

Trying to get a task to only run once

Im running a batch file for a rust server in the task scheduler in case the server reboots when im not on. I want this task to stop once i login to windows or run another batch file. Is this possible. ...
user avatar
0 votes
1 answer
16 views

How to see details of an error in Task Scheduler with 0XFFFFFFF code

I am running a Task in Windows Server 16 but the Status always shows 0XFFFFFFF Is there a way to see more descrption of the error. Will you get this if the Process which it is trying to start is ...
user avatar
0 votes
0 answers
16 views

Is quotes needed for parameter in Windows Task Scheduler?

When running process in Windows Task Scheduler is quotes needed in parameter? Which would this be equivalent to if typing in command prompt? \\server\myscript.exe 18 import or \\server\myscript.exe &...
user avatar
  • 109
1 vote
0 answers
16 views

How to solve error 0x1 in Task Scheduler in Windows 10?

I'm trying to run a task in my laptop, I'm using Windows 10 Home, I've created a task in Task Scheduler and I'm getting error 0x1 on the Last Run Result. I've set the "Run whether user is logged ...
user avatar
1 vote
0 answers
23 views

Application is working fine when run manually, but when it is run from the task scheduler it doesn't work

That's it basically, when I run the app manually is able to find the files than it supposed to look for and work with them as it should, but when running from the task scheduler, even with my user, ...
user avatar
  • 171
0 votes
0 answers
13 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
0 answers
17 views

Task Scheduler freezes when Properties is clicked on the Actions pane even after sfc/scannow and reboot; but opening a second Task Scheduler succeeds

When I open Task Scheduler on Windows 10, choose a task, and then click on Properties in the Actions pane, the Task Scheduler GUI freezes. I can still work with other things on the desktop. So I run ...
user avatar
  • 549
1 vote
2 answers
23 views

SCHTASKS.EXE works inconsistently

I created a task remotely on ServerB and ServerC from ServerA using a command like this. SCHTASKS.exe /Create /S server /RU domain\user /RP "password" /SC ONCE /TN task /TR D:\scripts\script....
user avatar
0 votes
0 answers
28 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
0 votes
1 answer
23 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 ...
user avatar
0 votes
0 answers
66 views

WIn10 Azure joined device, scheduled Task trigger "At logon any user" not triggered when using azuread\logins

My SetUp: Win10 Device, Azuread joined I've created a scheduled task, which should be triggered on Log on by any User. It should run as 'Administrators'. Unfortunately the task is only triggered for ...
user avatar
0 votes
0 answers
146 views

Task Scheduler won't run scheduled tasks Windows 10

I have a python script that is located on my user account. The python environment used by the script is also located on my user account. I first tried to schedule a task on the user account but ...
user avatar
0 votes
0 answers
22 views

Windows - Unlock locked screen with task sheduler

Is there any possiblity to unlock/log in to windows account when it`s on loggin/locked page with script/cmd? I there is possibilty to run task sheduler when screen is locked. So can i run some script ...
user avatar
1 vote
1 answer
86 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
0 votes
0 answers
10 views

Task Scheduler to start Vive Wireles on Steam Vr boot up event

Just got my wireless adaptor for Vive Pro 1 and need to launch a program "Vive Wireless" whenever Steam VR opens. Doing this manually has lead to several instances of me forgetting, so I ...
user avatar
1 vote
0 answers
25 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
10 views

Script copy from remote server

Hey all I have run into a bizarre issue at work. We use a script to copy a file from a share drive to the local server. We have this set up as a scheduled task to run every 15 minutes when the admin ...
user avatar
0 votes
1 answer
298 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.
user avatar
0 votes
1 answer
14 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 ...
user avatar
0 votes
0 answers
31 views

Blender python script on Windows server - "cmd error 11"

OS: Windows Server 2019 or 2022 Blender: 2.8.16 or 3.0 If script was run automatically (through Windows Scheduler), then it fails and Windows is throwing CMD error "11". Issue persists on ...
user avatar
  • 1
0 votes
1 answer
141 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\...
user avatar
0 votes
1 answer
67 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
0 answers
81 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
2 votes
0 answers
17 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 ...
user avatar
0 votes
0 answers
53 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
  • 157
0 votes
2 answers
29 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....
user avatar
0 votes
0 answers
42 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
11 views

How do I make a scheduled task, which activates a program with a shortcut, rerun if the program stops running?

I have Red Dead Redemption 2 set up to run as an administrator from a task scheduler action shortcut (schtasks.exe /run /tn "RDR2") pinned to the taskbar so it launches with 1 click, ...
user avatar
1 vote
1 answer
588 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,820
0 votes
1 answer
424 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 ...
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
0 votes
1 answer
74 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 ...
user avatar
-1 votes
1 answer
134 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 ...
user avatar
  • 49
0 votes
0 answers
14 views

How can I retrieve the Event ID of an Application to use in Task Scheduler?

I wanted to set up a task such that whenever I launch a specific application, a bat file runs. Similarly, another task which detects the trigger of an application being closed and then executes a ...
user avatar
0 votes
0 answers
13 views

Windows task scheduler logs show that the trigger and start of the actual task are 21 seconds apart. Need to understand proper run time

I'm seeing some tasks that start a few seconds after the trigger. I'm trying to measure the run time of each task, but I'm confused as to why a task would get triggered but not start right away. In ...
user avatar
  • 11
0 votes
0 answers
12 views

Win Task Scheduler : how to find out the exact reason why system did not enter "Idle state" and did not run "Start only when idle" task?

I have a task that is scheduled to run when computer is idle for 60 minutes, waiting for this state from 23:00 to 01:00 on about 20 computers. Some "types" of computers with special software ...
user avatar
  • 217
0 votes
0 answers
17 views

Windows Scheduled Task logs show eventID 3222 (task already running) but the logs show that the previous task finished on time

There is a task that reports the event ID 322 (Task Scheduler did not launch task %1 because instance %2 of the same task is already running) each time it runs. But when I check the logs it shows that ...
user avatar
  • 11
0 votes
1 answer
71 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 ...
user avatar
0 votes
1 answer
44 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.
user avatar
0 votes
0 answers
15 views

Windows Task Scheduler piling up messages without completing existing Job

I was using windows task scheduler which runs in every 15mins frequency but it usually takes 4 to 5 hours to complete a task. Actually scheduler consuming a batch of messages(around 3K) from a server ...
user avatar
  • 1
3 votes
2 answers
219 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 ...
user avatar
0 votes
4 answers
2k 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....
user avatar
  • 23
4 votes
1 answer
327 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 ...
user avatar
  • 176
1 vote
0 answers
35 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. (...
user avatar
0 votes
1 answer
48 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 ...
user avatar
0 votes
0 answers
359 views

Auto Logoff after idle

I am trying to create a group policy in Windows 2016 to force a user to logoff after 15 minutes of inactivity (idle). I tried creating a task schedule GPO, but don't see it created in the clients ...
user avatar
  • 427
0 votes
0 answers
32 views

Created task in task scheduler does not execute program

I created a simple batch file to start a program as the action, and the trigger being when a specific application is terminated (lghub.exe). For some reason the task doesn't execute the program when I ...
user avatar
  • 1
0 votes
0 answers
93 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. ...
user avatar
  • 213
0 votes
1 answer
451 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 ...
user avatar
  • 149
2 votes
1 answer
823 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 "...
user avatar
  • 896

1
2 3 4 5
10