---
title: Uninstalling AgentZ
slug: zixi-broadcaster-v18/uninstalling-agentz
docTags: 
createdAt: 2024-12-24T15:55:18.487Z
---

**It is vital to uninstall AgentZ if you are uninstalling and /or migrating a Zixi Broadcaster to a new machine**. It is necessary to ensure that the original AgentZ software does not continue to report, while simultaneously preventing an AgentZ on the new Broadcaster from connecting and correctly reporting to ZEN Master.

### To uninstall AgentZ:

::::WorkflowBlock
:::WorkflowBlockItem
As a Root user, run the following command to stop the service:

```bash
systemctl stop agentz.service
```
:::

:::WorkflowBlockItem
Run the following commands:

```bash
systemctl disable agentz.service
rm /lib/systemd/system/agentz.service
systemctl daemon-reload
systemctl reset-failed
```
:::
::::

### To confirm the AgentZ is no longer reporting

::::WorkflowBlock
:::WorkflowBlockItem
From the Zen Master User Interface, go to the relevant Broadcaster details screen.
:::

:::WorkflowBlockItem
In the AgentZ status, make sure the status is: ‘Not Reporting’.

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/fD3ExqKgXVp0Q_jiufQOU_image.png" size="82" width="940" height="182" position="center" showCaption="false"}
:::
::::

Agent Z is now uninstalled. Any further Broadcaster migration work can be completed with the knowledge that the correct AgentZ is connecting to ZEN Master

