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
1 vote
1 answer
44 views

How to run wsl using Task Scheduler without loging?

According to Task Scheduler- Batch "Run whether user is logged on or not" not working and other articles, "Run whether user is logged on or not" requires pure batch processing ...
BrandonStudio's user avatar
0 votes
0 answers
13 views

Task Scheduler (Win11): is it possible to delay multiple ACTIONS under a single task?

Is there a way to delay multiple Actions under a single Task? Something like: Act1: do this, wait 2 secs Act2: do that With "Actions" I mean those under this tab section, where you can ...
hexaae's user avatar
  • 166
0 votes
0 answers
21 views

How to make a task schedule that would only run a program at logon [duplicate]

I have a project that currently executes a program to install drivers/programs during OOBE. This is possible because my install is automated by putting unattend.xml in the Panther folder. The program ...
user22774398's user avatar
0 votes
1 answer
26 views

scheduled task only running when ran manually besides it's automated

So... I have an automated Windows Task Scheduler Task rolled out via a GPO. That task is running the powershell which receives a script to run via the -File Parameter (file path on our storage server) ...
user avatar
0 votes
0 answers
38 views

Windows Task Scheduler, Scheduled Task begins despite "Start Task Only if computer is idle for" setting

I am attempting to Schedule a task on a Windows 11 machine to run a log off user script after the computer has been idle for a certain duration. I set the trigger to "on idle" and set "...
Jkirby421's user avatar
0 votes
0 answers
81 views

How to run a batch script completely and automatically on event such as sleep/hibernate and shutdown event using task scheduler?

I have written a batch script to perform some folder synchronizing task. I have scheduled the script to execute using task scheduler on events such as sleep/hibernate(kernel power event id 42) and ...
Harsh's user avatar
  • 1
0 votes
1 answer
33 views

Google Drive quit command executable

Just finished setting up task scheduler(win10) to boot up Google Drive off hours to avoid resource drag specifically when syncing third party backup images. All's good with the backup app scheduler ...
LittleTwinn's user avatar
0 votes
0 answers
43 views

Why is my scheduled task only starting when I open the Task Scheduler?

I created a scheduled task in the Windows Task Scheduler (W10). It triggers on startup (or log in of any user, I am flexible there) and launches a .bat file. The task runs with the privileges of user ...
Reygok3's user avatar
  • 11
0 votes
0 answers
35 views

task scheduler stop running after 23 hour instead 1 day

i have set in the task scheduler that it will run a task for 1 day every 10 minutes from 08:00:00 but the problem is that its stopping after 23 hour mean , its stopped at 07:00:00 day after and then ...
mikuzan's user avatar
  • 21
0 votes
1 answer
119 views

Task Scheduler no longer running VBS script

so I've been trying to get VLC player to skip to the next file at a specific time (10am). I've got the following script that worked fine for a few days, and then stopped completely. Set WshShell = ...
Rory's user avatar
  • 1
0 votes
1 answer
102 views

How to make a notification with a sound signal?

I would like to make a reminder so that a notification with a sound signal appears in a month. In Windows Task Scheduler, you cannot send a message along with a beep (message only). At first I wanted ...
moninah's user avatar
  • 35
0 votes
0 answers
14 views

Stop Screensaver using Task scheduler windows 8.1

I have an old windows 8.1 tablet that I'm trying to set up as a digital picture frame. It's a winbook tw700. The tablet does not support wake timers so I have sleep for battery and plugged in as ...
teatimecrumpet's user avatar
1 vote
0 answers
185 views

How to NULL output of Taskkill command

Sometimes Windows Update Service aka wuauservstarts on its own an and starts downloading updates even though I have already disabled it. So I created this command in task scheduler. program: taskkill....
gehovev361's user avatar
0 votes
2 answers
472 views

Windows 10 CMD Command Prompt opens and closes for split second. Possible Malware?

Every now and then I get a random command window open and closes for a split second. I can't see what it is. But I'm assuming it is a scheduled thing. I just want to be safe. From the get scheduled ...
Patoshi パトシ's user avatar
0 votes
0 answers
127 views

How to automate NirSoft MultiMonitorTool using Windows task scheduler?

I'm using the freeware software MultiMonitorTool to automate the configuration of displays on a Windows 11 computer. I got two Batch scripts that "do" (disable the physical display) and &...
Florian Wolters's user avatar
0 votes
1 answer
449 views

How do I set Task Scheduler to execute Windows Service at __:00/15/30/45 am/pm from start up?

To be more precise, this is a failsafe that I am trying to create for my windows service. For information, I need my windows service to extract data from a server at 15mins intervals everyday. E.g., ...
Wyap005's user avatar
1 vote
1 answer
47 views

Cannot completely dump Task Scheduler logs

I am working to exploit Task Scheduler logs to determine a timeline of jobs run at our site. Often we have to identify a job and we may only know the time the job failed. In such a case we begin ...
alchemist's user avatar
0 votes
1 answer
270 views

