# How to create hostcustomproperties.conf file properly?

**URL:** <https://community.dynatrace.com/t/how-to-create-hostcustomproperties-conf-file-properly/18786>\
**Category:** Open Q&A\
**Tags:** tagging\
**Created:** [March 17, 2020, 11:23am UTC](https://community.dynatrace.com/t/how-to-create-hostcustomproperties-conf-file-properly/18786 "2020-03-17T11:23:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![emanuele\_longo](https://avatars.discourse-cdn.com/v4/letter/e/5f9b8f/32.png) [@emanuele\_longo](https://community.dynatrace.com/u/emanuele_longo)\
**Post date:** [March 17, 2020, 11:23am UTC](https://community.dynatrace.com/t/how-to-create-hostcustomproperties-conf-file-properly/18786/1 "2020-03-17T11:23:06Z")

</div>

Hello guys,

I tried to create hostcustomproperties.conf in order to define metadata for my systems monitored without success.

I followed the guide: [Define tags and metadata for hosts — Dynatrace Docs](https://www.dynatrace.com/support/help/how-to-use-dynatrace/hosts/configuration/define-tags-and-metadata-for-hosts/)

AppName=easyTravel

Environment=Dev

Organization=D1P

[Owner=john.doe@dynatrace.com](mailto:Owner=john.doe@dynatrace.com)

Support=[Dynatrace Customer Success and Support](https://www.dynatrace.com/support)

I also restarted the dynatrace agent service but on DynatraceManaged I cannot see the metadata I previously added.

Please can anyone help me?

Regards

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [March 17, 2020, 12:01pm UTC](https://community.dynatrace.com/t/how-to-create-hostcustomproperties-conf-file-properly/18786/2 "2020-03-17T12:01:05Z")

</div>

3 questions:

1. Is the file encoded in UTF-8?

2. Are you sure you have placed the file in correct directory and it has proper permissions?

3. Have you checked agent logs?

---

<div class="post-metadata">

**Author:** ![emanuele\_longo](https://avatars.discourse-cdn.com/v4/letter/e/5f9b8f/32.png) [@emanuele\_longo](https://community.dynatrace.com/u/emanuele_longo)\
**Post date:** [March 17, 2020, 12:16pm UTC](https://community.dynatrace.com/t/how-to-create-hostcustomproperties-conf-file-properly/18786/3 "2020-03-17T12:16:56Z")

</div>

Hello Radoslaw,

thanks for your suggestion.

I resolved my issue.

The problem is due to %PROGRAMDATA% (I thought was C:\Program Files (x86)\dynatrace\oneagent\agent\conf) instead it is C:\ProgramData\dynatrace\oneagent\agent\config

Thanks a lot

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [March 17, 2020, 12:24pm UTC](https://community.dynatrace.com/t/how-to-create-hostcustomproperties-conf-file-properly/18786/4 "2020-03-17T12:24:57Z")

</div>

your welcome, thanks for sharing details
