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.

131 votes
10 answers
131k views

How to prevent Windows 10 waking from sleep when traveling in bag?

I am not turning laptop off, but rather putting into hibernation, as it starts much faster and I can continue working without starting all apps again. It was working long time from Windows XP to ...
TN.'s user avatar
  • 2,060
42 votes
1 answer
214k views

How can I run a scheduled task as SYSTEM

I can't add SYSTEM account in task scheduler. When I try to add it becomes MYDOMAIN\SYSTEM and I get invalid user error. Can I use SYSTEM account to run a scheduled task?
Nime Cloud's user avatar
  • 1,190
31 votes
6 answers
79k views

Starting scheduled task by detecting connection of USB device

I know it has been discussed that it is not possible to start an application from an usb drive upon connection due to limitations of autorun (or autoplay??) in Win 7. But it is possible to create a ...
gemisigo's user avatar
  • 478
28 votes
5 answers
137k views

Automatically close program at a scheduled time each day

Is there a way to automagically determine if a program is running and close it at scheduled time, say 3 am every day? Maybe use task scheduler to close said application? if this is possible any ...
user avatar
25 votes
1 answer
54k views

In Task Scheduler what is the difference between "at logon" and "at startup"?

They both sound synonymous. Do programs "at startup" run before the programs "at logon"? Or do they still run if you don't logon?
laggingreflex's user avatar
23 votes
3 answers
44k views

Should a scheduled task remain in the "Running" state?

I'm new to using the task scheduler and I'm using it to run a batch file provided online when the computer boots. I r-clicked it and told it to run. It did and all is fine, but the Status of the task ...
NSouth's user avatar
  • 353
20 votes
8 answers
27k views

Can't modify task "Reboot" in win10 home

I have windows 10 home, and I'm logged in as my user, which has administrator privilege. I go in the "Task Scheduler", under "Task Scheduler Library > Microsoft > Windows > UpdateOrchestrator"...
msb's user avatar
  • 1,527
20 votes
3 answers
39k views

Will Windows Scheduled Tasks execute if the computer was off at the scheduled time?

If I schedule a task using windows task scheduler for, say, 2 minutes from now, and for some reason the computer is shut down 1 minute from now, and turned on 3 minutes from now, will the task that ...
Mark Elliot's user avatar
16 votes
2 answers
57k views

How to import a scheduled task automatically from an XML file?

I have created a scheduled task in Windows 7. The task is running perfectly well on my computer. I have also exported the task to an XML file and want to create the same task on another computer ...
krumiya's user avatar
  • 161
16 votes
4 answers
20k views

Windows 7 Task Scheduler is giving me an error saying "The specified account name is not valid"?

I am running Windows 7 on a Dell Precision workstation. I started having this issue right after changing my PC name. I get the error message when in the Task Scheduler Library folder and right-click a ...
Alex F's user avatar
  • 440
16 votes
2 answers
15k views

What is the difference between "stop the task if it runs longer than" inside Trigger and under Settings tab?

When I schedule a task in Windows Task Scheduler, I can set "stop the task if it runs longer than" inside task trigger or inside Settings tab. If I set it inside the trigger it does not automatically ...
alpav's user avatar
  • 467
13 votes
3 answers
15k views

Creating Task With a Batch File - run task as soon as possible if missed

When creating a task with a batch file or command line, how do I specify the following option? Run task as soon as possible after a scheduled start is missed I know that this option exists via the ...
Nick Painter's user avatar
13 votes
3 answers
26k views

How do I prevent the Windows 10 "Maintenance Activator" from waking my PC randomly (even after disabling wake timers)?

Windows 10 wakes randomly after putting it to sleep. I have tried all proposed solutions from this old question: I have added a disable flag for the automatic maintenance in the registry, disabled ...
Wuschelbeutel Kartoffelhuhn's user avatar
12 votes
4 answers
8k views

How to schedule a Windows task on wake?

I created a task in Task Scheduler to run at system startup, and it works great. However, I want to change it to run every time Windows wakes from sleep and I cannot figure it out. The relevant ...
lurning too koad's user avatar
12 votes
1 answer
22k views

Run a scheduled task after a Windows service is started

I want to run a scheduled task every time after a given service is started. I have looked for a way to set a trigger on a service start, so that the service in question may be started automatically ...
Thomas's user avatar
  • 123
