← Back to the site

Deployment guide

For whoever is going to put this on the machines: an IT service provider across a customer base, or the company itself on its own fleet. The path is the same (one MSI through the RMM or Intune); where this page says "your customer", a company without a provider reads "your company". Written in the order you will do things, not in the order the product was built.

Direct account, no provider. A company that buys directly from Gardien Security uses the same console, with its own vocabulary: Account administrator and Account operator instead of the MSP roles, and My account instead of the Partner portal, where each customer is a unit of the company. Everything below applies the same way.

Screen paths use the format "menu > tab > section". On every screen, the Support button (bottom right corner) has the Assistant, which answers questions about using the console, Tickets, to reach the team, and See the guide for this screen, the guided tour that also runs on its own the first time you open each screen.


1. Before installing the first endpoint

Three things that are not technical and cost more if left for later.

1.1 Tell people

The product requires transparency, and that is not posture: it is what keeps the legal basis standing. If an employee discovers the monitoring by accident six months later, the problem stops being technical.

The minimum: a notice saying the company now records the use of AI tools, what is recorded, and what is not. Use the privacy document as the basis; section 3 is the one people read. The customer templates have the notice ready to edit.

1.2 Configure the AI usage policy

The tray icon's panel leads to a link, in the "AI usage policy" item. If the link is empty, the item does not show, and the employee has nowhere to read the company policy.

Pass the URL at installation (AI_POLICY_URL) or set it in the console: Settings > Alerts and language tab > AI policy and language section > "URL of the customer's AI policy". The same section holds the Customer language, which applies to the agent's texts and to alert e-mails.

1.3 Decide the tool classification

The catalog default is conservative: almost everything is "Not approved" (128 of the 135 tools; the other 7, such as Microsoft Copilot and GitHub Copilot, come as "Tolerated"). That raises a high-severity alert on the first paste with sensitive data.

Do this before installing at scale, on the AI tools screen. A customer who approved Copilot does not need an alert every time someone uses it, and alerts nobody cares about train the operator to ignore all of them.

The company's own AI. If the customer runs an AI of its own, register it under AI tools > Add internal AI, with its addresses (and, if there is one, the desktop app's executable). It is created as Approved, shows under its own name on the screens and in the report, and the Overview starts showing how much of the AI usage is already internal. Machines recognise the internal AI from agent 1.7.19.

A tool the catalog does not have yet. In AI tools > Registered AI tools, enter the name and the website address. It shows up in Events and follows the classification like catalog tools, including access blocking (agent 1.7.40 and later).


2. Create the customer and get the command

