# Elastic Agent silent install

**URL:** <https://discuss.elastic.co/t/elastic-agent-silent-install/329543>\
**Category:** Elastic Agent\
**Created:** [April 6, 2023, 6:54pm UTC](https://discuss.elastic.co/t/elastic-agent-silent-install/329543 "2023-04-06T18:54:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![poky](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/poky/32/116255_2.png) [@poky](https://discuss.elastic.co/u/poky)\
**Post date:** [April 6, 2023, 6:54pm UTC](https://discuss.elastic.co/t/elastic-agent-silent-install/329543/1 "2023-04-06T18:54:52Z")

</div>

Hi Folks,

I want to distribute the Elastic Agent through Windows SCCM onto 100 Windows Server.  
Therefore, I would like to do a silent install of the elastic Agent on Windows.  
Is there a way to give all the required parameters like Fleetserver URL, Token, etc., automatically to the installer ?

Thanks for your help! 🙂

---

<div class="post-metadata">

**Author:** ![xstaindx81](https://avatars.discourse-cdn.com/v4/letter/x/ac8455/32.png) [@xstaindx81](https://discuss.elastic.co/u/xstaindx81)\
**Post date:** [April 19, 2023, 5:33pm UTC](https://discuss.elastic.co/t/elastic-agent-silent-install/329543/2 "2023-04-19T17:33:40Z")

</div>

i'm in a simlar boat, it'll spit out of the syntax on the commandline.

1. download the agent
2. extract to folder
3. run commandline as admin, elastic-agent install --help

---

<div class="post-metadata">

**Author:** ![IT\_Community\_College](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/it_community_college/32/117689_2.png) [@IT\_Community\_College](https://discuss.elastic.co/u/IT_Community_College)\
**Post date:** [May 15, 2023, 7:47pm UTC](https://discuss.elastic.co/t/elastic-agent-silent-install/329543/3 "2023-05-15T19:47:49Z")

</div>

I was successful using the following:  
elastic-agent.exe install -f --url=URL --enrollment-token=UseYourOwnToken

---

<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 12, 2023, 7:48pm UTC](https://discuss.elastic.co/t/elastic-agent-silent-install/329543/4 "2023-06-12T19:48:37Z")

</div>

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