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
1answer
40 views

Start program minimized from task scheduler not working

I am trying to schedule the start of outlook.exe minimized, but the task does not launch the program. I created the task with the path %windir%\system32\cmd.exe and arguments /C start "" /MIN "C:\...
0
votes
0answers
20 views

How Does A Domain User Schedule A Task On Windows Workstation?

My workstation is running Windows 10. The task schedule is running. I log into my workstation using a Domain user account, which also is in the Domain Administrators group. For testing, I need to ...
2
votes
1answer
25 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 ...
1
vote
0answers
12 views

Powershell Check Scheduled Task Status

I've got a PS1 script that is automatically run by Windows Task Scheduler and checks the status of a different scheduled task on the same machine. If ((Get-ScheduledTask -CimSession Sever1 -TaskName ...
0
votes
0answers
14 views

Starting scheduled task when specific sound device is available

I wanted to use VoiceMeeter Potato with Nvidia RTX Voice but the problem is VoiceMeeter should open once the RTX Speakers sound device is available and I wanted to know if it's possible to achieve ...
1
vote
1answer
168 views

How to have my computer go to sleep after a scheduled task ONLY if the computer was woken up by the task in the first place

Using Windows Task Scheduler I have a task I want to run at 5:30 PM Daily, but I'm not sure if I'll be on that computer at the time of the task. So, I want to allow Windows to wake my computer to ...
0
votes
0answers
14 views

Task Scheduler Windows 10, repeats every 30min instead of 1h

I created a task for running a python script every 3 hours for 12 hours a day, starting at 9 am. Problem is that it runs every 30 minutes instead. I changed it to every hour instead but still runs ...
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
27 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
45 views

Run a shortcut (.lnk) from Task Scheduler

I'm attempting to create a Task Scheduler task that runs a .lnk shortcut, which starts a PowerShell script using pwsh.exe with arguments. I have .lnk added to PATHEXT. When I set the lnk as the ...
0
votes
0answers
27 views

how to pass inner single quotes to SCHTASKS?

I am trying to create a task running command as follows: powershell -Command "powercfg /devicequery wake_armed | Select-String -Pattern 'keyboard|mouse' | ForEach{ powercfg /devicedisablewake $_ }" ...
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 ...
1
vote
0answers
69 views

Force exe to run in NON ELEVATED mode from Task scheduler

I am admin user. I have 32 bit exe which I have scheduled it from task scheduler to run at every night. Though it is running in elevated mode. How do I force it to run in non elevated mode. I did try ...
0
votes
0answers
19 views

Windows Task Scheduler Run Event when exe file is run

I want Windows Task Scheduler to run a task whenever a certain .exe file (specified by the path to the exe) is run. For example, if the path was C:\Windows\System32\mspaint.exe and I start up Paint by ...
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 ...
0
votes
0answers
13 views

Windows 10 removable storage mount event

I'm attempting to perform an automatic directory synchronization between a PC folder and a Nook eBook reader when the reader is connected via USB cable (sideloading). I am using Microsoft SyncToy. The ...
0
votes
1answer
28 views

Task Scheduler Behaviour

I have few questions regarding Task Scheduler behaviors. Suppose we set a task scheduler at a particular date-time, lets say on a schedule of 4/2/20 at 11:00PM: If I shut down or restarted the device ...
0
votes
0answers
33 views

Script to login to Windows (Windows 10)

Here's some background: I'm currently working on a project where I use the Windows Task Scheduler (triggered by computer waking from sleep) to run a Python script that turns on my webcam and runs a ...
0
votes
1answer
20 views

Powershell script running in Task Scheduler not producing results

I'm trying to run a Powershell script file as a Scheduled Task in Windows Server 2012. The script selects events in Event Viewer using an xml filter and saves them into a text file. The script file is ...
0
votes
0answers
11 views

How to run Get-WinEvent as a Task Scheduler job in Windows Server 2012

I'm trying to set up a scheduled task in Windows Server 2012 that will periodically save all events in Event Viewer log into a text file. I've put together a command that works well when run in the ...
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
11 views

Monitor changes in Task Scheduler?

Is it possible to somehow monitor, log, prompt and block changes in Task Scheduler to close some vulnerabilities (e.g. silent elevated execution without UAC prompt) and gain more control over system ...
0
votes
1answer
156 views

Powershell Scheduled Task Restart Every Hour if Fails

I want to write a powershell script that creates a scheduled task in Windows, but if it fails, it will try again in an hour. Essentially, I want the equivalent of these boxes: How would I modify the ...
1
vote
2answers
66 views

If a script fails because computer is shut down, or the script thinks it’s working fine but isn’t, how to trigger fail alert?

I am currently using PowerShell and Task Scheduler to automate a task for the business where I currently work. This script updates a list and will ideally be run every 10 minutes. The computer that ...
0
votes
0answers
55 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
60 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
21 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 ...
2
votes
1answer
52 views

