> ## Documentation Index
> Fetch the complete documentation index at: https://docs.originhq.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Installing the Origin Agent on Windows: MSI Silent Deploy

> Silently deploy the Origin agent on Windows using the MSI installer with a provisioning JWT, with optional enhanced logging and OTEL configuration.

The Origin agent for Windows is distributed as an MSI package available directly from the Origin console. You run it via `msiexec` with a provisioning token to perform a fully silent, user-invisible installation — no interactive prompts, no reboot required.

An `.exe` installer is also published alongside the MSI under **Settings → Installers**. It is better suited to direct, one-off installs because it detects and installs the Visual C++ redistributable automatically.

## Prerequisites

<Note>
  **Microsoft Visual C++ 2015–2022 Redistributable (x64) 14.44** must be installed on the endpoint before you run the MSI. If it is missing, the MSI installation will fail.

  The `.exe` installer detects and silently installs the redistributable automatically if it is absent — use the `.exe` for ad-hoc deployments where you cannot guarantee the prerequisite is already present.

  For MDM / SCCM deployments with the MSI, link the Visual C++ Redistributable as a dependency so it is installed first.
</Note>

You also need:

* **Local Administrator** rights on the target endpoint (or a deployment account with equivalent privileges).
* A **provisioning token** for your tenant, created in the Origin console under **Settings → Provisioning Tokens**. The MSI itself is downloaded from **Settings → Installers** — these are two separate views.
* Outbound HTTPS access to `https://registration.prod.originhq.com` and `https://endpoint.prod.originhq.com`.

## Install commands

Replace `origin-installer-x_y_z-windows-x64.msi` with the actual filename you downloaded, and `<your_jwt_token>` with your tenant's JWT.

### Standard silent install

```bat theme={null}
msiexec /i origin-installer-x_y_z-windows-x64.msi /quiet PROVISIONING_JWT=<your_jwt_token>
```

### Silent install with enhanced logging

Use this variant when you need a verbose MSI log for troubleshooting. The log file is written to the Origin logs directory.

```bat theme={null}
msiexec /i origin-installer-x_y_z-windows-x64.msi ^
  /quiet ^
  /norestart ^
  /l*v "C:\ProgramData\Origin\Agent\Logs\msi-install.log" ^
  PROVISIONING_JWT=<your_jwt_token>
```

<Note>
  Origin collects AI event data at the application layer — through each AI tool's OpenTelemetry exporter and through application-level hooks — so the installer deploys no network driver and requires no certificate. There is nothing to exclude in an Application Control policy.
</Note>

## Log locations

| Log                | Path                                                        |
| ------------------ | ----------------------------------------------------------- |
| Install Log        | `C:\ProgramData\Origin\Agent\Logs\install.log`              |
| Detailed MSI Log   | `%temp%\Origin_Observability_Agent_xxxx.log`                |
| MSI Component Log  | `%temp%\Origin_Observability_Agent_xxxx_OriginAgentMsi.log` |
| Agent Runtime Logs | `C:\ProgramData\Origin\Agent\Logs\`                         |

## System tray icon

Once installed, the Origin agent places an icon in the Windows system tray. The icon gives you at-a-glance health status, a shortcut to run a full Diagnostic Report (registration, mTLS credentials, backend reachability, telemetry collection, and more), and one-click access to the agent log folder.

For a full end-to-end verification workflow — including PowerShell service checks and test prompts — see [Verify the Origin Agent Is Running and Capturing AI](/getting-started/verifying-installation).
