--- title: "Remove a user or a user group from a system or branch" slug: "remove-a-user-or-a-user-group-from-a-system-or-branch" updated: 2026-09-12T18:55:48Z published: 2026-09-12T18:55:48Z canonical: "docs.trellix.com/remove-a-user-or-a-user-group-from-a-system-or-branch" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Remove a user or a user group from a system or branch Use the **`eeadmin.deassignUser`** to remove a user or a user group from a system or branch in ePO - On-prem. eeadmin.deassignUser command | Command | Syntax | Description | | --- | --- | --- | | eeadmin.deassignUser | **`eeadmin.deassignUser`****`systemNode=<>`** **`nodeId=<>`** **`dn=<>`** **`dnType=<>`** | Specify **`systemNode='True'`** to indicate that **`nodeId=computer Id`** refers to an ePO - On-prem System, or **`systemNode='False'`** to indicate that **`nodeId=branch Id`** refers to an ePO - On-prem Branch. Pass the DN of the user or user group to remove accordingly. Specify whether the DN refers to a User, User Group, or Organizational Unit (OU) (1=User, 2=User Group,3=OU). This is required to make sure that you do not have to run an overloaded LDAP query to process this command. | :