# Windows integration: startup, tray, Explorer

Everything on this page is optional, for your Windows user only and reversible. None of it needs
administrator rights, and TKTail never makes itself the default program for a file type.

The quickest way: **Tools > Settings... > Startup** and **> Windows Integration**. The same can be done
from the [command line](https://tktail.dev/help/command-line/#settings-and-windows-integration) (`tktail startup`,
`tktail integration`).

## Starting with Windows

**Settings > Startup > Start TKTail when I sign in to Windows**, and how it starts:

*Screenshot: Settings: Startup*

| Start | What you see after signing in |
|---|---|
| **Hidden in the notification area** | Only the TKTail icon - monitored files and alerts run (the usual choice for monitoring) |
| **Minimized** | TKTail on the taskbar, minimized |
| **With the window shown** | The TKTail window |

The page shows what Windows has now - for example *TKTail starts with Windows (hidden in the notification
area)*. If you switch TKTail off in **Task Manager > Startup apps** (**Startup** on Windows 10; Windows Server's Task
Manager has no such tab), the page says so; turn it on there again (TKTail never overrides that switch). Starting with Windows and starting hidden are separate:
TKTail started any other way opens its window, and `TKTail.exe --tray` starts it hidden without autostart.

What opens at start is in **Settings > General > Reopen the workspace at start**; files monitored in the
background are always watched again.

From the command line: `tktail startup enable --tray` (or `--minimized`, `--normal`),
`tktail startup disable`, `tktail startup status`.

## The notification area (tray)

When TKTail is hidden (the **Hide to Notification Area** button in the title bar, right before minimize, **File > Hide
to Notification Area**, closing the window and choosing to keep it running, or started hidden) its icon stays in
the notification area - monitoring, LIVE tabs and alerts keep running, nothing is closed or reloaded:

*Screenshot: The notification-area menu*

- **Click** the icon, or choose **Open TKTail** in its menu (right-click), to show the window.
- The menu shows what is being monitored (*Monitoring 3 files*, or *Monitoring paused*), the unread
  alerts with the highest severity of the new incidents, and **Pause All Monitoring**, **Open File...**,
  **Settings...**, **About TKTail** and **Exit TKTail** (a real exit).
- The unread alerts, **Open File...** and **Settings...** show the window first.
- The icon changes when alerts are waiting or monitoring is paused.

**Settings > General**: *Always show the TKTail icon in the notification area* (otherwise it shows only
while TKTail is hidden there, monitors files in the background or has unread alerts), *Minimizing hides
TKTail in the notification area*, and what *Closing the window* does (ask, minimize to the notification
area, exit).

## Windows Explorer

**Settings > Windows Integration** adds TKTail to the right-click menu of Windows Explorer:

*Screenshot: Settings: Windows Integration*

| Entry | What it does |
|---|---|
| **Open with TKTail** (files) | Opens every selected file as a tab of the running TKTail - one file or many. |
| **TKTail** submenu (files and folders) | Files: *Open*, *Open in split right*, *Open in split below*, *Open and follow*. Folders: *Browse* (in TKTail's Explorer), *Search files*, *Search contents*, *Add to favorites*. |

On Windows 11 they are under **Show more options**. Turning an entry off removes exactly what TKTail
added. Command line: `tktail integration open-with enable|disable|status`,
`tktail integration explorer enable|disable|status`.

## Shortcuts and the Jump List

**Settings > Windows Integration > Shortcuts**: TKTail in the Start menu, on the Desktop and in Send To
(right-click a file > **Send to > TKTail** opens it).

The **Jump List** (right-click TKTail on the taskbar) lists recent files, recent folders and favorite
folders, plus *Open File...*, *Open Folder...* and *Settings*. Each part can be turned off there.

## A portable copy

A portable TKTail (a `TKTail.portable` file beside `TKTail.exe`, see
[Where TKTail stores data](https://tktail.dev/help/data-and-privacy/)) writes nothing into your Windows profile unless you turn an
entry on. The entries point to that copy: after moving the folder they point to the old place - the
Settings page says *points to another TKTail.exe* and **Repair** points them to the copy you run. The
Jump List of a portable copy is off unless you turn on *Also for a portable copy*.

## Removing everything

**Settings > Windows Integration > Remove All...** (or `tktail integration remove-all --yes`) removes the
autostart entry, the Explorer entries, the shortcuts and the Jump List. Settings, history, alerts and
incidents stay. To remove TKTail completely, also delete `TKTail.exe` and its data folder
([Where TKTail stores data](https://tktail.dev/help/data-and-privacy/)).

---

The HTML page: https://tktail.dev/help/windows-integration/
