uninstall wazuh agent windows

2,087 views
Skip to first unread message

FRANCISCO DIEZ BARRANTES

unread,
May 7, 2024, 3:41:19 AM5/7/24
to Wazuh | Mailing List
Hello, how do I uninstall a Wazuh agent from Windows?
Could someone provide me with the command, would it be using powershell?
I did some tests but when the computer restarts it raises the service again
Thanks.!

Stuti Gupta

unread,
May 7, 2024, 3:44:45 AM5/7/24
to Wazuh | Mailing List
Hi team!
Please allow me some time. I'm looking into this query and will update you with an appropriate answer.

Stuti Gupta

unread,
May 7, 2024, 4:23:44 AM5/7/24
to Wazuh | Mailing List
To uninstall the wazuh windows agent completely please run the following commands in cmd as administrative
Uninstall Using the Installation MSI
Run the command (you can run this command at powershell or cmd  as administrative): msiexec /x wazuh-agent-version.msi /q 
To clean up the installation folder, if it still exists use (cmd command  as administrative  ): rd /s /q "C:\Program Files (x86)\ossec-agent"
Running this command will completely remove the Windows agent from your Windows endpoint.
Refer: https://documentation.wazuh.com/current/installation-guide/uninstalling-wazuh/agent.html#uninstalling-a-windows-wazuh-agent

Screenshot_22.png

Hope this helps

Stuti Gupta

unread,
May 9, 2024, 7:59:02 AM5/9/24
to Wazuh | Mailing List
Hi please let me know if this issue is resolved 
Reply all
Reply to author
Forward
0 new messages