Change output device automatically when headset connected

I have a wireless Logitech headset that I use frequently and speakers connected to my computer. I'd like it if when I turn on the headset and it automatically connects to the PC, the sound output ...
NicholasJohn16's user avatar
0 votes
2 answers
309 views

Task scheduler with "Do not start a new instance" is still triggering new instance

I have a powershell script that is triggered by the Windows Task Scheduler. this script is expected to run indefinitely. the first start was on 11/3 at 2:30 PM and then indefinitely. However everyday ...
Ria's user avatar
  • 1
1 vote
0 answers
14 views

How to execute a command when computer are no longer in "idle" state? (win10-11) [duplicate]

I find very useful to change "balanced" powermode to "power save" (and some other settings) when dont using my nettop (like 97% of time). On idle condition in task scheduler are ...
Hotery's user avatar
  • 21
0 votes
0 answers
30 views

In Windows Task Scheduler, Task runs at startup

So i have a Sleep.bat file that runs at say 10pm. Sometimes, it runs the next morning when i turn on my computer. it has always had the box unchecked next to "run task as soon as possible after a ...
Steve Hutchison's user avatar
0 votes
1 answer
51 views

Executing a script after every login / password entry in Windows

How can I schedule a (batch-) script to be executed after every Windows log-in (not only after boot-up, but after every screenlock + PIN-entry)? (Background: I want to code an automatic reminder to ...
Dan's user avatar
  • 21
2 votes
1 answer
296 views

Scheduled robocopy in PowerShell from WebDAV shares not work with IIS share but with Nginx share

Please, help with my WebDAVs scheduled copy. I have two WebDAVs, one on Debian11/Nginx, the other on WindowsServer2019/IIS. I want to make a scheduled backup copy from both on my Windows 11. Fragment ...
Dmitry Kosovets's user avatar
0 votes
0 answers
76 views

Scheduling Batch scripts WIndows , how to

I have a batch script shortcut that I put into the start-up folder .. This successfully runs a RWeverything command at boot . Rw.exe -/Min /Nologo /Stdout /Command="WRMSR 0x610 0x0 0x005F8A00 0&...
Joe Haynes's user avatar
1 vote
1 answer
1k views

Windows "Schedule Wake To Work" scheduled tasks resume from sleep

My PC is resuming from sleep because wake computer is enabled within scheduled task Schedule Wake To Work: Timer set by [SERVICE] \Device\HarddiskVolume1\Windows\System32\svchost.exe (...
Alcor Prism's user avatar
0 votes
0 answers
140 views

How to create an scheduled task at startup with the extra condition that no user logins after some specific minutes?

I know how to create Windows scheduled tasks that runs after that computer is idle for some minutes/hours. But my question is different. I want to create a task after startup that computer is idle ...
Name's user avatar
  • 433
0 votes
0 answers
72 views

Why doesn't the task scheduler wake up the laptop?

The task executes, but it the cannot wake up computer in sleep (not hibernation) . Task's parameters: General: Run only when user logged on With highest privileges Configure to win10 User: standart ...
Palm_Thief's user avatar
0 votes
0 answers
196 views

Task scheduler runs a task immediately after logon even when delay is set

I create a task to run 5 minutes after login and automatically repeat every 5 minutes. But each time I log in, the task will run immediately without delay. Is this due to the repeat settings? The ...
user167420's user avatar
1 vote
2 answers
127 views

Maximize Google chrome every 10 mins Automate

Due to the nature of my job , I need to check chrome browser every 10 mins after that I minimize my browser and do entry work. Normally I'm using timers or alerts but is it possible automatically ...
yamihero777's user avatar
-1 votes
1 answer
188 views

I think I accidentally programmed my Asus laptop to auto shut down

I have problems with web browsing instead of sleeping so I installed the top comment task scheduler solution here: https://superuser.com/a/740780/705502 I think I made a mistake with the timing or ...
Jim Harbor's user avatar
1 vote
1 answer
576 views

Windows Task Scheduler Run whether user is logged on or not On remote Server

I have a Powershell script I want to schedule. With this script, I want to send out an email. When scheduling it only when I'm logged on, everything runs fine. The email gets sent out, no issues ...
PAT_The_Whale's user avatar
0 votes
2 answers
163 views

Does Task Scheduler still run tasks even if the PC is unresponsive?

I have a PC that's prone to freezing, no blue screen or any errors, just ends up being unresponsive. The only fix I can think of is just restarting the PC. I created a new scheduled task which will do ...
KevGo's user avatar
  • 11
0 votes
0 answers
34 views

Task Scheduler running a Program incorrectly

I have created a python exe that copies data from a NAS to a external HDD. This is on a Windows sever 2012 and the NAS and External is accessible to use. Also using the user account with full admin ...
JohanvW's user avatar
0 votes
1 answer
2k views

Running Scheduled Task through GPO only once

Description: we have a software that was deployed incorrectly on user's PC and we need to remove it and reinstall it. we have created a GPO that runs a Scheduled task that removes the app using a ...
Yazan Annab's user avatar
0 votes
0 answers
970 views

How to automatically unlock Windows at specific times

I have a need to access the UI and it's not something that can be done with a locked computer with Task Scheduler. My computer is a Windows 10 machine. My sign in type is PIN. I tried to use anydesk ...
De Shad Bostic's user avatar
0 votes
0 answers
237 views

Schedule tasks on windows 11: administrator has no permissions

Trying to schedule a task, Enter user account information for running this task. User account selection drop down: sa abc700ge5d28c9a2 <myUserAccount> Where do the first two user accounts ...
eastwater's user avatar
  • 131
0 votes
0 answers
271 views

Windows 11 keeps starting Photos after sleep

After update to 11th version, every time after the PC wakes from sleep, Windows opens the Photos app. I can't find any setting for turning this off. Suspect it's some kind of event triggering it in ...
Ivan Nikolaev's user avatar
0 votes
0 answers
28 views

Task scheduler: On Shutdown? [duplicate]

In the Windows Task Scheduler, there is a trigger called "On startup". However, I'm looking for "On shutdown", but can't find it. Can you help me make a custom trigger equal in ...
Pingui's user avatar
  • 179
0 votes
3 answers
1k views

Make power-button force shutdown

I want my PC power-button to shut down Windows immediately. But what it actually does it prompt for action if there are e.g. unsaved changes. How can I force the power button to shut down immediately? ...
Pingui's user avatar
  • 179
0 votes
1 answer
678 views

Allow normal users to configure the TaskScheduler

Is it possible to give normal users such rigths that would allow them to configure the TaskScheduler or parts of it (like a single folder) on a Windows Server? Background: I need to create & ...
t3chb0t's user avatar
  • 581
0 votes
0 answers
128 views

Windows 10 Scheduled Task Powershell Script Unable to Turn off Monitors

I'm pretty inexperienced when it comes to Windows scripting (I have a linux background), but I attempted to create a Windows version of a udev rule anyway. I cobbled together pieces from various ...
J Jones's user avatar
0 votes
1 answer
875 views

schtasks asking for password at task creation

I have to schedule the launch of a program and I have to do that through Task Scheduler. I want to set the task to Run whether user is logged on or not and I don't want to check the Do not store ...
martinotecco's user avatar
3 votes
1 answer
267 views

Task scheduler runs at delayed time during sleep

EDIT 02/03/2023 The following is what I get from running powercfg -energy as suggested by one of the comments. I have a task that is supposed to run at 2 am every day. However I face 2 issues: It ...
tangolin's user avatar
5 votes
3 answers
2k views

Can one start WSL at boot (windows 11 pro) as of Jan 30 2023?

It is clear that it is quite tricky to get WSL to start at boot time, and that there are a variety of methods that have been used to achieve this goal. A (Dec 24 2022) answer to a recent post here ...
Geeky51's user avatar
  • 111
3 votes
1 answer
2k views

How can I modify a Windows task schedule via command line without requiring a password?

I can create a task on the Windows 10 command line using SCHTASKS without needing to enter my password. For example: SCHTASKS /Create /TN my_test /SC MINUTE /MO 2 /TR "msg %username% Hello World&...
User's user avatar
  • 3,747
0 votes
1 answer
190 views

Why isn't File Explorer immediately affected by Task Scheduler's light/dark mode toggler?

Through Task Scheduler, I set up Windows to automatically switch between Light and Dark Mode. However, although the process works overall--for example, Outlook, Word, Firefox, etc. all seem to work--...
The Editor's user avatar
0 votes
0 answers
440 views

Windows task scheduler doesn't start task when the battery is low

I create the task with SCHTASKS.EXE /create /tn "TaskName" /ru system /xml ".\TaskName.xml" This is the content of TaskName.xml <?xml version="1.0" encoding="UTF-...
Axeltherabbit's user avatar
1 vote
1 answer
2k views

How to open MS Edge as minimised with task scheduler?

I created a scheduled task to open MS Edge with task scheduler and wanted to open it minimised. I tried the arguments: /background , /min but it did not seem to work. Edge still opens maximised. ...
GodFreak's user avatar
1 vote
1 answer
1k views

Automatically adjusting Windows' screen brightness through task scheduler

I have been trying multiple apps, but I do not know how to adjust Windows' screen brightness automatically. Is there a way this can be done through Task Scheduler? To give a specific scenario, I'd ...
The Editor's user avatar
0 votes
0 answers
540 views

How to prevent Windows from shutting down if a scheduled task is running?

I have a task scheduled through Task Scheduler that can take a while to complete. I would like it to prevent Windows from shutting down (triggering the typical "waiting for program to close" ...
Pablo's user avatar
  • 1

1
2 3 4 5
11