11 votes
8 answers
21k views

The selected task "{0}" no longer exists. To see the current tasks, click Refresh

When I start my task scheduler on Windows 7 I get a dialog with the following error: The selected task "{0}" no longer exists. To see the current tasks, click Refresh Also there's a UUID, that ...
leeand00's user avatar
  • 22.7k
11 votes
6 answers
41k views

How do I get Windows 10 to chime / beep on the hour?

I'd like the computer to beep on the hour without having to install an entire third party software just for this. I tried using Task Scheduler for this, following the steps outlined here, but when I ...
San Diago's user avatar
  • 265
10 votes
5 answers
29k views

How do you schedule a task (using schtasks.exe) to run once and delete itself?

I want to schedule a task from the command prompt (using schtasks.exe) to run once and delete the task entry from the Task Scheduler Library after completion. After looking through the usage guide, I ...
Vinayak's user avatar
  • 10.8k
9 votes
1 answer
26k views

Scheduled task giving last run result 0x80041324

I've got a scheduled task set up in my Windows 7 machine which is meant to run a BAT file when I'm not around, i.e. the machine has been idle for 15 minutes. Does anyone know how to track down the ...
SteveC's user avatar
  • 2,154
9 votes
4 answers
56k views

How do I track the progress of XCopy command while It's running?

OPSYS: Win10Pro 64 bit RAM: 10GB I created a batch file which I then saved to the desktop of the local Administrator account. The batch file command line is this: xcopy "F:\movies" "L:\movies" ...
ChrisinAK's user avatar
9 votes
3 answers
50k views

Windows task schduler keep showing 0x41301

I have wrote the following .ps1 file:- [System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true} $request = [System.Net.WebRequest]::Create("https://localhost/") $response = $...
John John's user avatar
  • 285
9 votes
2 answers
18k views

Task Scheduler returns Directory Name Invalid for valid path

I'm trying to use Task Scheduler to run a Ruby script every night. When I try to run the script, I get error 0x8007010B which seems to be Directory Name Invalid. The directory I'm starting in is a ...
SSteve's user avatar
  • 275
9 votes
1 answer
22k views

Delete the "Optimize Start Menu Cache Files" task

Many of you are probably familiar with the fact that when a new user logs into a server in Windows, there will be a new task created in the Task Scheduler which is called "Optimize Start Menu Cache ...
Nacht's user avatar
  • 717
8 votes
3 answers
20k views

How to start a Windows task on `Workstation Unlock` and add 2 or more triggers?

I'm using Windows 7, and I want to make a scheduled task with my options using the Task Scheduler command-line mode utility that is called "SchTasks". But there are some problems using Schtasks: ...
Amirreza Nasiri's user avatar
8 votes
5 answers
9k views

Scheduling silent hourly Windows Defender definition updates using Task Scheduler on Windows 8

I want to update Windows Defender's definitions every hour and came up with the idea of using the Task Scheduler to execute the Defender update service with the signature update argument. ~/Windows ...
Afzal's user avatar
  • 1,385
8 votes
4 answers
27k views

How can I allow non-administrators to use shutdown.exe?

As per the comments in the accepted answer to this question, I'm having issues running a scheduled task which calls shutdown.exe, even when the user is an administrator. I'm administrating someone ...
Naftuli Kay's user avatar
  • 9,661
8 votes
1 answer
3k views

What windows 7 task scheduler event would respond to an idle END condition?

The Windows 7 task scheduler allows me to run a task when the computer goes idle, but there doesn't seem to be any obvious way to run a task when the computer resumes from idle, or is no longer idle. ...
r_alex_hall's user avatar
8 votes
3 answers
30k 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 ...
tardis's user avatar
  • 194
8 votes
2 answers
3k views

Windows Task automatically wakes my computer, but doesn't put it back to sleep after

My computer wakes itself up every day (presumably to do updates) which is fine by me, but it heats up my room by a considerable amount, and I rather not shut down, especially because it will ...
CHRIS C's user avatar
  • 81
8 votes
1 answer
5k views

Stopping a scheduled task with a batch file action doesn't stop the program running in the batch file

I have several scheduled tasks that each execute a (different) batch file. Each batch file calls into the same program, with with separate command line arguments. If I Stop a task while it's running, ...
Christopher Stevenson's user avatar

15 30 50 per page
1
2 3 4 5
19