You can also use the command line to uninstall the xAgent software silently (without any user prompting) by inputting the password as a property to msiexec. If this property is missing or if the xAgent uninstall password is incorrect, the uninstall process will fail.
Use the msiexec /x and /qn commands to uninstall the password-protected xAgent software in silent mode. Specify the name of the xAgent installation .msi executable file on the host endpoint and appending the /x command with UNINSTALL_PASSWORD=<password>.