Uninstall Agent and Remove Agent Data
Uninstall Agent removes the agent software from the selected computers. Remove Agent Data clears what the database records about the agents on the selected computers and leaves the computers alone. Both are in the Manage group of the action strip.
Uninstall Agent
Menu path for Uninstall Agent
Endpoints > Endpoint List > select computers > Manage > Uninstall Agent.
The dialog
The dialog is titled Uninstall Agent.
| Field | What it does | Default |
|---|---|---|
| Computer Names, IP Addresses or IP Ranges | The computers to remove the agent from | The selected computers |
| Credentials | The credential pack used when the computer is reached agentless | Use credential matching and IP mappings |
The buttons are OK, Cancel, Manage IP Ranges and Locations > and Credentials ....

Effect of Uninstall Agent
The script looks up xAssets Discovery Agent in the computer's installed programs, in both the 64-bit and 32-bit lists. It runs that program's uninstall command silently. For an MSI the command becomes msiexec /qn /X {product code}. The agent stops and is removed. The computer does not restart.
If the program is not installed, the run fails with "Uninstall string not found for xAssets Discovery Agent".
After you click OK
The run is queued as a job. Follow it on Activity > Jobs. Once the agent has gone, the Agent column shows Offline and then Offline n days. The computer keeps its history, and it does not return to Not Enrolled.
Undo
The run cannot be undone from Activity. It does not record the installation code the agent enrolled with. To put the agent back, use Manage > Install Agent.
Remove Agent Data
Menu path for Remove Agent Data
Endpoints > Endpoint List > select computers > Manage > Remove Agent Data.
There is no dialog. A confirmation asks "Clear the agent data held for the selected computers?". Below the question it says "The agent itself is not touched."

Effect of Remove Agent Data
It runs at once on the app server and changes two things for each selected computer name:
- It clears the discovery agent field on the asset records of that name.
- It deletes the command signing key held for that computer on the listening collection server.
Nothing is sent to the computer. The Agent column keeps its value.
Without a signing key, no action can be signed for the computer. Actions to it fail until its agent enrolls again and presents a new key.
When to use it
- An agent was removed by hand or by another tool, and the record still shows it.
- A computer was rebuilt and kept its name, and the new build needs a new enrollment.
Remove Agent Data needs the administrator right on assets.
Choosing an option
| You want to | Use |
|---|---|
| Take the agent off a computer you still manage | Uninstall Agent |
| Take a computer out of service | Manage > Retire, with the agent removal option. See Retiring Computers |
| Clear the record after the agent went by other means | Remove Agent Data |
| Move a computer from another xAssets database to this one | Uninstall xAssets Discovery Agent on the computer, then Manage > Install Agent. See A computer that already has the agent |