---
description: >-
  If Netwrix Change Tracker events reports contain ErrorEvent entries labeled
  "Corrupt", multiple conflicting agent configuration files may be present on
  affected devices. This article explains how to identify affected agents and
  perform an agent reset to resolve the issue.
keywords:
  - Netwrix Change Tracker
  - ErrorEvent
  - Corrupt
  - agent reset
  - gen7agent
  - rolling-log
  - Hubdetails.xml
  - Config-*.xml
  - AgentID
products:
  - change-tracker
sidebar_label: Corrupt ErrorEvent in Event Reports
tags:
  - kb
  - audit-and-logging
title: "Corrupt ErrorEvent in Event Reports"
knowledge_article_id: kA0Qk0000000ahpKAA
---

# Corrupt ErrorEvent in Event Reports

## Symptom

- The events report in Netwrix Change Tracker contains one or more `ErrorEvent` events. Their description states `Corrupt`.
- Agent logs (see [Rolling-Log File Location](/docs/changetracker/install/agent/rollinglogfile)) contain the following line:
  - **Windows:** `C:\ProgramData\NNT\gen7agent.app.netcore\rolling-log.txt`
  - **Linux:** `/var/nnt/gen7agent.app.netcore/rolling-log.txt`

```text
[timestamp] ERROR AgentTaskRunner - task execution failed for task %#% - %task_name% [timestamp]
```

## Cause

The agent directory on affected devices contains multiple conflicting `Config-*.xml` files. These files cause conflicts in device agent events.

## Resolution

> **NOTE:** You can establish the affected agents via the events report—review the **DeviceName** and **AgentID** column values.

Perform an agent reset to reconfigure affected agents:

### Windows

1. Stop the Netwrix Change Tracker Agent Service.

2. Navigate to the agent directory (see [Rolling-Log File Location](/docs/changetracker/install/agent/rollinglogfile)): `C:\ProgramData\NNT\gen7agent.app.netcore\`

3. Right-click the `Hubdetails.xml` file and select **Edit**.

4. Replace the `<E1>` tag pair with the `<Password>` tag pair. Replace the contents with the current agent account password, as defined on your Netwrix Change Tracker Hub Server. Save the changes.

5. Start the Agent Service.

### Linux

1. Stop the Netwrix Change Tracker Agent Service:

```bash
service nntgen7agentcore stop
```

2. Navigate to the agent directory (see [Rolling-Log File Location](/docs/changetracker/install/agent/rollinglogfile)): `/var/nnt/gen7agent.app.netcore/`

3. Edit the `Hubdetails.xml` file.

4. Replace the `<E1>` tag pair with the `<Password>` tag pair. Replace the contents with the current agent account password, as defined on your Netwrix Change Tracker Hub Server. Save the changes.

5. Start the Agent Service:

```bash
service nntgen7agentcore start
```
