I wasn't able to test this on Windows 10, but I did test it on Windows 11, and it's working as expected with the configuration we set up on the agent side.
Followed the steps below.
If the issue persists, let me know, and I'll try to replicate it on Windows 10. I'm currently using a Mac and can't deploy a Windows 10 Vagrant box since there isn't one available for ARM architecture. Just give me an update, and if it's still not working, I'll find a way to test it on Windows 10.
Let me know the update on this.
Make sure to save the file from the GUI after adding this Wazuh config to the agent.conf file, which will trigger an agent restart. Also, ensure the agent has been added to the agent group.
I suggested checking on the agent side because this issue seems to be specific to Windows 10 Pro. In my testing, it worked fine, so if you can verify things from the agent side as well, it will help us understand exactly where the issue might be.
Also, when you configure and save changes in the agent.conf file, the agent restarts automatically. However, we can’t view the agent’s local logs from the manager, so checking the logs directly on the agent will give us better visibility for further troubleshooting.
If there are no files in that location, could you please confirm whether the Wazuh agent is installed on that host? Those files will only be created after a successful agent installation.
Please press Win + R, type services.msc, and check for the Wazuh service.
See if it is listed and make sure its status is Running.
If the service is not running or not present, you may need to install the agent by following this guide:
https://documentation.wazuh.com/current/installation-guide/wazuh-agent/wazuh-agent-package-windows.html
Also, please try running the following command manually in Command Prompt and share the result so we can investigate further:
powershell.exe C:\windows_hardening.bat
Let me know how it goes.