Forensic Mode
Investigate a computer without TKTail leaving its own traces there. Started with --forensic, TKTail keeps everything it
would normally save - settings, recent files, jobs, AI activity, alerts, monitoring - in memory for the session. With
an approved output root it saves Evidence and reports below that one folder, and nowhere else.
What TKTail promises - in these words:
TKTail performs no intentional persistent application writes to the investigated environment while strict Forensic Mode is active.
What it does not promise: that the computer writes nothing. Windows, drivers and security software write because a program runs - Prefetch, the paging file, Windows Error Reporting, antivirus and EDR scans, the history Windows keeps when you use its Open / Save dialogs. Those are the computer’s writes, not TKTail’s; the Forensic Session Report says which writes TKTail itself kept in memory or refused.
The two modes
| Started with | Mode | TKTail’s own state | Evidence, reports, exports |
|---|---|---|---|
TKTail.exe --forensic | Memory only (strict) | in memory, gone when TKTail closes | not saved - shown, copied, never written |
TKTail.exe --forensic --output-root E:\Case-0042 | Restricted output | in memory, gone when TKTail closes | written only below E:\Case-0042 |
The window says which one runs - in its title bar and in the status bar, in words (a normal session shows neither): FORENSIC MODE (MEMORY ONLY) — NO LOCAL TKTAIL PERSISTENCE or FORENSIC MODE (RESTRICTED OUTPUT) — OUTPUT RESTRICTED TO E:\Case-0042 (a narrow window: FORENSIC — MEMORY ONLY / FORENSIC — RESTRICTED OUTPUT). Point at it for what the mode means and how many writes TKTail kept in memory or refused; click it for the Forensic Session Report; right-click it to copy the output root’s path, open the launch command builder or this page (Help > Forensic Mode opens it too). TKTail offers no “open the output root in Explorer”: an Explorer window would make Windows remember the folder.
Windows TKTail opens in a forensic session for things that last only for the session say so in their title - (Session Only): Settings, AI Access Rules, AI Data Protection, Manage Alerts and the alert and activation editors, Conditional Monitoring and its monitors, the name of a Saved Search, Custom Format Studio. Manage Alerts’ Relationships tree and Conditional Monitoring’s details add that activations - an until revoked one too - end with this session.
The workflow: from your computer to the investigated one
-
Prepare the command on your own computer. Tools > Generate Forensic Launch Command… Choose a preset:
- Strict Forensic - memory only; the license is asked at startup.
- Forensic + Restricted Evidence Output - an output root for Evidence and reports.
- Forensic + AI Investigation - an output root and the license from the clipboard (handy over RDP). AI access is still
yours to allow in the session - the preset adds no permission.
Enter where TKTail.exe is on the remote computer (
C:\IR\TKTail.exe, or justTKTail.exeto run it from the current folder) and the output root as it is there (an existing folder - removable media, an evidence volume or a share; TKTail never creates it). Pick PowerShell or Command Prompt.
-
Choose how the license gets there - it is used for this session only and never written:
License How Risk Ask at startup a masked box when TKTail starts ( --license-prompt)recommended Clipboard read once at startup ( --license-clipboard); optionally emptied afterwards (--clear-clipboard)recommended over RDP Standard input piped in ( --license-stdin)recommended for scripts License file a file on your media, read only ( --license-file <path>)acceptable Command line the code in the command ( --license-key <code>)allowed, but less secure (less private) - shell history, the process list, WMI and security software can see a command line None TKTail Free, or a license already installed there - For the clipboard, Copy License Code Only (beside the license) puts your code on the clipboard - copied, never shown, never part of a command. The preview never shows a code: an inline one is
********; Copy Command never includes it - only Copy Command With License Code does, and only for Command line.--clear-clipboardempties the clipboard TKTail read; a copy Windows keeps by itself (clipboard history, Win+V, or a clipboard synced between devices) is Windows’ - turn those off on the investigated computer if they matter. -
Copy the command (Copy Command) and read What this command means on that computer below it: will TKTail write there and where, AI clients, the license, whether your changes are kept - from the same model the command line reads.
-
Connect with Remote Desktop, open PowerShell (or Command Prompt) there, paste, run. With Clipboard: paste the command there but do not press Enter yet; then Copy License Code Only here and press Enter there - TKTail reads the clipboard once when it starts (copying the command afterwards would replace the license on the clipboard).
-
TKTail starts its own session. If TKTail already runs for that user, Forensic Mode refuses to start (close it first) - it is never handed to a normal TKTail. The settings TKTail has on that computer are read as they are; nothing of an earlier run comes back - no tabs, no recent files, no jobs, no AI activity, no alert history, no activation leases.
-
Authorize sources. Open files from the File Explorer as usual. For an AI client: Tools > Allow AI Access (MCP), then allow exactly what it may read (Tools > AI Access Rules…, Windows Event Logs with Add Event Log… - the Security log only by its name). Rules and settings you change apply to this session only. Forensic Mode never gives an AI client more than these rules.
-
Investigate as always: search, whole-record search, compressed and rotated logs, archives (read where they lie - never extracted to TEMP), Windows Event Log, aggregations, metrics, process samples, file SHA-256, alerts and conditional monitoring. Alerts fire and are listed; incidents (their stored captures) are not kept in Forensic Mode.
-
Save Evidence (Restricted output only): Save as Evidence writes the package straight to
<output root>\Evidence- nothing is staged in TEMP. In memory-only mode a save says it is not possible and why. -
Generate reports. Three reports, three questions:
Report Answers Where Forensic Session Report What did TKTail do on this computer? Tools, or right-click the forensic indicator AI Access Report What could an AI client reach? Tools > Generate AI Access Report… AI Investigation Report What did an AI client do? Tools > Export AI Investigation Report… - Tools > Forensic Session Report… - this session: TKTail’s version and the SHA-256 of its executable, start, mode,
output root, how the license was given (never the code), the sources and event logs it observed, AI investigations,
Evidence saved, every write TKTail kept in memory or refused, warnings. Copy, or Save Report… (below the
output root,
Reports\). - Tools > Generate AI Access Report… - what an AI client could reach, with the session’s runtime, persistence mode, output boundary and license input; in memory-only mode it is shown, not saved.
- Tools > Export AI Investigation Report… - what an AI client did, with the session’s runtime (Restricted output only; in memory-only mode Tools > AI Investigation Activity shows it).
With an output root, all three reports are saved by TKTail itself in
<output root>\Reports- no Save dialog (the status bar names the file). Exports of your own (rows, a document, hashes, jobs, a format) open TKTail’s own Save Below the Output Root window instead of Windows’ Save dialog: type the name (folders below the root are made as needed,Exports\by default) - a place outside the root is refused there, with the reason. Windows’ Save dialog is never used in Forensic Mode, because Windows remembers the folders its dialogs show (in the user’s Registry). Opening files still uses Windows’ Open dialog where TKTail has one (File > Open, Open Folder, imports, a license file). TKTail adds nothing to Recent items, but Windows itself records the folders the dialog shows and its size in this user’s registry - even when you only open and cancel it. So in a forensic session TKTail asks first (Use the Open Dialog, or cancel; Do not ask again in this session). Without the dialog, name the files on the command line (the launch command) or drop them onto TKTail’s window. - Tools > Forensic Session Report… - this session: TKTail’s version and the SHA-256 of its executable, start, mode,
output root, how the license was given (never the code), the sources and event logs it observed, AI investigations,
Evidence saved, every write TKTail kept in memory or refused, warnings. Copy, or Save Report… (below the
output root,
-
End the session: close TKTail. Its state goes with it; the output root keeps what you saved there.
What happens to each kind of data
| Data | In Forensic Mode |
|---|---|
| Settings you change | this session only (Settings says so) |
| Recent files and folders, search history, the workspace layout | this session only; an earlier run’s are not shown |
| Saved Searches, alert definitions, Metric Sets, custom formats you save | this session only (Allow AI to Save Custom Formats says “This Session Only”) |
| AI access rules, AI Data Protection rules you change | this session only - never weaker than what is set |
| Jobs | listed while TKTail runs; no history file |
| AI investigations (the AI Investigation Trace) | in memory - Tools > AI Investigation Activity shows them |
| Alerts, activation leases, schedules | run in memory; an “until revoked” lease ends with the session |
| Logs, archives, compressed and rotated files | read where they lie - never changed, never extracted to TEMP |
| Windows Event Log | read; no bookmark or position is saved |
| Metrics, process samples, File SHA-256 results | in memory for the session |
| Evidence | Restricted output: below the output root; memory only: not saved |
| Exports (rows, a document, jobs, hashes, reports) | Restricted output: below the output root; memory only: refused |
| TKTail’s log file | none - Output > Application shows it in memory |
| Registry, shortcuts, the Jump List, Explorer menus | never changed (those settings are not offered) |
| The notification-area icon | none - Windows would remember it in the Registry; alert notifications show in TKTail’s window, Hide to Notification Area is not available |
| The license | used for the session, never written |
The output root
It must exist before TKTail starts. TKTail writes only below it, on its real location: a path with .., a junction or
symbolic link (also one below the root that leads back inside), a file with another hard link, a device path, an
alternate data stream or a reserved name such as NUL is refused. Folders below the root are created as needed.
AI clients in Forensic Mode
An AI client investigates as usual - with nothing more than you allow. tktail_status tells it the session is forensic
(runtimeMode, persistenceMode, whether an output root exists - never its path); what it saves lasts for the session;
a request that needs a file written where the policy forbids it is answered forensic_policy_denied, with what you can
do about it. Everything it does is in Tools > AI Investigation Activity for the session.
MCP over HTTP never opens by itself in Forensic Mode, even when that computer’s settings have it on: a listener is
your decision in the session - Settings > AI Access > Accept AI clients over HTTP, Apply. The session gets a new
token of its own (never the computer’s stored one, never written): give it to your client with Copy Token or Copy
HTTP Client Configuration. The stdio connection (TKTail.exe mcp --stdio) works as always and writes nothing either.