Skip to main content

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.

0 votes
1 answer
454 views

Task Scheduler is not running a task to the second

In Windows Task Scheduler, one of my tasks is scheduled to run at 4:14:58 PM, but it's running at 4:15:00 PM. To rule out any underlying problem, I scheduled the task to run at 4:17:00 PM, and it ran ...
Raj Narayanan's user avatar
0 votes
1 answer
411 views

How do I prevent this dialog from popping up when running a VB script from task scheduler?

This is the undesired dialog that pops up when I run a Task in the Task Scheduler that just calls a VB script. Any idea how to make my Windows understand, that I do want to run the .vbs file using the ...
lenny's user avatar
  • 127
1 vote
0 answers
41 views

What is a more reliable way to scan for user commands that will run administrative commands on a user system?

On an AD domain, with a Windows 10 "deployment server" and 50 other Windows 10 hosts, I want to add a way for users to make LOCAL GPO changes by issuing a command. Each user has their own ...
bluesquare's user avatar
0 votes
0 answers
42 views

how do i set up task scheduler to shred a specific folder?

I have a folder of important information I don't want people to have access to but I don't want to get rid of it right now. what I want is to set up a task to have it shredded using glary utilities in ...
Marius's user avatar
  • 1
0 votes
0 answers
299 views

Looking for a way to prompt a scheduled message with options for the user to start (or not) a long backup batch file

I'm looking for a way to use Task Scheduler to warn the user before starting a long backup batch by showing a message box that waits for user confirmation. I was trying to use task scheduler to run a ...
noob's user avatar
  • 1
1 vote
0 answers
261 views

Other Admins Editing my Task Scheduler Tasks [closed]

When I create a task in Windows Server 2016 Task Scheduler, it assigns authorship to me and looks like this: Unfortunately, another admin named john_local is able to later change the User of the task ...
Shawn Eary's user avatar
1 vote
1 answer
306 views

using the same string of command in windows task scheduler does not work

So when i use the following command in a CMD window warp-cli disconnect && taskkill -im "Cloudflare WARP.exe" && cd "C:\Program Files\Cloudflare\Cloudflare WARP" &...
AwesomeVk47's user avatar
0 votes
0 answers
422 views

Can not run Sysinternals Process Explorer via Task scheduler (installed via winget on Win11)

I'm unable to setup the Process Explorer to run at startup via Task Scheduler. Regardless if I create the task via the Process Explorer menu 'Run at startup' or manually I am unable to make it work. I'...
Dalibor Čarapić's user avatar
0 votes
1 answer
782 views

Task Scheduler wait until first logon of the day but thereafter guarantee only run at 1 hour intervals

I am trying to create a task in task scheduler to run every hour and pop up a dialogue that lets the user pick from a list what activity they are currently working on. These tasks need to be spaced ...
Greedo's user avatar
  • 877
1 vote
0 answers
2k views

How to get rid of scheduled task "\Microsoft\Office\Office Serviceability Manager"?

I wanted to disable this task, but whatever it is there is something that re-enables the task again behind my back. Allegedly some component running as NT AUTHORITY\SYSTEM. I can see it from the event ...
0xC0000022L's user avatar
  • 7,213
0 votes
2 answers
267 views

What are valid characters for Windows' SCHTASKS command's task name?

I'm creating a script to back up, sweep, and validate a database. There will be multiple tasks scheduled to do this management job. Q1: Can I use dashes, underscores, periods, and other punctuation to ...
Jonathan Elkins's user avatar
0 votes
1 answer
1k views

Task Scheduler open Excel file with command line flag for VBA

