# Oneagent install failed on Windows

**URL:** <https://community.dynatrace.com/t/oneagent-install-failed-on-windows/18634>\
**Category:** Open Q&A\
**Tags:** installation, oneagent\
**Created:** [March 2, 2020, 9:04am UTC](https://community.dynatrace.com/t/oneagent-install-failed-on-windows/18634 "2020-03-02T09:04:49Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shirai](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/shirai/32/27711_2.png) [@Shirai](https://community.dynatrace.com/u/Shirai)\
**Post date:** [March 2, 2020, 9:04am UTC](https://community.dynatrace.com/t/oneagent-install-failed-on-windows/18634/1 "2020-03-02T09:04:49Z")

</div>

Our customer tried to deploy Oneagent in a Windows environment, but received an error message similar to the attachment. I want to know the cause of the error and how to deal with it.

 ![23860-1583139805009.png](https://global.discourse-cdn.com/dynatrace/original/3X/6/4/64fb5deb47c1abe4cdba60c53cf1812f98a26cd8.png)

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [March 2, 2020, 9:13am UTC](https://community.dynatrace.com/t/oneagent-install-failed-on-windows/18634/2 "2020-03-02T09:13:39Z")

</div>

The best way would be to investigate log files of the installation first. On Windows, they are located in c:\ProgramData\dynatrace\Oneagent\log

Are any security hardening tools used on the hosts where the installation failed?

---

<div class="post-metadata">

**Author:** ![Shirai](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/shirai/32/27711_2.png) [@Shirai](https://community.dynatrace.com/u/Shirai)\
**Post date:** [March 3, 2020, 8:25am UTC](https://community.dynatrace.com/t/oneagent-install-failed-on-windows/18634/3 "2020-03-03T08:25:37Z")

</div>

Thank you for your comment.

No security handling tools are used.

Log obtained. Should further research create a ticket?

---

<div class="post-metadata">

**Author:** ![HMaddipati](https://avatars.discourse-cdn.com/v4/letter/h/7c8e57/32.png) [@HMaddipati](https://community.dynatrace.com/u/HMaddipati)\
**Post date:** [March 5, 2020, 11:59am UTC](https://community.dynatrace.com/t/oneagent-install-failed-on-windows/18634/4 "2020-03-05T11:59:56Z")

</div>

Have you got solution for the above error?

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [March 5, 2020, 1:01pm UTC](https://community.dynatrace.com/t/oneagent-install-failed-on-windows/18634/5 "2020-03-05T13:01:25Z")

</div>

I have question to you, did you download binary from Dynatrace GUI or somebody downloaded it directly from serwer via SFTP? In second aproach binary will not have configuration so agent will not be able to connect to dynatrace. I’ve had such case before with one of our clients.

Sebastian

---

<div class="post-metadata">

**Author:** ![Shirai](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/shirai/32/27711_2.png) [@Shirai](https://community.dynatrace.com/u/Shirai)\
**Post date:** [March 6, 2020, 12:29am UTC](https://community.dynatrace.com/t/oneagent-install-failed-on-windows/18634/6 "2020-03-06T00:29:21Z")

</div>

Thank you for your comment.

Our customers downloaded from the Dynatrace GUI.

---

<div class="post-metadata">

**Author:** ![Shirai](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/shirai/32/27711_2.png) [@Shirai](https://community.dynatrace.com/u/Shirai)\
**Post date:** [March 6, 2020, 12:32am UTC](https://community.dynatrace.com/t/oneagent-install-failed-on-windows/18634/7 "2020-03-06T00:32:21Z")

</div>

We created a support ticket as we don’t have a solution. Thank you.

---

<div class="post-metadata">

**Author:** ![Shirai](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/shirai/32/27711_2.png) [@Shirai](https://community.dynatrace.com/u/Shirai)\
**Post date:** [April 1, 2020, 1:25am UTC](https://community.dynatrace.com/t/oneagent-install-failed-on-windows/18634/8 "2020-04-01T01:25:12Z")

</div>

After running the installer, setting the tenant with “Oneagentctl” solved the problem.

> **[OneAgent configuration via command-line interface](https://docs.dynatrace.com/docs/ingest-from/dynatrace-oneagent/oneagent-configuration-via-command-line-interface)**
>
> Learn how to perform some OneAgent configuration tasks without the need to reinstall OneAgent.
