# Uninstalling OneAgent completely on Windows

**URL:** <https://community.dynatrace.com/t/uninstalling-oneagent-completely-on-windows/21867>\
**Category:** Open Q&A\
**Tags:** oneagent\
**Created:** [September 10, 2019, 6:03am UTC](https://community.dynatrace.com/t/uninstalling-oneagent-completely-on-windows/21867 "2019-09-10T06:03:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![charley\_li](https://avatars.discourse-cdn.com/v4/letter/c/90db22/32.png) [@charley\_li](https://community.dynatrace.com/u/charley_li)\
**Post date:** [September 10, 2019, 6:03am UTC](https://community.dynatrace.com/t/uninstalling-oneagent-completely-on-windows/21867/1 "2019-09-10T06:03:09Z")

</div>

Hello,  
I need to uninstall OneAgent completely on Windows.

I read the documention below and follow the step:

> **[Uninstall Dynatrace OneAgent on Windows](https://docs.dynatrace.com/docs/ingest-from/dynatrace-oneagent/installation-and-operation/windows/operation/uninstall-oneagent-on-windows)**
>
> Learn how you can remove Dynatrace OneAgent from your system.

But when I try to remove log files, I can’t find the path “C:\Program Files (x86)\dynatrace\log”

In other word, It doesn’t have “log” directory in the “C:\Program Files (x86)\dynatrace\” path.

I also check the “C:\Program Files\dynatrace\” but I don’t find it, either.

What can I do for check that I am already uninstall OneAgent completely or not?

Thanks for help!

---

<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:** [September 10, 2019, 6:32am UTC](https://community.dynatrace.com/t/uninstalling-oneagent-completely-on-windows/21867/2 "2019-09-10T06:32:20Z")

</div>

If in you don’t have log directory in dynatrace folder than you have deleted agent properly. Does this dierctory contains any extra content? If you don’t have any other dynatrace product on this server, whole directory is nod needed anymore.

Sebastian

---

<div class="post-metadata">

**Author:** ![charley\_li](https://avatars.discourse-cdn.com/v4/letter/c/90db22/32.png) [@charley\_li](https://community.dynatrace.com/u/charley_li)\
**Post date:** [September 10, 2019, 10:27am UTC](https://community.dynatrace.com/t/uninstalling-oneagent-completely-on-windows/21867/3 "2019-09-10T10:27:02Z")

</div>

#### Thanks for your answer!

I check the dynatrace path and find it only left the single path and three files below:

#### Path: C:\Program Files (x86)\dynatrace\oneagent\agent\bin\1.169.191.20190606-154523\any

 ![21867-removeoneagentwindows.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/a/ba915b9c129412c973b943de99e53523f8eaaaaf.png)

#### So I just need to remove these three files to finish the uninstall steps, right?

---

<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:** [September 10, 2019, 10:55am UTC](https://community.dynatrace.com/t/uninstalling-oneagent-completely-on-windows/21867/4 "2019-09-10T10:55:45Z")

</div>

In my opinion yes.

---

<div class="post-metadata">

**Author:** ![charley\_li](https://avatars.discourse-cdn.com/v4/letter/c/90db22/32.png) [@charley\_li](https://community.dynatrace.com/u/charley_li)\
**Post date:** [September 11, 2019, 1:56am UTC](https://community.dynatrace.com/t/uninstalling-oneagent-completely-on-windows/21867/5 "2019-09-11T01:56:38Z")

</div>

Thanks for your kind help!

---

<div class="post-metadata">

**Author:** ![MAkimov](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@MAkimov](https://community.dynatrace.com/u/MAkimov)\
**Post date:** [September 11, 2019, 7:28am UTC](https://community.dynatrace.com/t/uninstalling-oneagent-completely-on-windows/21867/6 "2019-09-11T07:28:17Z")

</div>

After removal some logs may be located in _%ProgramData%\dynatrace\oneagent\log_