In the console: Partner portal > Customers tab > New customer (the Portal opens from your company's name at the top, next to the avatar). Select the customer in the selector at the top and go to Endpoints > Deployment tab > "2. This client's key" > Generate key. The key fills in the commands in the collapsed For IT and RMM block on the same page (under "How will you install?", pick One machine, RMM or Intune), and whoever administers the customer can see it again with the Show button, with every display in the audit trail:

msiexec /i detecti-agent-X.Y.Z.msi /qn TENANT_KEY="..." SERVER_URL="https://your-server"

X.Y.Z is the published version; in For IT and RMM, the Files list downloads the MSI, and the command on screen already carries the right name.

Check the SHA-256 before installing. The same list shows each file's hash, taken from the signed manifest (not from the page the file is downloaded from), and the command on screen checks the file before msiexec: if it does not match, nothing is installed. instalar.ps1 always requires the hash in -Sha256.

One machine, with a screen (from 1.7.1): under Deployment, download detecti-setup-X.Y.Z.exe, double-click it and paste the key. It checks the key with the server before installing and shows which customer it belongs to, asks the installer to accept, follows the installation step by step and shows the result in the same window. The same file installs silently: detecti-setup-X.Y.Z.exe /install /quiet CID="...".

When the installation fails, the installer says why. Instead of just "code 1603", the window explains the reason and what to do: a wrong or revoked key, a machine that is already active in this customer (decommission it in Endpoints and install again), a suspended customer, or a machine that could not reach the server (internet, proxy, firewall). Through the RMM, the same reason goes to the error output, on a line starting with motivo:, and the full log stays in %TEMP%\detecti-instalacao-<number>.log.

The tenant key is per customer. It enrols any machine into that customer: treat it as a credential. It is not stored on the endpoint; it is used once, at enrolment.

Uninstall protection is set in the console, under Endpoints > Uninstall tab (section 5, "Uninstalling and decommissioning"). If you want the machine protected from the first minute, you can also pass UNINSTALL_PASSWORD="..." on the installation line.


3. Install through your RMM

Ready-made scripts

Two PowerShell scripts to install and to monitor, to run as SYSTEM from your RMM. Download them under Endpoints > Deployment tab > For IT and RMM > Standalone scripts:

ScriptWhat it doesWhen to run
instalar.ps1Installs or updates, keeping what is already configuredOnce per machine
verificar.ps1Says whether the machine is really coveredHourly, as a monitor

Both return exit codes, so the RMM can alert without anyone reading the screen. In For IT and RMM, with RMM picked under "How will you install?", the Deployment tab shows the instalar.ps1 line already filled with the key and the server, and the Download instalar.ps1 button. The removal script, desinstalar.ps1, is in the Uninstall tab. The step by step for each RMM follows below. Intune uses the MSI directly, with no script.

NinjaOne

Automations → new script, type PowerShell, run as System:

$msi = "\\your-share\detecti-agent-X.Y.Z.msi"
# The SHA-256 from the console (Endpoints > Deployment), never the one on the download page.
if ((Get-FileHash $msi -Algorithm SHA256).Hash -ne "PASTE-THE-HASH") { "SHA-256 does not match"; exit 3 }
$log = "$env:TEMP\detecti-install.log"
$p = Start-Process msiexec -ArgumentList @(
    "/i", "`"$msi`"", "/qn", "/l*v", "`"$log`"",
    "TENANT_KEY=`"PASTE-THE-KEY`"",
    "SERVER_URL=`"https://your-server`""
) -Wait -PassThru
if ($p.ExitCode -ne 0) {
    Get-Content $log -Tail 40
    exit $p.ExitCode
}
"installed"

One script per customer, because the key changes.

N-able N-central / Datto RMM

Same script, as a PowerShell component running as System. In both, keep the tenant key as a per-customer component variable, not in the script body; one script then serves everyone, and the key does not circulate in plain text in the script repository.

Intune

Win32 app:

Do not use the MSI product code to remove or to detect: it changes with every version, and the agent updates itself. A detection rule tied to one version's code stops finding the updated machine, and Intune reinstalls the old version on top of it. The agent's folder and executable are the same in every version.

One Intune app per customer, for the same reason as the key.


3-A. Installer signature

Since version 1.7.22, the agent, the MSI, detecti-setup-X.Y.Z.exe and DetectiScan are signed with the Gardien Security LTDA code signing certificate (Certum), with a timestamp. The file's Properties, Digital Signatures tab, show that name.

SmartScreen. Command-line installation (msiexec /i ... /qn from an administrator prompt, or through the RMM) never goes through SmartScreen, signed or not: it is still the recommended path. On a double click, Windows already shows Gardien Security as the publisher, but while the certificate is new it may still show "Windows protected your PC" on some machines, until the file builds reputation. The button that continues is behind "More info".

Versions before 1.7.22 are not signed. If a customer still has one, send an update from the console.

If an antivirus complains anyway, in order:

4. Check that it worked

On the endpoint:

Get-Service DetectiAiAgent
& "C:\Program Files\Gardien Security\Detecti.ai\detecti-agent.exe" diagnostico

In the console: Endpoints > Machines tab. The endpoint shows up within minutes; in the first 15 minutes it may show as Installing, which is normal.

Look at coverage, not volume. A customer with few events may be fine or may have dead agents. The red band at the top of the console says which. If it is there, fix it before reporting any number to the customer.


5. Day to day

What to look at

The Alerts screen, and only it. It comes sorted by severity and grouped: thirty pastes from the same session become one line with count thirty, not thirty lines. Each alert has a lifecycle (open, acknowledged, in progress, resolved, or ignored with a mandatory reason), an assignee, notes, and a timeline; J/K move, A acknowledges, R resolves.

The rules live under Settings > Alerts and language tab > Alert rules section, and each one can be turned off or have its severity changed per customer: sensitive data in a non-approved tool, a file sent to a non-approved tool, an image pasted into a non-approved tool, a file with a protected Purview label, a credential pasted into any tool (approved ones included), a tool seen for the first time, anomalous usage volume, a browser without the extension, a diverted extension, a new AI extension, an outdated agent and, off by default, sensitive data in a personal account and a credential in a file read by a coding agent. Two options cut the noise without turning a rule off:

Alerts about the agent itself (machine without detection, interference with the agent) are in the Alerts about the agent itself section, on the same tab.

The Events screen is for investigating an alert, not for browsing.

Where alerts go

Integrations > Alert destinations > New destination. With no destination there, the alert is created, sits on the screen and nothing else happens, and nobody opens a console every day. The same screen holds Microsoft Teams, Slack and ticketing systems (ConnectWise PSA, Autotask, ServiceNow and Jira), with Test to send a sample alert.

The destinations:

The webhook secret is shown once and does not come back. Lost it: create another destination.

Alert e-mails go out in the Customer language (section 1.2).

When an alert does not go out, its own line says why, with the number of attempts and the last error. After five attempts spread over a few hours the product gives up and leaves the reason recorded; giving up silently would make you conclude there was nothing to warn about.

Rotating the installation key

Endpoints > Deployment tab > "2. This client's key". The order matters:

  1. generate the new one (it fills in the commands on the page);
  2. change the command in your RMM;
  3. only then revoke the old one, with the Revoke button in the key list.

Revoking first leaves every new installation failing in the meantime, and the symptom, "new machines do not show up", does not point at the cause.

Revoking does not bring down what is already installed. Each endpoint has its own secret from enrolment; the tenant key only serves to enrol. That is what makes revoking cheap enough for you to do it when you suspect a leak.

Pinning or rolling back the agent version

Endpoints > Updates tab > Pin version. By default every endpoint follows the latest published version. Choosing a fixed version makes every machine of that customer go to it, including going backwards if it is on a newer one.

Use it for two things: rolling back the day a version is breaking machines, and freezing a customer during an audit. For a single group (the test ring, for example), use Policies > Agent update tab: a policy assigned to the group chooses the version (the newest, one behind the newest, a fixed one, or the promoted one, which waits for the newest to pass the pilot days without failure) and when to install.

The real fleet distribution sits at the top of the same tab, on purpose: "I pinned the version" looks solved the moment you click, and the problem is precisely the machines that have not come back yet.

Upgrading in place through the RMM is just msiexec /i detecti-agent-X.Y.Z.msi /qn: server and AI policy are read from the machine's registry when the command line does not repeat them. If it does, the command line wins. What was already configured on the machine, including the sensors, stays as it was.

**If msiexec /qn returns 1625**, it is not group policy: it is missing elevation. In fully silent mode Windows Installer cannot ask for UAC, so it refuses, and the command returns to the prompt immediately with no message at all. Through the RMM this does not happen (it runs as SYSTEM). By hand, open PowerShell as administrator. detecti-setup-X.Y.Z.exe handles it on its own: it checks elevation and asks for UAC.

Updating the fleet from the console

Three paths, and they add up rather than compete.

1. Let the customer update on its own. Under Endpoints > Updates tab > Window and automatic, turn on Update on its own and pick the window. That customer's machines start installing the published version without anyone clicking, inside the chosen hours. It ships off: swapping a privileged binary on someone else's machine is the customer's decision, and it is recorded in the audit trail with whoever turned it on.

The window is in the machine's local time, not the server's: 19:00 to 06:00 means the night of the people who work there. The default is outside working hours because the installer swaps the agent's files and starts it again, with a flicker of the tray icon.

2. Tell one machine. Open the machine and click Tell it to update. You can choose the version (including an older one, which is how you roll back a single machine) and tick "install as soon as it arrives, without waiting for the window" when the fix cannot wait.

The order does not reach the machine right away: it waits for the next check-in, usually under a minute. A machine that is off receives it when it returns. An order not carried out within 24 hours lapses, on purpose: a machine coming back after a week should not install what someone asked for on Monday, and the fleet target takes it to the right version anyway.

Progress shows under Endpoints > Updates tab > Update orders: waiting for the machine, received, downloading, installing, done or failed, with the reason. That is what tells "still on its way" apart from "failed and nobody will notice".

3. The agent's menu. Whoever is at the machine can still click "Check for updates" in the tray icon. They do not need to be an administrator: the request goes to the service.

Why a machine did not update. The state column in the endpoints table carries the agent's own last decision, in one line: "outside the window", "automatic updates off for this customer", "version failed 3 times; quarantined", "manifest refused". The answer exists without you having to go to the machine.

Timed exceptions and pausing a machine

The policy applies to the whole fleet, and a policy assigned to a host group adjusts a group. What is left are the "adjust this" cases: the HR system that handles national IDs all day, a tool pilot in one team, the director in a presentation with the warning box in the way. For that there is Policies > Timed exceptions tab > New exception: a scope (the whole customer, a group, a tag or one machine) stops alerting or blocking on a target (one AI tool, one data category or everything), for 1, 7, 30 or 90 days.

Three rules with no exception: every exception expires (in at most 90 days), every exception needs a reason of at least 20 characters, and none of them deletes the event. What the machine saw stays in Events and in the report; what changes is what happens afterwards.

The pause is the same thing through another door: at the top of the machine page, Pause enforcement removes the warning and the block on that machine for 1, 4 or 24 hours, with a reason, and ends on its own. It pauses enforcement, not collection. Someone in a presentation wants the box out of the way, not to become invisible.

Managing the agent remotely

On the machine page (Endpoints > Machines tab > click the machine), the Manage agent menu has five orders, all delivered on the machine's next check-in through the same queue as updates:

Uninstalling and decommissioning

Everything about removing the agent is under Endpoints > Uninstall tab, in five cards:

  1. Uninstall password. Set there, it goes down with the policy and is written on every machine at the next check-in, with no reinstall; "N of M machines have it written" comes from what each machine reported. At least 12 characters, and the text is not stored anywhere: keep it in your vault.
  2. One machine, with a screen. Windows Settings > Apps > Detecti.ai > Uninstall, or detecti-setup-X.Y.Z.exe /uninstall. Both open the window that checks the password before removing.
  3. From the RMM, silent. desinstalar.ps1 -Senha "..." works with any installed version, and so does detecti-setup-X.Y.Z.exe /uninstall /quiet UNINSTALL_PASSWORD="..." since 1.7.20 (an older installer only removes the version it carries). msiexec /x detecti-agent-X.Y.Z.msi /qn UNINSTALL_PASSWORD="..." only removes a machine that is on the same version as the file.
  4. Release a single machine. On the machine page, Manage agent > Allow uninstall for 24 h: a one-time password, shown once, valid only on that machine, that does not spread the customer's password over the phone.
  5. After removing. The machine just stops checking in. Decommission (the last option of Manage agent, on the machine page, confirmed by typing its name; or several machines selected in the list) deletes the machine and its events and stays in the Audit trail. Otherwise it is retired on its own (below). To reinstall on the same machine, do not decommission it: uninstalling does not erase the enrollment, and the machine comes back to the console as the same one, with its history. The installer only stops saying the machine is already active in this customer when the local credential was lost (data folder deleted) and the machine talked to the server in the last 24 hours; then decommission it and install again. If the machine was decommissioned with the agent still installed, it disappears from the console and verificar.ps1 says the server refuses its credential. Reinstall with the key (MSI 1.7.35 or newer): the installation checks the credential, sees the refusal and enrolls the machine again, as a new machine.

Since agent 1.6.7 the service refuses to stop outside a maintenance window. Updating, uninstalling with the right password and shutting the computer down keep working; sc stop and Task Manager do not.

Retired machines

A machine silent for longer than the customer tolerates (Settings > Privacy tab > Retention section > "Remove from the count after how many days without contact", default 45 days, 0 turns it off) is retired on its own: it leaves the count, the health board and billing, but stays in the database with its events until retention takes them, and comes back on its own if it checks in again. They show under Endpoints, status Retired. Retiring is not decommissioning: decommissioning deletes.

Operator scoped by group

Under Users, in the "⋯" menu on the person's row, Change role lets you pick, for customer roles, a Group scope: the person then sees only that host group's machines in Endpoints, Events, Alerts and Reports, and the customer's settings are out of their reach. It is the branch technician seeing only the branch.

The monthly report

Reports screen: choose the period and the language, download the Executive report as a PDF with your brand and send it to the customer. Or schedule it under Reports > Email delivery > Schedule delivery: weekly, monthly (on the 1st, with the previous month) or quarterly, to up to 10 recipients, who confirm their address through the link they receive.

It answers, in this order: how much of the fleet was being observed, what tools were used, and what types of data left. Coverage comes first on purpose.

When the customer asks "what exactly was pasted?"

The honest answer is: the product does not know, and that is the design, not a limitation.

If the customer needs to know, turn on local evidence (Settings > Privacy tab > Local evidence section):

  1. generate the key pair; the private key shows once and is not kept on the server;
  2. hand the private key to the customer and record that you did. You should not keep it: if you do, you become able to read your customers' content, and the product's promise stops holding for you too;
  3. turn evidence on.

From then on, the content that raised an alert is encrypted on the endpoint and, if the customer picks a retention period on the server, an encrypted copy goes up. The one who opens it is the customer administrator, not the provider: on the event, See what was pasted, with the private key and a written reason, which goes to the Audit trail. Decryption happens in the browser. Without a copy on the server, the console shows the path and the command to open it on the machine itself. What to keep (text, attached file, pasted image) and when (only what was interrupted, or every detection) is chosen per policy, in Policies > policy > Evidence for investigations section.

Turning it off deletes what was already kept.

Users and roles

Users > Invite screen: name, e-mail and role. MSP roles see every customer; customer roles see one. The invitation link (7 days) lets the person choose their own password and set up the second factor. Deactivate instead of deleting; changing a role or deactivating closes the person's sessions.

The "⋯" menu on each person's row also has Reset password (an e-mailed link, valid for 30 minutes; until the change, the current password keeps working) and Reset second factor (for someone who changed or lost their phone: the old authenticator stops working at once and the person enrols again through a 7-day link). Nobody sets someone else's password, and nobody resets themselves through that menu: one's own account is under Profile & security, in the avatar menu.

Your brand

Partner portal > Brand tab (MSP administrator only): trade name, logo (PNG, JPEG or WebP) and primary color. The console and the PDF of every customer show all three; the e-mails carry the trade name as text, without an image, because Outlook blocks images by default.

The brand is shared: the customer sees your brand, powered by Detecti. The report, the pilot report and the alert e-mails carry the line "Powered by Detecti.ai, operated by Gardien Security". Hiding that line is not an option on the screen: it is an exception negotiated in the contract, and only Gardien turns it on.


6. Questions the customer will ask

"Do you read what I write?" No. The analysis happens on the person's computer; what leaves it is categories and counts. Hand over the privacy document: it has the table of what is and is not collected, with where each statement is verified by a test.

"Is this legal?" In Brazil the usual framing is legitimate interest (LGPD art. 7, IX), favoured by three product choices: content is not collected, identity can be masked, and the employee is told. In the EU, GDPR art. 6(1)(f). We are not lawyers; the document exists to be attached to the customer's impact assessment.

"Can my employee uninstall it?" With the uninstall password set, Windows asks for the password to remove the agent, and the service refuses to be stopped. For this to hold, the employee should not be a local administrator of the machine. If the agent stops checking in or someone interferes with it, the machine shows up in Endpoints with date and time and, with the interference alert on, the alert arrives right away.

"Do you block?" It can block, and it ships turned off. The default is observe; warning and blocking pastes, and the restrictions on the machine (blocking access to unapproved tools, among others), are turned on by the customer in the console, by policy.


7. Before turning on warn or block: what to turn on in the console

Warn and block apply to pasting inside the window of an unapproved AI tool, through the shortcut, the right-click menu and the Edit menu. For the mode to apply in full, also turn on, in Policies > policy:

Turn onWhat happens
Install the Detecti.ai extension in browsers (Restrictions section)pastes and attachments are checked inside the page, through any path (shortcut, right-click, drag, attach button), in Chrome, Edge and Brave
Approved browsers (In the browser extension section) and AI only in approved browsers (Restrictions section, agent 1.7.42 or newer)the company marks the browsers it approves, and an AI tool opened in another browser has its window minimised, with a button to open the same tool in the approved browser
Turn off clipboard history (Win+V) (Restrictions section)the Windows history stops keeping what was copied
Turn off DNS over HTTPS in browsers (Restrictions section)access blocking and the DNS sensor apply in browsers (section 7-A)
Block access to unapproved tools and Block AI APIs (Restrictions section)the unapproved tool stops opening, and programs and scripts stop reaching its API: whoever cannot reach the tool cannot paste, type or attach in it
Turn off private browsing in browsers and Turn off the AI built into browsers (Restrictions section)private windows stop opening, and Gemini in Chrome, Copilot in Edge and Leo in Brave are turned off
Check typed text on send (In the browser extension section)text typed by hand is also classified, on the machine, at the moment it is sent
Analyse the content of the attached file and Read the text inside images (Detection section)attachments and images get categories, not only name and size

Also set the uninstall password (section 5) and keep the agent interference alert on (Settings > Alerts and language tab > Alerts about the agent itself).

Before turning blocks on, the console shows the list of what will be blocked, and turning them off returns the machine to how it was. When a machine shows a notice in Endpoints, the Help Center, under Machine notices, says what to do.

The agent is for Windows. There is no agent for macOS, Linux or phones.

Technical limits of each sensor. They are in the console Help Center (Recognised data, Policies and modes, Restrictions). For those evaluating the product before buying, Gardien Security sends the technical document under a non-disclosure agreement.

What to tell a customer who turns on warn or block

The decision applies to pasting inside the unapproved AI tool, through the shortcut, the right-click menu and the Edit menu. In block mode, the data does not go through; in warn mode, the person sees what was found and chooses not to paste, paste anyway or, when offered, paste masked, and the choice is recorded. With the Detecti.ai extension on, drag and attach follow the same mode. The restrictions in section 7 complete the mode, and all of them are switches in the console.

How each paste path is handled is in the Help Center, under Policies and modes.


7-A. DNS sensor and DNS over HTTPS

The DNS sensor is turned on in Policies > policy > Detection section > DNS sensor. For it and for access blocking to apply in browsers, also turn on Turn off DNS over HTTPS in browsers, in the Restrictions section: the agent applies the policy in Edge, Chrome, Brave and Firefox, and turning the switch off (or uninstalling the agent) restores what was there before. If you prefer to apply it through the RMM, use the DnsOverHttpsMode policy with the value off, in Edge and Chrome.

Talk to the customer first. Turning off DNS over HTTPS is a change to their network, not only to our product: queries go out in clear text again to the configured resolver, which on a corporate network is usually the customer's own. For most environments that is expected, and many already turn it off for content filtering. But it is their decision, and it goes in writing.

The Endpoints screen shows the DNS sensor state per machine. Installation parameters are in the Help Center, under Key and installer.

8. Billing

The Partner portal (Overview and Customers tabs) shows active endpoints per customer and the MSP total. Active = contact within the last 30 days.

The MSP total is the sum of the customers, computed from the same place: the invoice and the screen do not diverge.

Each new customer can start in a 14-day trial. Expiring suspends nothing; it only shows in red, because cutting a customer's visibility because of a date is how you lose the customer.