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
5
votes
2
answers
17k
views
Windows 10 - bring background task into foreground
I have a scheduled task that runs an exe in the background. Every once in a while I'm suspicious that the exe isn't running properly but I have no way to see the output since it's hidden and I can ...
5
votes
1
answer
4k
views
Schtasks.exe with quotes
I use this command to create a task:
schtasks /Create /TN ITCMD-CHAT-NOTIF /SC ONLOGON /tr "%cd%\Notif\Notif.vbs" /F
However a problem occurs. When there is a space in the path it still does not put ...
5
votes
3
answers
53k
views
Task launch failed, instance already running
I am trying to launch a task from task scheduler. The task is executing a batch file. It is running for the first time but after that it's status is not getting changed from Running to Ready. It is ...
5
votes
2
answers
7k
views
Windows Task scheduler Winlogon events - logout not enough(?)
I created a powershell script that I want to run on every logout / restart / shut down.
For trigger I set a custom event: Log: System, Source: Winlogon, Event ID: 7002.
I found the above event id ...
5
votes
3
answers
3k
views
Windows 8 "Task Scheduler service is not available"
I'm having problems keeping my Windows 8 clock synced so I'm trying to regularly resync with an every-5-minutes schedule trigger.
When I go into the Windows 8 task scheduler through the ...
5
votes
3
answers
2k
views
How to exclude scheduled task from Windows Defender?
I have scheduled task that should run every two hours, with the following command line action:
Program: mshta
Arguments: vbscript:Execute("CreateObject(""Wscript.Shell"").Run ""powershell -NoLogo -...
5
votes
1
answer
23k
views
Run interactive task even if user is not logged on Windows
I have an application which automates my everyday task of logging into some website and doing repetetive actions. This app starts as a scheduled task everyday at 7.30am.
The problem arises when I ...
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 ...
5
votes
1
answer
13k
views
How to show command-line app started by Windows Task Scheduler?
I have created a task on Windows Task Scheduler to run a command-line app everytime I lock this machine. It works like a charm.
My question is: Is it possible to see the Command Prompt window when I ...
5
votes
1
answer
5k
views
Can non-administrators use the Windows AT (Scheduled Task) command?
Is it possible to make a new job in the Windows Task Scheduler using the Command Prompt when a normal user is logged in and they don't have administrator privileges?
Is there a reliable way for all ...
5
votes
2
answers
14k
views
Windows Task Scheduler - When is a task considered "missed" or "failed"?
It is hard for me to boil this down, so the title is ultimately the question I suppose I need answered. Still, here is the background of my question:
I am currently trying to create a Windows task ...
5
votes
2
answers
3k
views
How to schedule task to run on sunrise/sunset in Windows task scheduler?
I'm a bit tired of setting my screen contrast and brightness manually for each screen every morning and evening, so I'm looking for a way to automate this.
I'm already using F.lux and it's great, but ...
5
votes
1
answer
1k
views
How (behind-the-scenes) does Task Scheduler end tasks?
When Windows' Task Scheduler ends as task (either because the task exceeded the stop the task if it runs longer than timeout or because a user right-clicked on it and chose 'End'), what happens behind-...
4
votes
4
answers
4k
views
How to LOCK computer after 'x' amount of time right after log on
Although there is a VERY similar question : How to lock my computer after a certain amount of time from login? I don't think that it is suiting my needs. I need my computer to lock NOT SHUTDOWN.
What ...
4
votes
3
answers
72k
views
Remotely managing Scheduled Tasks on another computer: Access Denied
I need to remotely create new scheduled tasks from a Windows 7 computer in my company (which according to this Microsoft TechNet article I should be able to do. http://technet.microsoft.com/en-us/...