i am running the uninstall command where the command have to be run but still showing error
PS C:\Program Files\Elastic\Agent> .\elastic-agent.exe uninstall
Error: can only be uninstalled by executing the installed Elastic Agent at: C:\Program Files\Elastic\Agent\elastic-agent.exe
For help, please see our troubleshooting guide at https://www.elastic.co/guide/en/fleet/8.12/fleet-troubleshooting.html
i have also tried the unistall command given on the kibana the command was
C:\"Program Files"\Elastic\Agent\elastic-agent.exe uninstall --uninstall-token 6a332b605df82adf0f4d1b9b96288902
if anyone need additional configuration leave a reply