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
0answers
12 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. ...
0
votes
0answers
18 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 ...
2
votes
1answer
57 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 "...
0
votes
0answers
20 views

Task scheduler not running after DST time change

I'm experiencing problems with windows task scheduler since last DST change on the 28th (I'm in Europe). I have serveral windows 10 PCs used as test bench, the program we are testing has a database ...
0
votes
0answers
20 views

TaskScheduler failure - should I be surprised?

Yesterday I spent several hours of my life which I'll never recover finding that, to my great surprise, W10 TaskScheduler is, apparently, crap. I had two repeating tasks, both intended to do backups ...
0
votes
1answer
15 views

Windows Task Scheduler Not Running Microsoft Access Script

I have a script setup in an Access database that I want to run nightly. I've setup a task in task scheduler to run every day at 4:00am. It opens the database, runs the script, and the last line of the ...
1
vote
0answers
48 views

How to modify permissions for scheduled tasks in Windows 10?

I have a scheduled task that I want to be able to run/trigger as a normal user that has no administrative privileges on the local computer. The task itself was created with the account NT AUTHORITY\...
1
vote
0answers
52 views

Windows Server 2019 Task Scheduler - Task running but not appearing anywhere

I imported a Task on Windows Server 2019 and I got some errors. The Task Scheduler was completely stuck so I deleted the task from c:\Windows\System32\Tasks and from the registry. I then re-imported ...
1
vote
1answer
24 views

How would I detect a file with task scheduler

I'm just wondering. Is it possible for task scheduler to detect a file? The closest thing I found to this question was on Technet. Could anyone give me any pointers? Thanks.
0
votes
2answers
53 views

What is the command line equivalent for toggling “wake the computer to run this task”?

From a sufficiently elevated command prompt I can disable any task from running at all e.g. with C:\WINDOWS\system32>schtasks /Change /Disable /TN "\Microsoft\Windows\UpdateOrchestrator\Reboot&...
0
votes
0answers
16 views

Run a script when a Bitlocked drive is mounted?

