# Not Able To Install Elastic Agent Onto Windows 10

**URL:** <https://discuss.elastic.co/t/not-able-to-install-elastic-agent-onto-windows-10/332971>\
**Category:** Elastic Agent\
**Created:** [May 9, 2023, 4:10pm UTC](https://discuss.elastic.co/t/not-able-to-install-elastic-agent-onto-windows-10/332971 "2023-05-09T16:10:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mx09](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mx09/32/120814_2.png) [@mx09](https://discuss.elastic.co/u/mx09)\
**Post date:** [May 9, 2023, 4:10pm UTC](https://discuss.elastic.co/t/not-able-to-install-elastic-agent-onto-windows-10/332971/1 "2023-05-09T16:10:37Z")

</div>

`Error: unable to perform install command, not executed with Administrator permissions`

I've tried to add an Agent onto what will be my "Victim Machine" I'm doing this with the Kali Purple instance in a virtual environment. I manged to install the fleet to my Kali Purple just fine. It just spits out that error message everytime I try do the same on windows.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 9, 2023, 4:27pm UTC](https://discuss.elastic.co/t/not-able-to-install-elastic-agent-onto-windows-10/332971/2 "2023-05-09T16:27:40Z")

</div>

Welcome!

Please don't post images of text as they are hard to read, may not display correctly for everyone, and are not searchable.

Instead, paste the text and format it with `</>` icon or pairs of triple backticks (```), and check the preview window to make sure it's properly formatted before posting it. This makes it more likely that your question will receive a useful answer.

It would be great if you could update your post to solve this.

---

<div class="post-metadata">

**Author:** ![mx09](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mx09/32/120814_2.png) [@mx09](https://discuss.elastic.co/u/mx09)\
**Post date:** [May 9, 2023, 8:29pm UTC](https://discuss.elastic.co/t/not-able-to-install-elastic-agent-onto-windows-10/332971/3 "2023-05-09T20:29:52Z")

</div>

My apologies, I've now corrected the post 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 6, 2023, 8:30pm UTC](https://discuss.elastic.co/t/not-able-to-install-elastic-agent-onto-windows-10/332971/4 "2023-06-06T20:30:21Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
