Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find the location of the Scheduled Tasks folder

I have seen references online that state that 'Scheduled Tasks' in Windows are stored in %SystemRoot%\Tasks, which I think usually equates to C:\Windows\Tasks.

However, I observe that while that folder exists on my Windows 7 system, Scheduled tasks doesn't use it.

My system appears to use, C:\Windows\System32\Tasks.

I have studied the Environment variables and there doesn't seem to be anything related to Scheduled Tasks there.

How do I discover which folder is used for Scheduled tasks?

like image 425
JoelFan Avatar asked May 26 '10 14:05

JoelFan


People also ask

Where is the Task Scheduler file location?

There are two different folders labeled "tasks". The first folder is relative to the scheduled tasks that would appear in the task scheduler, these are in c:\windows\tasks. The second tasks folder is located in c:\windows\system32\tasks.

Where is the location of scheduled tasks on a Windows 7 system?

Open the Start Menu and scroll downwards until you find the Windows Administrative Tools folder. Inside it, you can find the shortcut for the Task Scheduler. Click on it. In Windows 7, you can find a shortcut for the Task Scheduler in the "Accessories -> System Tools" folder from the Start Menu.


1 Answers

Tasks are saved in filesystem AND registry

Tasks are stored in 3 locations: 1 file system location and 2 registry locations.

File system:

C:\Windows\System32\Tasks 

Registry:

HKLM\Software\Microsoft\Windows NT\CurrentVersion\Schedule\Taskcache\Tasks HKLM\Software\Microsoft\Windows NT\CurrentVersion\Schedule\Taskcache\Tree 

So, you need to delete a corrupted task in these 3 locations.

like image 96
Jan Avatar answered Sep 22 '22 12:09

Jan