What is Windows Timeline?
Windows 10 (1803) introduced Timeline: a per-user history of the apps used, the documents and web pages opened, and how long each app had focus. Windows 11 retired the Timeline view; ActivitiesCache.db can still be found on Windows 11 systems (often carried over from Windows 10), but it is no longer actively maintained there, so don't expect recent activity.
Because it records files opened with their full paths, active time per app and — when clipboard history is enabled — copied text, it is one of the richest sources of user activity on Windows.
Where it is stored
- C:\Users\<user>\AppData\Local\ConnectedDevicesPlatform\<id>\ActivitiesCache.db — <id> is L.<user> for local accounts, or an identifier for Microsoft / Entra accounts.
- It is a SQLite database in WAL mode: ActivitiesCache.db-wal holds the latest changes until Windows checkpoints them. Copy both (and ignore -shm).
- Tables: Activity (the timeline), ActivityOperation (pending sync operations, including deletions), Activity_PackageId (package names per activity).
Why it matters in an investigation
- Files and folders opened, with full paths — including on USB drives and network shares.
- Focus time per application (activity type 6): how long a tool was actually used, not just launched.
- Clipboard content (activity type 10) when clipboard history or sync is enabled — commands, paths, credentials. Type 16 records copy and paste events, without the text.
- ActivityOperation keeps pending operations, including deletions of activities the user removed from history.
Limitations
- Entries expire (about 30 days by default) and depend on privacy settings ("Store my activity history").
- Times are Unix seconds (UTC); the payload's userTimezone tells you the user's local zone.
- Without the -wal file, the most recent activity is often missing.
- Deleted records in free SQLite pages are not recovered yet.
How to get the files
- Collect the whole ConnectedDevicesPlatform folder with KAPE (WindowsTimeline target), Velociraptor or from a disk image.
- On a live system, copy ActivitiesCache.db and ActivitiesCache.db-wal at the same time: a WAL from another moment or database will not match (the tool detects and ignores a mismatched WAL).
- Keep the Users\<name>\ folder structure so each database is attributed to its account.
FAQ
Is my database uploaded anywhere?
No. The parser — including its SQLite reader — is Rust compiled to WebAssembly and runs in a Web Worker in your browser. There is no upload endpoint.
Why is the -wal file so important?
ActivitiesCache.db runs in write-ahead-log mode: new and changed rows go to the -wal file first. On a live or recently used system the last hours of activity are often only there. This tool applies committed WAL transactions and marks every row that exists only in the WAL or changed there.
Does Windows 11 still have Timeline?
The Timeline view was retired. An ActivitiesCache.db can still exist on Windows 11 machines, often carried over from a Windows 10 upgrade, but it is no longer actively maintained, so it mostly holds older activity. Always check for it, and date what you find.
Can it recover the clipboard?
Yes, when the database holds clipboard activities (type 10, created with clipboard history or cross-device sync): their base64 content is decoded and shown as text. Type 16 entries record the copy or paste action itself, without the content.
How is this different from WxTCmd?
It covers the same tables and fields (and exports CSV), but runs in the browser with no install, applies the WAL itself, and flags WAL-only rows, deletions and clipboard items.