Wazuh Agent – Unable to Change Service Name

57 views
Skip to first unread message

Sumit Kumawat

unread,
Jun 1, 2025, 9:29:53 AMJun 1
to Wazuh | Mailing List

I’ve followed the guide to rebrand the Wazuh agent using the instructions here:
Rebranding Wazuh Agent - From Sources

Everything worked fine regarding binary naming and branding. However, I’m unable to change the service name — it still shows up as wazuh-agent in the system service manager (e.g., systemctl or Windows Services).

I've attached some screenshots below to illustrate the issue.


Screenshot 2025-06-01 185348.pngScreenshot 2025-06-01 185416.png

J. Rome

unread,
Jun 1, 2025, 10:35:29 AMJun 1
to Wazuh | Mailing List
Hello Sumit,

If you perform a search on the Wazuh codebase for "WazuhSvc" you'll find it in these files:

src/win32/InstallerScripts.vbs
src/win32/setup-win.c
src/win32/wazuh-installer.nsi
src/win32/wazuh-installer.wxs
src/win32/win_service.c

I'd recommend to change all occurances before re compiling and rebuilding the Wazuh agent msi package.

Hope this helps.

Sumit Kumawat

unread,
Sep 24, 2025, 7:20:51 AM (4 days ago) Sep 24
to Wazuh | Mailing List
Thanks for the info. :)
Reply all
Reply to author
Forward
0 new messages