All Questions
Tagged with schtasks.exe or windows-task-scheduler
558 questions
1
vote
0
answers
13
views
Change day of week of a Windows scheduled task from the commandline
Is there any way to change an existing scheduled task's day-of-the-week setting from the commandline? schtasks /create has a /D option for MON/TUE/etc, but schtasks /change throws ERROR: Invalid ...
0
votes
0
answers
37
views
The task XML contains a value which is incorrectly formatted or out of range
How can I find which value is incorrectly formatted or out of range?
Below is just an example of an error showing when running: Get-ScheduledTask | Format-Table TaskName. I would like to find a ...
0
votes
1
answer
39
views
Process started by task scheduler not visible in task manager
I'm using Windows 10. A script (stored in a .bat file) starts a process. If the script is executed directly (say, by double clicking), the process is visible in the task manager. However, if the ...
0
votes
1
answer
27
views
Have Task Scheduler run a killable program without showing a
There is a program I need to run using Task Scheduler. This program creates a filesystem mount and handles the relevant filesystem operations. However, when I start the task, it opens a command prompt ...
0
votes
0
answers
33
views
Schedule a task to run when a program is ended
My code looks like this:
<QueryList>
<Query Id="0" Path="Security">
<Select Path="Security">
*[System[Provider[@Name='...
0
votes
0
answers
82
views
Task Scheduler not running task when I am logged out?
I have an .exe that uses Python script I wrote to open a Selenium browser, log into a site, download a .xml file, and then sign out of the site and close the browser. I want to schedule this to happen ...
0
votes
0
answers
70
views
Windows - How to load / start multiple sessions at startup (without logging in)?
At my home I have a computer running on Windows 11 Pro. I configured it so everyone in my family can use it (at the same time) on the local machine but also via Raspberry Pi RDP clients (using Remmina)...
0
votes
0
answers
188
views
Unable to run any schedule task as SYSTEM
I'm trying to follow this, but on a Windows 10 system:
Map network drive for the SYSTEM user in Windows
with no success.
So I'm trying to just get any schtask to run as the SYSTEM account, for example ...
0
votes
1
answer
305
views
How does Windows Task Schedule run tasks with multiple actions?
If you have a Windows Tasks Schedule Task with multiple actions, how does it run them?
Does it kick off each additional action without waiting for the previous action to finish, or does it wait until ...
0
votes
0
answers
81
views
Task scheduler program script psexec where executed program need argument parameter too
So I have psexec64 to run a program as system user. The program is SyncToyCmd:
Here is it sucessfully on previleged powershell:
PS C:\Users\User> where psexec64
PS C:\Users\User> gcm psexec64
...
0
votes
0
answers
36
views
Windows 10 Task Scheduler GUI window unresponsive, won't resize, won't close, shows in taskbar and taskbar popup menu close doesn't work either
I opened Task Scheduler UI window on a Windows10 PC to examine the definition of a task I created a couple of years ago, and disable that task. I disabled the task and it shows as disabled in the ...
1
vote
1
answer
89
views
No internet connection when scheduled task starts or when Sql server agent job starts
I've a task that runs daily which is failing because it starts without internet connection.
I tried to tick wait for network but it doesn't work either.
I tried to register the task with System and ...
0
votes
1
answer
1k
views
How to automatically run a batch file each time an application opens in Windows 10?
I am looking to automate the execution of a .bat file every time I open a specific application, such as notepad.exe, on Windows 10. Here is what I have done so far:
I configured the local security ...
0
votes
1
answer
37
views
If I created a task on a user called "A" and I want it to be executed on user "B", how do I do it?
I'm looking for help with "Task Scheduler" Windows 10
I don't know how to do it but basically, I have two users, "A" has admin rights and "B" does not.
I also saved the ....
1
vote
1
answer
714
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 ...
0
votes
0
answers
106
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 ...
0
votes
0
answers
22
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 ...
0
votes
1
answer
141
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) ...
1
vote
0
answers
187
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 "...
0
votes
0
answers
138
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 ...
0
votes
1
answer
104
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 ...
0
votes
0
answers
86
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 ...
0
votes
1
answer
390
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 = ...
0
votes
1
answer
479
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 ...
0
votes
0
answers
24
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 ...
1
vote
0
answers
280
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....
0
votes
2
answers
2k
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 ...
0
votes
0
answers
489
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 &...
1
vote
1
answer
1k
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., ...
1
vote
1
answer
64
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 ...
0
votes
1
answer
3k
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 ...
0
votes
2
answers
1k
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 ...
1
vote
0
answers
15
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 ...
1
vote
0
answers
79
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 ...
0
votes
1
answer
64
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 ...
2
votes
1
answer
594
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 ...
0
votes
0
answers
165
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
3k
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 (...
1
vote
2
answers
234
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
253
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
1k
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
360
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
48
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
4k
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
2k
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
368
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
701
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
34
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
4k
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
1k
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 & ...