I've just Bitlocked one of my drives. But there are various things which now don't get done because of the various things on the drive (apps behind services which now don't start, Autohotkey script ...
1
vote
1answer
158 views

task scheduler doesn't seem to be running powershell script like it should

I have the following PowerShell script saved as test.ps1: # test script Write-Output "z" >> C:\path\to\log.txt In the Task Schedule I have it set to "Run whether user is logged ...
1
vote
1answer
63 views

deleting entries in History tab of Task Schedule for specific task?

I have Task History enabled in the Task Scheduler and am wondering if there's a way to delete entries in the Task History tab for a specific task. Case in point: I'm trying to diagnose an issue and ...
1
vote
1answer
36 views

windows, run net stat to txt daily with date/time in filename

first time post. was unable to find similar solutions on this site or others. need a CMD batch file to run "netstat -an" output to a text file daily with a unique file name so the day before ...
0
votes
1answer
22 views

Task Scheduler in Windows 7 always treats computer as idle

I have a weird issue with one of the default Windows tasks, namely Microsoft/Windows/AppID/VerifiedPublisherCertStoreCheck Here are its default settings: Triggers At startup Delay task for 30 minutes,...
0
votes
0answers
10 views

Pb with Task Scheduler

I need to set up a Scheduled Task for a shell cygwin script. when i configured the task on windows task scheduler i tried to run the task to test it. Unfortunattly, it didn't work , bash window is ...
0
votes
0answers
12 views

Run Dropbox if it crashed on Windows

I have a remote Windows 10 (64bit) computer, on which Dropbox collapses sporadically every few days. It's very annoying as I'm counting on files being synced for other services and it always takes a ...
1
vote
1answer
51 views

Windows schedule for Saturday before first Monday in month?

I would like to schedule a task in Windows Server 2019 to run on the Saturday before the first Monday in each month. I fail to see any way to configure such a trigger. Asking here just to make sure I ...
1
vote
0answers
18 views

Windows 10 Task Scheduler does not run after manual trigger

I have a job which should be run several times a day, I usually set it up to run every 2 hours, 3 hours, or 4 hours. Sometimes I revise the code and manually run it to test. The test run works ...
0
votes
0answers
41 views

All tasks become disabled in Windows 10

Every now and then on my Windows 10 machine, maybe once every 3 months, all of my scheduled tasks become disabled and when I realise this I have to open Task Scheduler and manually reenable them. Why ...
0
votes
0answers
86 views

Can I pause or suspend an operation in Task Scheduler for a fixed period of time?

I have a program I use to keep track of my time for billing purposes. Because I always forget to log what I've been doing, I've set up a basic task in Task Scheduler to run the program at midnight, 3 ...
0
votes
0answers
19 views

Eventvwr.msc will not run as a startup task

I created a basic task to startup eventviewer when I log on (because the pc is new and I am troubleshooting) I tried these actions: C:\Windows\System32\eventvwr.exe or C:\Windows\System32\eventvwr.msc ...
2
votes
1answer
33 views

How to run a batch file when user run RDP icon via task scheduler?

I am using windows 10 and looking for a way to clear RDP history ( IP address, Username And Password ). As you know RDP history keeps listed and cannot be deleted Only if you go through registry ...
0
votes
0answers
6 views

Scheduled compression of large files and delete

How can I do the following? scan a folder (including sub-folder) for large files (e.g. > 30 MB) for positive results, compress at original location (while not keeping the uncompressed file) on ...
1
vote
1answer
104 views

Run minecraft server on startup without login

I'm using Wakeup Over Lan to start my windows 10 PC and I want my Minecraft server (spigot 1.16.4) when the computer starts. I have a password for my account and don't want to disable it. so far I ...
0
votes
0answers
516 views

How to automate Windows Update with PowerShell?

Why I want to do this: When Windows Update ran without warning, hogged resources and rendered my computer nearly unusable for a long time, I had used: net stop wuauserv wmic service where name="...
0
votes
1answer
233 views

Task Scheduler return code 2147942401

I use this scheduled task for years and it always worked fine. Something weird happened a few weeks ago. This task executes .bat file which launch python script. It runs as administrator. A few weeks ...
1
vote
0answers
60 views

Schtasks /create /sc onlogon gives me an error

I am trying to create a task that starts up when the user logs on. I get the following ERROR when creating this task: schtasks /create /sc ONLOGON /tn ComputerMonitor_LoginCheck /tr c:\users\jdl\...
0
votes
1answer
22 views

Trigger an event based only on user inactivity

Windows 10 Task Scheduler can trigger an event after certain time of idle status, where the 'idle' is defined by user keyboard mouse input and other conditions such as CPU usage. Can I define a ...
0
votes
2answers
53 views

Task scheduler (“Run whether user is logged on or not”) on Windows 10

My PC is not password protected (because it's for the family), and whenever I create a task on task scheduler with "Run whether user is logged on or not" it asks me to enter a password. How ...
-1
votes
2answers
113 views

Is there a way to run a task when a process has completed its operation?

I am an expert in writing .bat files, I am experienced in writing .ps1 files, I just learned to use taskschd to create scheduled tasks. Currently I can set a time to trigger a script, I know I can ...
0
votes
1answer
109 views

How to stop multiple Windows processes with an Event ID trigger?

I'm trying to create a task whereby when one application is closed, another is automatically closed. For instance, I'm using the Atom.io text editor with the Kite plugin (code AI assistant) on Windows ...
0
votes
1answer
70 views

Why there is no 'Task Scheduler Library' appear in my Task Scheduler. Also, I can't create a task or do anything with it

Well, I had a problem with my windows startup, where I can't type anything on my search windows. So I had to run 'C:\Windows\system32\ctfmon.exe' every time to fix it (yea, I know there're also some ...
0
votes
1answer
29 views

run task on windows task scheduler every n minutes but the duration of the task is longer

i want to a task on windows scheduler to run every 10 minutes, but the duration of the task to complete is 15 minutes. So it will look like this: 10th minute -> 1st task start, 20th minute -> ...
0
votes
1answer
433 views

Task scheduler. How does it check for internet loss?

How does task scheduler determine if a internet cconnection is lost? Just by losing connection to the wifi or actually by losing connection to the web? Im asking because ive setup a task with a script ...
0
votes
0answers
119 views

Where are scheduled tasks stored in an offline windows 10 image?

Okay so within the install.wim I noticed that there are no scheduled tasks: install.wim\Windows\Tasks Nor are there any in: install.wim\Windows\System32\Tasks I even went as far as to find them in the ...
0
votes
3answers
121 views

Need to create a .bat or .vbs to load at startup using Task Scheduler that shows me a message box asking OK/Cancel to a matter

I need to create a .vbs or .bat file to be used in a task of Windows 10 Task Scheduler (I know it works for .vbs files, dunno if with .bat files is the same). What I need is simple: I need to see a ...
0
votes
0answers
22 views

How to force start task if already running

I searched for this on google but all the results talk about the opposite thing (making a task not start two times) I set the "task already running" action to "Stop the existing ...
0
votes
0answers
9 views

Task Scheduler XML InteractiveToken Always Ignored No Matter What

<?xml version="1.0" encoding="UTF-16"?> <Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"> <RegistrationInfo>...
0
votes
0answers
46 views

Windows 10 scheduled startup option missing in BIOS

I would like my computer to start up at a scheduled time. I initially tried to do this using the Task Scheduler, but then I found out that one needs to do this through the BIOS settings, using a ...
1
vote
1answer
266 views

Batch file continues to run command after Task Scheduler stops it

I have a scheduled task running at 00:00 that opens a .bat file containing a robocopy command, with the task set to stop after 4 minutes, and to force stop if not ending when requested. It seems the ...
0
votes
1answer
64 views

Task Scheduler ScheduledDefrag, incrementally?

\Microsoft\Windows\Defrag\ScheduledDefrag in task scheduler, does this actually defrag 'incrementally', maybe with a fixed size at a time, or can it continually defragment a whole harddrive, while ...
0
votes
1answer
164 views

Windows 10 2004 Task Scheduler refuses to run task (silent failure)

I am running Windows 10 2004 on a desktop computer. I created a task using the Task Scheduler GUI. Chose the option Run whether user is logged on or not Checked the Run with highest privileges box ...
1
vote
0answers
25 views

Start shutdown after one hour of playing - Trigger problems

I am playing a game which is very addicting. I would rather limit the amount of time spent on that game to one hour per day, therefore, I need my (Windows 10) pc to turn off after one hour. I am using ...
0
votes
0answers
50 views

Close program (not terminate it, just close it as I just pressed X) with Task Scheduler

Any script to do this? I know of taskkill /f, but I think that one kills the process at hand. I don't want to do that. It's a program that I can close, but its icon still remains in the notification ...
0
votes
0answers
18 views

How to set the schedule for user logon in Windows 10

I'm computer system administration that work in school. In every classroom have computer for teachers, but students often use it when teachers are away. I want to prevent student to use computer by ...
1
vote
1answer
65 views

How to run scheduled task 3 days before end of month

Task should run 3 days before end of month, once per month. In this year it should run in Aug 29 Sept 28 Oct 29 Nov 28 Dec 29 How to specify this in Windows Scheduled task trigger so that it runs ...
0
votes
0answers
26 views

Get Windows 10 screen to wake up with Task Scheduler

I am trying to set a wake time using Task Scheduler and a .bat file. Setting up a task to work in a specific time works fine even if I'm in sleep mode using the "wake the computer" checkbox. ...
0
votes
0answers
77 views

Task Scheduler - Last day of month issue when start date is past 4 months

I have a scheduled task that runs an exe. It has two triggers: One daily at 6:00AM One that runs on the last day of the month at 11:30PM I created this task back in January (1/24/2020) and it ran fine ...
0
votes
1answer
83 views

how to have task scheduler notifications to appear on second monitor

So I have created a task and assigned the trigger to activate every 30 minutes. The actions is set up as a start a program(pop up window) I just want it to appear on my secondary monitor instead of my ...

1
2 3 4 5
10