I want to open a macro enabled workbook to capture data from the user every hour, and also pass an /e/ScheduledOpen flag to it to indicate in VBA if it was opened by task scheduler (in which case it ...
Greedo's user avatar
  • 877
3 votes
1 answer
3k views

Why does Windows Task Scheduler not work when selecting the option "Run whether user is logged on or not"?

I have a small VBS script that I want to run once per day. Set objExcelApp = CreateObject("Excel.Application") objExcelApp.Visible = True objExcelApp.DisplayAlerts = False sFilePathXlsm = &...
fritz.ann165's user avatar
0 votes
1 answer
107 views

Task scheduler to restart a program when GPU temps are high

I am running multiple GPUs in my system for mining and used MSI afterburner to set the overclocks. I have identified an issue where one of GPU gets non optimized once the ambient temp of my room rises....
Sharad Choudhary's user avatar
2 votes
1 answer
2k views

Is Task Scheduler's StartComponentCleanup the exact same utility/process as dism.exe's StartComponentCleanup?

I have a computer that I can only access remotely, and running a scheduled Microsoft/Windows/Servicing/StartComponentCleanup with Task Scheduler seems to timeout after several hours. However, when I ...
cncmang's user avatar
  • 43
3 votes
2 answers
6k views

How to daisy chain tasks in the Windows Task Scheduler to run consecutively?

When one scheduled task is completed, I want another task to start immediately after. Task #1 already has 32 actions, so I cannot add another action. So I figured "Oh, I'll just split my single ...
Jon Grah's user avatar
  • 623
1 vote
0 answers
358 views

Task-scheduler: cannot view/edit/run the tasks CREATED BY OTHER WINDOWS USER

We created tasks using one windows user and we configured it in such a way that service account will run the task but not the windows user. Now the issue is when I login with other windows user I am ...
user2515056's user avatar
0 votes
0 answers
227 views

Get informed when Windows Scheduled tasks doesn't run

A have a few tasks created on "TaskScheduler", they run some code that informs me in case of failures, but I really needed some method to get informed if a task did not run, either because ...
Mefitico's user avatar
  • 133
0 votes
0 answers
92 views

Task Scheduler - Windows 10

I am trying to use task scheduler on Windows 10 to run shutdown.exe after idle for 2 hours. When I set it up, it will work for 10 minutes instead of 2 hours, if I try 30 minutes of idle time it still ...
Jessica McDonald's user avatar
0 votes
1 answer
975 views

Why won't console window remain hidden while using Task Scheduler hidden property? [duplicate]

I'm trying to get my console program to run without being visible on the desktop. In Task Scheduler in Windows 11, I tried enabling it as a service and ticking the hidden checkbox, but it doesn't do ...
Neo's user avatar
  • 1
0 votes
0 answers
763 views

Windows server's task sheduler not working after few months

I am using windows task scheduler to run few tasks. But the tasks stop running time to time. May be after few months. Can I know why this happens? dose this happen because of user password expiration?
ashanrupasinghe's user avatar
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 ...
DaVinziBoi's user avatar
0 votes
0 answers
33 views

Task Scheduler / Event Viewer - Specifically with Logitech Lightspeed Activity

I'm trying to automate a task. When I want to automate the audio toggle trigger by the headset being turned on or off. When turned on, I'd like to switch audio input/output to the headset. When turned ...
Chris Choi's user avatar
0 votes
1 answer
4k views

How to see details of an error in Task Scheduler with 0XFFFFFFF code

I am running a Task in Windows Server 16 but the Status always shows 0XFFFFFFF Is there a way to see more descrption of the error. Will you get this if the Process which it is trying to start is ...
user2026794's user avatar
0 votes
0 answers
713 views

Is quotes needed for parameter in Windows Task Scheduler?

When running process in Windows Task Scheduler is quotes needed in parameter? Which would this be equivalent to if typing in command prompt? \\server\myscript.exe 18 import or \\server\myscript.exe &...
Lightsout's user avatar
  • 109
2 votes
0 answers
5k views

How to solve error 0x1 in Task Scheduler in Windows 10?

I'm trying to run a task in my laptop, I'm using Windows 10 Home, I've created a task in Task Scheduler and I'm getting error 0x1 on the Last Run Result. I've set the "Run whether user is logged ...
Ricky Rally's user avatar
2 votes
0 answers
3k views

Application is working fine when run manually, but when it is run from the task scheduler it doesn't work

That's it basically, when I run the app manually is able to find the files than it supposed to look for and work with them as it should, but when running from the task scheduler, even with my user, ...
user57129's user avatar
  • 191
0 votes
0 answers
888 views

Task Scheduler freezes when Properties is clicked on the Actions pane even after sfc/scannow and reboot; but opening a second Task Scheduler succeeds

When I open Task Scheduler on Windows 10, choose a task, and then click on Properties in the Actions pane, the Task Scheduler GUI freezes. I can still work with other things on the desktop. So I run ...
Tim's user avatar
  • 881
1 vote
2 answers
580 views

SCHTASKS.EXE works inconsistently

I created a task remotely on ServerB and ServerC from ServerA using a command like this. SCHTASKS.exe /Create /S server /RU domain\user /RP "password" /SC ONCE /TN task /TR D:\scripts\script....
tmcdonald59's user avatar
0 votes
0 answers
284 views

Windows task scheduler website opener

Yes I know this has been handled in various threads dating back to 2012 and such, but hear me out please. I've seen multiple methodologies for opening a web page in task scheduler varying from using a ...
CptCrunch's user avatar

15 30 50 per page
1 2
3
4 5
19