# 2 agents on a host with dual boot?

**URL:** https://discuss.elastic.co/t/2-agents-on-a-host-with-dual-boot/380149
**Category:** Elastic Agent
**Created:** [July 15, 2025, 9:55pm UTC](https://discuss.elastic.co/t/2-agents-on-a-host-with-dual-boot/380149 "2025-07-15T21:55:16Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![vector\_vulture](https://avatars.discourse-cdn.com/v4/letter/v/8edcca/32.png) [@vector\_vulture](https://discuss.elastic.co/u/vector_vulture)
#### Post date: [July 15, 2025, 9:55pm UTC](https://discuss.elastic.co/t/2-agents-on-a-host-with-dual-boot/380149/1 "2025-07-15T21:55:16Z")

</div>

I read that you cannot run 2 elastic agents on 1 system, but I am assuming this is referring to 2 agent's on a single running operating system..

What about the situation where a desktop PC has 2 drives, one Windows and one Linux? The PC will obviously boot only 1 OS at the same time, and I can run the agent as root/Admin on both operating systems. Both would only run when the other does not and look at different files. Would that work, since only 1 is running at a time? I suppose both would be different policies, how would that manifest itself in my fleet server agent overview?

Kind regards

---

<div class="post-metadata">

### Author: ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)
#### Post date: [July 15, 2025, 11:23pm UTC](https://discuss.elastic.co/t/2-agents-on-a-host-with-dual-boot/380149/2 "2025-07-15T23:23:30Z")

</div>

This works, these are 2 different systems independent from each other.

---

<div class="post-metadata">

### Author: ![vector\_vulture](https://avatars.discourse-cdn.com/v4/letter/v/8edcca/32.png) [@vector\_vulture](https://discuss.elastic.co/u/vector_vulture)
#### Post date: [July 18, 2025, 9:07pm UTC](https://discuss.elastic.co/t/2-agents-on-a-host-with-dual-boot/380149/3 "2025-07-18T21:07:42Z")

</div>

Thanks for confirming @leandrojmp

Do you know how it will it manifest itself in my fleet overview if both operating systems have an identical host name?

---

<div class="post-metadata">

### Author: ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)
#### Post date: [July 18, 2025, 9:55pm UTC](https://discuss.elastic.co/t/2-agents-on-a-host-with-dual-boot/380149/4 "2025-07-18T21:55:32Z")

</div>

Each installation will have a unique id, if the hostname is the same you will see the hostname twice in the list of agents, but one online and the other offline.
