# Installation and deployment of the eAgent service

The agent service is a core component of the system that monitors devices, collects data about their status, and enables remote management. This article provides detailed instructions for downloading, installing, and configuring the agent service on Windows computers. You will also learn how to properly remove the agent if necessary. This guide is particularly helpful for new users installing the agent on their devices for the first time.

***

## **Downloading the service**

<div align="center" data-full-width="false"><img src="/files/b7853d3c79d03b925a1bd98cf7543e6999ff3280" alt="" width="375"></div>

1. Log in to the system and go to the **Computers**.
2. Select **+ Add computer**.
3. Select installation.
4. Click the appropriate button **Download agent**:

   * **Windows**: \*.exe file.

   <figure><img src="/files/8ee7a234c7c99272d21c21ccb86fde200574fa37" alt="" width="375"><figcaption></figcaption></figure>

***

## **Agent installation on Windows**

### Installation from .exe file

* Download the installer **.exe** from the **+ Add computer**.&#x20;

{% hint style="info" %}
Credentials **are not required for installation - they are optional** and needed only in specific cases. By default we download the installer without credentials.

You may provide user credentials if the agent should run with specific privileges, for example when the installer is handed to a user without administrative rights and they are to perform the installation themselves. In such a case an installer is generated with encrypted credentials that are used exclusively for installation. This eliminates the need to manually elevate privileges or to personally install the agent for that user.

![](/files/2591dd8337b01f10e7144ff3972cef9e528ddcd8)
{% endhint %}

* Run the installer.
* After installation completes the service automatically establishes communication with the server and will begin collecting data.&#x20;

{% hint style="info" %}
The connection is made using an allowed, standard outbound port. With the default Windows firewall configuration no additional actions or firewall rules are required. If, however, custom restrictions or proprietary firewall rules have been implemented in the environment, it is worth verifying that the agent's outbound traffic is not being blocked. In cases of communication issues this is most often the cause.
{% endhint %}

{% hint style="danger" %}
An installation problem may result from incorrect credentials. The installer requires **a user with administrator privileges on the computer**, where the agent is being installed. It is worth checking that everything has been entered in the correct format:

* If this is a domain account, **you must provide the domain**.
* If this is a local account, the format should look like this: **.\username** or **computer\_name\username**.
  {% endhint %}

***

## **Confirmation of agent deployment**

After installation completes:

* Device data will be transmitted to the system and visible on the main dashboard.
* Administrators can monitor devices, configure alerts, and assign devices to users.

<figure><img src="/files/a708b6d9859ad1d71e2735ce7bf908b973820296" alt="" width="375"><figcaption></figcaption></figure>

***

## **Uninstalling the agent service**

### Windows

1. In the **+ Add computer** tab select **Uninstall**.
2. The system will generate a script that must be executed on the computer.
3. Follow the instructions.
4. After running the script the agent will be uninstalled from the system and its data will stop being transmitted to the system.

<figure><img src="/files/1d72dd3e7d7677c41eb45068644c4e9bce1beb7c" alt="" width="375"><figcaption></figcaption></figure>

#### **Uninstalling eAgent**

{% tabs %}
{% tab title="Script" %}
To uninstall eAgent you must:

1. Run CMD as administrator
2. Execute the command:

```
msiexec.exe /x {8725779B-83EE-4B60-B5E1-247A05A17777}
```

{% endtab %}

{% tab title=".bat file" %}
If other methods fail you should create a .bat file with the following content:

```
taskkill /f /im eAgentInternal.exe
taskkill /f /im eAgentPm.exe
net stop agent2
msiexec.exe /q /x {8725779B-83EE-4B60-B5E1-247A05A17775}
msiexec.exe /q /x {8725779B-83EE-4B60-B5E1-247A05A17776}
msiexec.exe /q /x {8725779B-83EE-4B60-B5E1-247A05A17777}
sc delete agent2
RD /S /Q "C:\Program Files (x86)\Btc"
```

The file must be executed as administrator.
{% endtab %}
{% endtabs %}

***

{% hint style="info" %}
In case of problems with agent installation or operation, eAuditor provides:

* [**Instructional videos**](/eacloud-docs-en/system/video-tutorials.md)
* [**Technical support**](/eacloud-docs-en/getting-started/where-to-find-technical-support.md)
  {% endhint %}

***


---

# 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://eaclouddoc.eauditor.eu/eacloud-docs-en/getting-started/quickstart/installation-and-deployment-of-the-eagent-service.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.
