# Can an agent plugin read from Windows registry

**URL:** <https://community.dynatrace.com/t/can-an-agent-plugin-read-from-windows-registry/18628>\
**Category:** Extensions\
**Tags:** windows, extensions\
**Created:** [February 29, 2020, 9:38am UTC](https://community.dynatrace.com/t/can-an-agent-plugin-read-from-windows-registry/18628 "2020-02-29T09:38:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [February 29, 2020, 9:38am UTC](https://community.dynatrace.com/t/can-an-agent-plugin-read-from-windows-registry/18628/1 "2020-02-29T09:38:11Z")

</div>

Hello,

I assume the answer in no, but:

Can an agent plugin read from windows registry?

KR Henk

---

<div class="post-metadata">

**Author:** ![sia\_h](https://avatars.discourse-cdn.com/v4/letter/s/f14d63/32.png) [@sia\_h](https://community.dynatrace.com/u/sia_h)\
**Post date:** [February 29, 2020, 3:14pm UTC](https://community.dynatrace.com/t/can-an-agent-plugin-read-from-windows-registry/18628/2 "2020-02-29T15:14:04Z")

</div>

Hi Henk,

Although I haven’t tried this myself; technically, if it’s possible with Python, it’s possible with the OneAgent plugin.

A quick internet search shows me that Python indeed has libraries to read Windows registry, so I would say it’s technically possible. Although, you must ensure that the user that is running the OneAgent plugin can access the Windows registry (by default this is dtuser).

Sia
