You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
21-02-2025:
Setting up the environment. Getting up to date with the status of the Agent in Windows OS.
24-02-2025:
Trying to devise a strategy for the implementation of the Restart command.
Ran into an issue with the configuration_parser which is not working with the default configuration file (and so the Windows agent won´t run as a service). There is an extra "/" at the beginning of the default path.
Implementation of the Restart command in Windows doesn´t seem as straightforward as in other platforms. Windows SCM does not have a restart command and so the service can´t restart itself so easily. Looking for a solution.
25-02-2025:
Implemented restart command support for both the agent running in foreground and as a service. In the case of the service we opted for a Powershell command to restart the service. In the case of the agent running in foreground used a call to cmd with a delay to allow the running agent to close. Output is lost after restart same as what happens in linux. Will put PR ready for review.
26-02-2025:
Did some refactoring. Addressed issues that came up in the review. Changes merged.
Parent issue:
Description
We need to develop a Minimum Viable Product (MVP) that enables the Wazuh agent to support a command for self-restart for Windows.
Functional requirements
Non-functional requirements
Implementation restrictions
Plan
The text was updated successfully, but these errors were encountered: