---
title: Force an inventory reset from the infrastructure agent
source: https://docs.newrelic.com/docs/infrastructure/infrastructure-troubleshooting/troubleshoot-infrastructure/infra-agent-inventory-reset
---

## Problem [#problem]

The agent is working but some of the metadata or inventory data appears incorrect, and the local caching is preventing correct data to be sent from the infrastructure agent.

## Solution Linux [#solutionlinux]

Stop the Infrastructure Agent

```bash
sudo systemctl stop newrelic-infra
```

Delete temporary files

```bash
sudo rm -rf /var/db/newrelic-infra/data
```

Start the Infrastructure Agent

```bash
sudo systemctl start newrelic-infra
```

## Solution Windows [#solutionwindows]

In an Administrator PowerShell prompt, stop the Infrastructure Agent

```bash
net stop newrelic-infra
```

Delete temporary files

```bash
Remove-Item -Path “C:\ProgramData\New Relic\newrelic-infra\data” -Recurse -Force
```

Start the Infrastructure Agent

```bash
net start newrelic-infra
```

## Cause [#cause]

The agent caches metadata & inventory data locally, to determine what delta to send.
In some situations, it might be desired to reset this local cache / state, so that all data is sent accross.