Recurring Message Box VbScript

I have a vbs file whose content is : MsgBox "some thing here",vbOkOnly,"some other thing" I have set it to run periodically using Windows Scheduler. It indeed is running periodically (which i ...
0
votes
1answer
173 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 ?
1
vote
0answers
35 views

Advice on how to trigger a Windows task on a specific event

Operating System: Windows 10 I currently have a task that triggers anytime event ID 10000 occurs in Applications and Service Logs -> Microsoft -> Windows -> NetworkProfile -> Operational A cmd ...
0
votes
3answers
133 views

Scheduled task execute at wrong times on Windows 10

On Windows 10 I created a scheduled task to make a snapshot of C:\ each hour from 8:00 AM to 5:00 PM. Works fine as long as the computer is running or stopped (not sleeping). Problem : if the ...
0
votes
0answers
118 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
21 views

How to make this .bat script run on background? [duplicate]

I have this script that sets wallpaper every 10 minutes: SCHTASKS /Create /SC MINUTE /MO 10 /TN MyTaskName /TR "D:/ChangeWallpaper.bat" the ChangeWallpaper.java: reg add "HKEY_CURRENT_USER\Control ...
0
votes
0answers
28 views

Wake up Windows 10 Automatically

I've spent the last few hours reading and trying different methods to wake up my Windows 10 laptop from Hibernation or Sleep, so far with no luck. Initially the idea was to use Task Scheduler but I ...
0
votes
0answers
39 views

Task Scheduler: Task started at Sleep event completes after wake

I have scheduled a task to run at event id 42 of Kernel Power source. The log shows that the task started as expected on the event but could not complete as the computer entered sleep mode(event id 42)...
0
votes
0answers
94 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 ...
1
vote
0answers
52 views

Automate downloading a file from a browers every 30mins

I want to setup a automated task (marco) where every 30 mins ( between 9-5pm mon- friday), download a .csv report. The task I want done is to login to a website and make 2-3 sections to download ...
3
votes
1answer
154 views

SCHTASKS - Suppress warning, answer N (NOT /F)

If I have a batch file creating a scheduled task, and it gets run multiple times, I'd like to have it just ignore subsequent attempts to create the task. I'm aware of the /F parameter that forces the ...
0
votes
0answers
41 views

Microsoft Task Scheduler's: Schtasks.exe unable to register new task in Arabic OS (locale)

I created a task in MS Task Scheduler app using simple xml command approach: SCHTASKS /CREATE /SC DAILY /TN "TEST" /XML "C:\TEST.xml" When I try to register the task in an Arabic regional OS setting/...
0
votes
0answers
78 views

Running multiple Forfiles within a PushD for deletions in batch file

I'm trying to make a batch file to run from the Task Scheduler that will clean up some residual files left from a programme that converts video. At the moment I have: :: begin the script --> ...
0
votes
0answers
198 views

failed to use Task scheduler to connect VPN, rasdial.exe

I wrote a batch file with the content as below c:\Windows\System32\rasdial.exe "VPN Connection" "username" "password" /domain:testdomain 1>>d:\vpn.log 2>>&1 echo. >>d:\vpn.log I created a ...
0
votes
1answer
108 views

Run a scheduled task if memory usage goes above 90%

Is it possible on Windows to use task scheduler or other methods to run a script if the memory usage on the device goes above a certain level?
0
votes
0answers
421 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 ...
0
votes
1answer
966 views

Create a scheduled task to trigger on a log event with a specific event ID

I have a manual routine (involving the Scheduled Task GUI) for creating a scheduled task that triggers on a given set of events from the event log. I would like to automate that process using ...
0
votes
0answers
70 views

Schedule music with mswindowsmusic: and arbitrary folder

I have learnt that it is possible to start UWP apps with commands like start mswindowsmusic: I have also discovered that it's possible to save this command in a .bat file, and then use Windows Task ...
0
votes
2answers
35 views

3D chat software crash error

One 3D chat software is crashing in Windows 10. While checking the log, I got this line: TaskScheduler.pyo(292) ERROR: Going to bubble out of event pump What does this mean? Can this be the ...
0
votes
0answers
21 views

How to get a Batch Job session to push a zipped file from a remote server to a local machine/server

I have a program that our clients run as a RemoteApp. This program copies files out of a folder to another folder, then zips those files and downloads/copies them off the remote server to the client's ...
0
votes
0answers
70 views

Run a scheduled task in battery saving mode

If you turn on Battery Saving mode in Windows 10, any tasks scheduled through the Task Scheduler will not run until you plug in your pc, is there a way to schedule a tasks so that it runs anyway?
0
votes
1answer
611 views

Task Scheduler Win 10 - Run whether user is logged on or not

I am using Task Scheduler to run 2 tasks everyday with security options is 'Run whether user is logged on or not' but one of them did not work. Task1: Action: Start a program Program/script: D:\...

1
2 3 4 5
9