Hi!
- The service name is used internally by Windows (and by commands like the one you mention from NET START <service>).
- The display name is what appears in the “Services” administration console.
You can easily change just the display name (which can be confused with the service name) using sc config. But changing the actual service name (the string you use in net start <name>) is more complicated and may break scripts or updates that depend on that name.
When updating the agent, the installer may assume that the service is called wazuh. Changing the name could break future updates or require manual work each time.
Any local or remote scripts attempting to query or start/stop “wazuh” will fail once the service name is changed. You will need to locate and update all references, so this is not recommended.
You can change the display name to something else (for example, “My Custom Wazuh Agent”) if you just need a friendlier name in the Windows services console. But changing the actual name of the service could cause maintenance headaches in the future.
For this you can use sc config “wazuh” DisplayName= “My Custom Wazuh Agent” to change just the name.
I hope you find it helpful!
Best regards!