Questions tagged [task-scheduler]

Task scheduler is a component in Windows that, like the unix cron daemon, allows scripts to be run at defined times.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

Use mouse move, click, keyboard button press as a trigger

I would like to launch a screen record software every time someone touches the computer. for that, is there a way to use a mouse move, a click, a press on a keyboard button (or any sign of human ...
2
votes
1answer
38 views

powershell task in task scheduler cannot start-process with another -Credential

We have a scheduled task that is a powershell script. The script performs a number of actions against SQL data-bases where the access is controlled via integrated security. Hence each of these ...
0
votes
0answers
7 views

Scheduling an url of zoom and perform action

I want to schedule my zoom URLs of meetings so that they open up at the time of meeting Also, an action is performed through which open zoom button is initiated. I have tried using MIT app developer ...
0
votes
0answers
21 views

how to run a master batch file from a taskscheduler?

@echo off start test1.bat start test12.bat start test13.bat start test133.bat exit /B 0 I can run that master batch directly in cmd but not through taskscheduler. All batches are from same ...
0
votes
0answers
12 views

Minimise cmd window with batch code written as argument directly in task scheduler

I have written the entire batch code as the argument and it is not an external batch file, unlike these similar questions. https://stackoverflow.com/questions/18881221/how-to-start-a-batch-file-...
0
votes
1answer
30 views

Windows 10 defer scheduled tasks

I have observed my Windows 10 system slowing down at the post lunch hours everyday, it runs super fast until then. On close observation I figured out that there are certain tasks in the Task ...
0
votes
0answers
24 views

Windows task scheduler : tasks keep being automatically deactivated and reactivated

I just find out an issue with my current Windows 10 setup when I wanted to add a custom task to the task scheduler. Indeed, my task either did run at all, or just half the time. After activated the ...
0
votes
0answers
15 views

How do i clear/delete the “Created” date/time from a task in Task Scheduler?

I want to remove the Created date/time on a few tasks in task scheduler. I attempted clearing the event viewer logs to no end, I'm unsure where this information is saved. I've noticed any task ...
0
votes
0answers
18 views

Task Schedule History is Empty in Azure 2012 Windows R2 Server

Thanks for looking into my post. I have following question. My Job history in the TaskScheduler is empty in Azure Windows 2012R2 server. I tried disable and enable all the task history. Change the Job ...
1
vote
1answer
111 views

Auto Run Task When Resume From Sleep or Hibernate Mode

I have a program that I want to run automatically when turning on my Windows 10 laptop from sleep or hibernate mode without logging in yet. If the program is ran, there should be a command prompt ...
0
votes
0answers
51 views

xcopy in task scheduler ends with error 4

I created a task in task scheduler to copy a specific file to a server each midnight. When I run the command normally in command line it works fine, but the task always ends with exit code 4 and the ...
2
votes
1answer
63 views

How to predefine file/directory parameter to xcopy

I need to run xcopy command. But when I type it with all parameters: xcopy \\<server>.<domain>.com\c$\Users\<user>\Documents\New_ADuser_mustang.ps1 C:\IAM\New_ADuser_mustang.ps1 /C /...
0
votes
0answers
24 views

Strange Task Scheduler and Python behavior

I'm looking for advice on the automated execution of a Python script by the Windows Task Scheduler. The task is very simple: sending TCP commands over a wireless network at fixed times every day to ...
0
votes
0answers
56 views

Task Scheduler - Task is not repeating

I have a script that automatically fetches origin from github and pulls it. When I run it by clicking it, it works. I made a task in Task Scheduler that would constantly run the script every one ...
1
vote
1answer
62 views

Task Scheduler runs a missed task unexpectedly on a computer that is running Windows 10

Here is my case: i have set a Task to Disable Network adapter at 8:00:00 pm and Enable Network adapter at 8:00:15. It works like charm but if the laptop is turned off and i turn it on at 8:30 then ...
0
votes
1answer
22 views

Task Schedular - Start task after entering pin

I'm logged into my PC with my Microsoft account (not a local account). I am greeted with a pin box which then logs me in after I enter the correct pin. I was wondering what options in task scheduler ...
0
votes
1answer
202 views

Task scheduler settings Greyed-Out

While setting a repeat timer for a New task,the taskscheduler settings panel is Greyed-Out ( Windows10(Pro-64bit)). How to enable the settings panel ?
0
votes
0answers
123 views

I can't import task from Windows 10 LTSB to Windows 10 LTSC

I have two XML developed in Windows 7, both works fine. The same tasks developed on Windows 7 work on Windows 10 Enterprise 2016 LTSB 10.0 (14393). The unique modification developed between Windows 7 ...
0
votes
0answers
106 views

windows task scheduler: if the task is already running - not working as expected?

I have my.bat @echo off ffmpeg -i 1.mp4 -y -c:v libx264 -c:a libmp3lame out.mp4 %* pause I created task to run it every hour. In the 'Settings' tab I pointed if the task is already running, the ...
0
votes
0answers
13 views

USB drive cannot be accessed when starting script from scheduled task at logon

I would like to start a script directly after the Windows (windows 10 enterprise 1809) user logon, and in the script I need to access an USB drive. Using the Run key in the windows registry works, ...
0
votes
0answers
74 views

How to determine the process that created a specific task in Windows’s Task Scheduler

I want to be able to determine what process (PID, process name/path) created a task in Task Scheduler. Currently, I am aware of two relevant Windows events: Microsoft-Windows-Security-Auditing Event ...
0
votes
0answers
144 views

Task Scheduler requires account when enabling Run whether user is logged on or not

So basically when I try to make new task in my Task Scheduler in windows 10 home, and then enabling Run whether user is logged on or not it requires an account, Then I can see a list of some accounts,...
0
votes
2answers
614 views

Windows 10: Using Task Scheduler to run a VBScript file?

I am migrating over from Windows 7 to Windows 10. In 7, I ran a VBS file through Task Scheduler that shut down Microsoft Outlook in order to prepare the .pst file for nightly backup. I want to do the ...
0
votes
0answers
443 views

Windows Task Scheduler task doesn't run

I have a frustrating problem. I'm trying to run a vbscript every hour on the hour with Windows Task Scheduler. Windows 10 Pro, not on a domain, logged on locally as a Windows user, not Microsoft ...
2
votes
0answers
58 views

How to run a unity-built after Computer is turned on

Goal User turns on Computer and Unity-built runs automatically. Upon system start and thereafter Unity start, User only sees the maximized gameview of unity. No windows Taskbar, steamVR window, nor ...
1
vote
0answers
69 views

Task Scheduler does not run bat file at the bat file's location

I am running a server and I'm intending to run a .bat file on startup. However, when it runs, it cannot read the files from its original location. Heres a better explanation: The .bat file runs "...
0
votes
0answers
19 views

Can Task Scheduler check triggers with AND condition?

For instance, I want to execute program only at startup AND at 10:00 PM. As I know, Task Scheduler checks triggers with OR-condition.
1
vote
0answers
15 views

Unable to start Task Scheduler

There are some stuff I'm trying to do but can't because Task scheduler isn't running and when I try to start Task Scheduler an error message appears.
0
votes
0answers
1k views

Windows Server 2016 Task scheduler: Tasks return error 0xC0000142

i have a strange problem with the task scheduler under Windows Server 2016. I create a task which triggered daily at 3am. This tasks only start a simple batch file which delete some files on a local ...
2
votes
2answers
158 views

Redirecting process output in Task Spooler

I am running processes of the form command --with arguments > logfile and would now dispatch those via task-spooler, so I tried tsp command --with arguments > logfile but the logfile ...
0
votes
0answers
509 views

Task Scheduler runs task successfully but does not run python script

I have a python script saved at C:\Users\ME\Documents\fetchData.py that pulls data from our database and creates a csv with the data cleaned, formatted, and organized as needed. I have attempted to ...
0
votes
0answers
58 views

How to extract the scheduling information for scheduled tasks from task scheduler

I need to get the list of all tasks along with their name, their execution command and most importantly their trigger time/repeatation time from windows task scheduler. Can someone please help with ...
1
vote
1answer
2k views

How to run a bash script with task scheduler (Windows 10 V1903)

i want to automatically sync the folder on my windows pc to my external harddrive connected to a raspberrypi. My script works and just uses rsync to copy 2 folders over. I want to automate it via ...
1
vote
2answers
661 views

Can Task Scheduler enter a password for me?

I want Task Scheduler to run a program and start a series of downloads for me before I get in for the day. This program requires a password though. I don't think there's a way to disable this. It's ...
1
vote
1answer
1k views

Task Scheduler user name not valid – removes domain/computer name upon saving task

After saving a task (in Task Scheduler) with the computer name/account, I go to run the task and it does nothing (simply supposed to open an .exe).  When I go back into the task properties, it shows ...
2
votes
2answers
2k views

task-scheduler: How can all users view/edit/run the same tasks?

I want all (or selected) users/admins to view/edit/run the same task. It seems that each user/admin only sees his own tasks and not the others users'. This is quite confusing for me since on Linux a ...
0
votes
0answers
113 views

VBS - schedule task + run in hidden

I am trying to create a scheduled task and run in hidden mode (without console) my BAT file that does the processing... can someone help me? Here is one thing that I have tried... enter image ...
0
votes
0answers
100 views

Task Scheduler failed to start on server 2016

Additional Data: Error Value: 2147943726 and Additional Data: Error Value: 2147942667. Can someone please advise
0
votes
1answer
1k views

How to insert VNC Server license key (automatically) after a PC reimage with MDT

I have a base build PC which has the VNC Server license key inserted and working correctly. I've then taken an image of it via WINPE disk and the DISM command line (.WIM file) Wim file is then ...
1
vote
3answers
751 views

Why doesn't Windows 10 task scheduler require administrative permissions to configure a task to run elevated?

It seems that I don't need administrator permission (it did not prompt for UAC control) to configure a task to run elevated. Why not?
4
votes
1answer
222 views

Windows 10 console stops running if I click in the console window

I have a PHP script which runs via Windows Task Scheduler. When it starts it automatically opens a console window where the script writes status messages. If I click on this window it stops the script ...
1
vote
0answers
1k views

Task scheduler does not start (Windows 10)

My service Task Scheduler is not running. In Services it is stopped. When trying to start it, it stops immediately. In the eventlog has no entries about this service, not about it starting, stopping ...
1
vote
1answer
46 views

Automatic reboot timeout value

Using these commands to set an automatic reboot using Task Scheduler %SystemRoot%\system32\shutdown.exe -r -f -t 10 from here https://www.ryadel.com/en/windows-auto-reboot-shutdown-scheduled-task-...
0
votes
0answers
427 views

Task Scheduler fails to start on WIndows 10 (Insider Build 1903 (18362.1)

I don't often deliberately reboot my PC but it is set to accepting Windows 10 Insider updates (Fast ring) and update overnight. As a result, it's usually up and it was only recently, that I noticed ...
1
vote
0answers
934 views

Cannot run batch in Task Scheduler when security optons set to “Run whether user logged on or not”

@echo off rem Note: This file is an alternative launcher for DocFetcher. How to use it: rem 1) Modify this file as needed. rem 2) Move this file one level up into the DocFetcher folder. rem 3) ...
1
vote
1answer
84 views

Prioritising task scheduler

I have recently started using task scheduler to make an authentication window pop up when the workstation is unlocked. This doesn't need to be secure or anything, it's for monitoring time spent on the ...
0
votes
0answers
315 views

XCopy error code doesnt tally

i have a xcpoy command which copying content in a folder to another directory via Windows Task Scheduler. However, recently we noticed there were not some events, the xcopy doesnt really copying / ...
0
votes
1answer
89 views

What arguments are necessary to start up a program in Windows from the Task Scheduler closed?

By default, if you manually set a program to start up, the main window gets launched and opened, hence the main question in the title. At least minimized would somewhat be helpful but still not ideal....
0
votes
0answers
434 views

Windows Task Scheduler - Task ending

I'm trying to schedule a task in windows task scheduler, that will run on every user logon, as the user creating it. The task needs to run an .exe, and then stop. The thing is, it keeps running for as ...
1
vote
0answers
263 views

Download a file from a website using windows task scheduler [closed]

I was wondering if it would be possible to use the windows task scheduler to do the following: - Access a website - Key in login details, press enter - Navigate to the file type to download I ...

1
2 3 4 5 6