# Installing Collector on a single device

Install the Collector on a single device to ensure the configuration is correct and ready for deployment across the enterprise.

Use the Collector MSI package to install Collector either in interactive mode or in silent mode (also sometimes referred to as unattended mode). In the latter case, no user interaction is required once the installation process is started.

This method of installing Collector individually on every device is very tedious for large enterprises. Therefore, we only recommend it for proof of concept or testing purposes.

## Interactive installation <a href="#installingcollectoronwindows-installcollectorinaninteractivemode" id="installingcollectoronwindows-installcollectorinaninteractivemode"></a>

{% stepper %}
{% step %}
Double-click the `NEXThink_Collector.msi` file to start the installation program.
{% endstep %}

{% step %}
After reading the welcome message, select **Next**.
{% endstep %}

{% step %}
Fill out the form of installation settings:

|                              |                                                                                                                                                                                                                                                                                                                                                                                                          |
| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Appliance Name or IP address | FQDN of your Nexthink instance                                                                                                                                                                                                                                                                                                                                                                           |
| Appliance TCP Port           | 443                                                                                                                                                                                                                                                                                                                                                                                                      |
| Customer Key                 | <p>Copy to this field the content of the file that holds the customer key of the Nexthink instance:</p><ol><li>Open the customer key file using Notepad.</li><li>Press <strong>Ctrl+A</strong> to select all the text.</li><li>Press <strong>Ctrl+C</strong> to copy the text.</li><li>Back in the <strong>Customer Key</strong> field, press <strong>Ctrl+V</strong> to paste the copied key.</li></ol> |
| {% endstep %}                |                                                                                                                                                                                                                                                                                                                                                                                                          |

{% step %}
Select **Next**.
{% endstep %}

{% step %}
The installer is now ready and you can click **Install** to begin the actual installation.
{% endstep %}

{% step %}
Click **Finish** to close the installation wizard once it has been completed.
{% endstep %}
{% endstepper %}

## CLI silent installation <a href="#installingcollectoronwindows-command-linesilentinstallation" id="installingcollectoronwindows-command-linesilentinstallation"></a>

To install Collector in silent mode, run `msiexec.exe` in the command-line interface (CLI). The executable program **msiexec.exe** comes pre-installed with every Microsoft Windows operating system. Custom parameters are provided directly in the CLI and they are not saved from one installation to another. For a single installation, it is preferable to use the graphical installation method instead. For larger deployments with automated tools, we recommend using Windows Installer Transformation Scripts (often referred to as MST files).

### Mandatory parameters

| Parameter  | Description                               |
| ---------- | ----------------------------------------- |
| `DRV_IP`   | FQDN of your Nexthink instance            |
| `CRD_PORT` | 443                                       |
| `CRD_KEY`  | The customer key of the Nexthink instance |

### Example

Unattended installation:

{% stepper %}
{% step %}
Run the following command in CLI ; change `<Your_Key>` to the actual value:

{% code overflow="wrap" %}

```sh
msiexec.exe /qn /i Nexthink_Collector.msi DRV_IP=nxdocs.eu.nexthink.cloud CRD_PORT=443 CRD_KEY=<Your_Key> REBOOT=ReallySuppress
```

{% endcode %}
{% endstep %}

{% step %}
Wait for the installation process to complete.
{% endstep %}
{% endstepper %}

The MSI now installs by default on any kind of Windows device, be it a laptop, a desktop, or a server.

For a comprehensive list of available options for Nexthink Collector, see the [Collector MSI Parameters reference](/platform/configuring_nexthink/bringing-data-into-your-nexthink-instance/deploying-nexthink-in-non-vdi-environment/installing-collector/windows-collector-references/collector-msi-parameters-reference-table.md).

See also the [Windows Installer (msiexec.exe) command-line options Reference](http://msdn.microsoft.com/en-us/library/aa367988.aspx) documentation.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nexthink.com/platform/configuring_nexthink/bringing-data-into-your-nexthink-instance/deploying-nexthink-in-non-vdi-environment/installing-collector/installing-collector-on-windows/installing-collector-on-device-tp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
