Windows

Where Are Task Scheduler Tasks Stored?

Task Scheduler task definitions live as XML files in C:\Windows\System32\Tasks with matching data in the registry. Use Task Scheduler or schtasks for edits rather than editing files directly.

Last updated

Task Scheduler keeps each task as a separate file under C:\Windows\System32\Tasks. The folder layout mirrors the folder tree shown in the Task Scheduler console.

A registry copy under TaskCache tracks registration and state. Direct file edits often cause access errors or sync issues, so administrative tools remain the supported path.

Where Task Scheduler stores this, by platform

Windows
C:\Windows\System32\Tasks

Files are XML without a file extension. Administrator or SYSTEM rights are needed to view or copy them. Deleting or editing files by hand can leave stale registry entries.

Windows
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree

Registry holds task registration, hashes and state. TaskCache Tasks holds per task GUID data. Use schtasks or the console to change tasks so files and registry stay aligned.

Frequently asked questions

Why can I not open files in the Tasks folder?

The folder restricts access to Administrators and SYSTEM. Open an elevated File Explorer or command prompt, and copy files elsewhere before inspection to avoid locks.

Do deleted task files disappear fully?

Not always. Registry entries in TaskCache can remain after manual deletion. Remove tasks with schtasks or the console, then check both locations.

Notice an outdated path? Let us know.