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.
555
questions
0
votes
0
answers
113
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&...
1
vote
1
answer
2k
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 (...
0
votes
0
answers
148
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 ...
0
votes
0
answers
109
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 ...
0
votes
0
answers
230
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 ...
1
vote
2
answers
194
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 ...
-1
votes
1
answer
231
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 ...
1
vote
1
answer
916
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 ...
0
votes
2
answers
247
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 ...
0
votes
0
answers
40
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 ...
0
votes
1
answer
3k
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 ...
0
votes
0
answers
1k
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 ...
0
votes
0
answers
308
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 ...
0
votes
0
answers
562
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 ...
0
votes
0
answers
29
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 ...
0
votes
3
answers
3k
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?
...
0
votes
1
answer
901
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 & ...
0
votes
0
answers
164
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 ...
0
votes
1
answer
1k
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 ...
3
votes
1
answer
486
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 ...
5
votes
3
answers
4k
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 ...
3
votes
1
answer
3k
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&...
0
votes
1
answer
258
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--...
0
votes
0
answers
559
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-...
2
votes
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. ...
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 ...
0
votes
0
answers
653
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" ...
2
votes
2
answers
7k
views
Correct syntax to pass an argument to my parameter in a PowerShell script?
I have a script:
function comparisonScriptAIX
{
Param(
$sideToCheck
)
#contents of my script
#such as creating files
#performing actions etc......
0
votes
0
answers
710
views
Windows Task Scheduler doesn't allow for whitespaces
When creating a new task and selecting the file to be executed via the file browser, it automatically encloses the path in double quotes but this does not work. How do I deal with whitespaces in the ...
0
votes
1
answer
351
views
Connect automatically to wifi as soon as available and if it gets disconnected connect again
My windows 10 disconnects automatically from wifi sometime. My pc is not having monitor i am controlling it over remote desktop team viewer.
Also sometimes running cleanup utilities disable the auto ...