**Kibana Build details:** ``` VERSION: 8.14.0 BC2 BUILD: 73626 COMMIT: bcf6960778ae270d0894a8aab07f10197ee9b97f ``` **Preconditions:** 1. 8.14.0-BC2 Kibana cloud environment should be available. 2. Agent should be installed with unprivileged flag. **Steps to reproduce:** 1. Add Windows integration to the agent policy. 2. Observe under Agents tab Windows agent gets unhealthy. 3. Observe `windows.perfmon` dataset is not generated too. **Expected Result:** Windows Agent should remain healthy on adding Windows Integration when installed with `--unprivileged` flag, **What's working fine:** - Windows Agent remains healthy on adding Windows Integration when installed without `--unprivileged` flag, **Diagnostics:** [elastic-agent-diagnostics-2024-05-02T09-00-03Z-00.zip](https://github.com/elastic/elastic-agent/files/15186399/elastic-agent-diagnostics-2024-05-02T09-00-03Z-00.zip) **Screen Recording:** https://github.com/elastic/elastic-agent/assets/77374876/b3abbea9-5d0f-4e86-9e1c-2314c58611f6 
Kibana Build details:
Preconditions:
Steps to reproduce:
windows.perfmondataset is not generated too.Expected Result:
Windows Agent should remain healthy on adding Windows Integration when installed with
--unprivilegedflag,What's working fine:
--unprivilegedflag,Diagnostics:
elastic-agent-diagnostics-2024-05-02T09-00-03Z-00.zip
Screen Recording:
Agents.-.Fleet.-.Elastic.-.Google.Chrome.2024-05-02.14-28-45.mp4