How to detect generative AI use on company computers with a Windows agent
The two most common ways to find out who uses AI in the company each look at a single path.
A browser extension sees the browser it was installed in, not the tool's desktop app. A network proxy has to intercept TLS, which means installing a certificate on every machine, breaks some applications and does not follow the laptop outside the company network.
There is a third path: an agent on Windows itself, running as a service, that observes signals the operating system already produces. No network change and no certificate.
The five signals
1. DNS queries
Before connecting to ChatGPT, the computer asks DNS where chatgpt.com is. Windows exposes these queries through ETW (Event Tracing for Windows), and an agent can compare them against a list of known AI tool domains. Anything that does not match is discarded on the spot.
When it needs help: browsers with DNS over HTTPS resolve names on their own. A browser policy, applied from the console or the RMM, sends the query back to Windows.
2. Processes
The desktop apps for ChatGPT and Claude, as well as Ollama and LM Studio, run as local processes. An agent recognizes the executable and checks the vendor's digital signature, once per process. A ChatGPT.exe without an OpenAI signature is information in itself.
What it does not see: use in the browser, which is the majority.
3. Focused window
The title of the foreground window says "ChatGPT", "Gemini" or "Copilot" when the tab is open. This is the signal that attributes use to a person and a moment, and it works in any browser. It reads the title and the conversation field, and it must deliberately exclude search engines and social networks, where the word "AI" appears without the person using a tool.
What it does not see: the content. And it should not.
4. The paste gesture
This is where the data lives. When the person pastes into an AI tool's window, the agent classifies the clipboard right there, on the machine. In observe mode, it looks after the paste happens in the AI window; in warn and block modes, it classifies every time the clipboard changes, so the decision is ready the moment Ctrl+V is pressed. What it looks for: CPF (the Brazilian individual taxpayer ID) with a valid check digit, card number that passes the Luhn algorithm, credentials, bank details, Pix key (Pix is Brazil's instant payment system), health data, email, source code. The result is a list of categories and counts.
The keyboard hook reacts to a single gesture. It stores no keystrokes, and the only thing it produces is "a Ctrl+V happened just now". This has to be demonstrable with a test, because it is the question every DPO asks.
What completes this signal: typed and dragged text do not go through the clipboard. For those, the browser extension, when the customer turns it on, checks the text box on send and holds the drag before the site receives it.
5. Attached file
When an AI process, or the browser with an AI tool in focus, opens a user file, Windows records the operation. The agent turns that into an event with the file's name and extension. If the customer turns on content reading, the agent extracts the text from PDFs, spreadsheets, documents, presentations, saved emails and compressed folders, right there on the machine, and classifies it the same way it classifies a paste.
What does not go up: the file's folder and its content. What goes up is "proposal.pdf, with 11 CPFs". The name is recorded by default, the customer can turn it off, and then only "a PDF with 11 CPFs" remains.
Why one signal is not enough
A single sensor makes mistakes and leaves gaps. The strength is in the cross-check:
- When two sensors agree (the window says ChatGPT and DNS resolved
chatgpt.com), the event is confirmed. - When only one saw it, the event is marked as probable, and the console shows the difference.
This matters because nobody should be called into a conversation based on a guess by the software. Confirmed and probable are different words in the report.
What stays on the endpoint and what goes up
The most common design mistake in this category is sending the content to the cloud "to classify it better". That turns the monitoring tool into a second leak, this time to the tool's vendor. The list of what goes up to the server has to fit in a short table: tool, machine, person, event type, categories, counts, size and, for an attachment, the file name. And the list of what does not go up has to be verifiable: pasted text, prompt, the file's content and folder, screen image, keystrokes, history.
How this becomes a product
Detecti.ai is exactly that agent: a Windows service installed through the RMM or Intune, five sensors (the customer turns the DNS one on in the console), 135 tools in the catalog, local classification and a console that shows the health of each sensor per machine. The console shows each sensor's state per machine, and the restriction that turns off DNS over HTTPS in browsers is switched on right there. The optional browser extension completes paste and attachment checks inside the page. Installation takes an afternoon.
Read next
- Who trains models on what you paste: how to read an AI vendor's privacy policySeptember 24, 2026 · 4 min
- Deploy the agent with your RMM in an afternoon: a walkthrough for MSPsSeptember 22, 2026 · 5 min
- Coverage: why "zero events" does not mean zeroSeptember 15, 2026 · 5 min