How to find the location of the Scheduled Tasks folder

JoelFan picture JoelFan · May 26, 2010 · Viewed 222.1k times · Source

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?

Answer

Jan picture Jan · Oct 7, 2015

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.