<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Python Extension 2.0 - Using LocalSystem user in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Python-Extension-2-0-Using-LocalSystem-user/m-p/301065#M7313</link>
    <description>&lt;P&gt;Good to hear. The Citrix one is constantly kept up to date by David Lopes, so it is probably the latest version we’ve got.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jun 2026 19:34:09 GMT</pubDate>
    <dc:creator>Mike_L</dc:creator>
    <dc:date>2026-06-22T19:34:09Z</dc:date>
    <item>
      <title>Python Extension 2.0 - Using LocalSystem user</title>
      <link>https://community.dynatrace.com/t5/Extensions/Python-Extension-2-0-Using-LocalSystem-user/m-p/245452#M4419</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;this is pretty self explanatory, we are trying to build extensions that can do things with admin rights (like running certain powershell scripts for example) but we noticed that the python environment run on the LocalService account which doesn't have admin rights. So our question is this, is there a way to deploy the python environment so that it runs on LocalSystem instead of LocalService?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 07:12:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Python-Extension-2-0-Using-LocalSystem-user/m-p/245452#M4419</guid>
      <dc:creator>Benji_Dynatrace</dc:creator>
      <dc:date>2024-05-14T07:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Python Extension 2.0 - Using LocalSystem user</title>
      <link>https://community.dynatrace.com/t5/Extensions/Python-Extension-2-0-Using-LocalSystem-user/m-p/245457#M4420</link>
      <description>&lt;P&gt;There is not. The way we work around this is by asking for a username and password and running the commands as that user.&lt;/P&gt;
&lt;P&gt;Please raise a product idea if that is insufficient for you.&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 20:59:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Python-Extension-2-0-Using-LocalSystem-user/m-p/245457#M4420</guid>
      <dc:creator>Mike_L</dc:creator>
      <dc:date>2024-05-13T20:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Python Extension 2.0 - Using LocalSystem user</title>
      <link>https://community.dynatrace.com/t5/Extensions/Python-Extension-2-0-Using-LocalSystem-user/m-p/246433#M4468</link>
      <description>&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;are there any examples on how to implement the execution using given usernames and passwords, we haven't been able to replicate it on our end.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 20:15:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Python-Extension-2-0-Using-LocalSystem-user/m-p/246433#M4468</guid>
      <dc:creator>Benji_Dynatrace</dc:creator>
      <dc:date>2024-05-23T20:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: Python Extension 2.0 - Using LocalSystem user</title>
      <link>https://community.dynatrace.com/t5/Extensions/Python-Extension-2-0-Using-LocalSystem-user/m-p/246435#M4469</link>
      <description>&lt;P&gt;You can grab either the extended activedirectory extension or the Citrix extension from the hub. They have implemented that functionality.&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 21:49:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Python-Extension-2-0-Using-LocalSystem-user/m-p/246435#M4469</guid>
      <dc:creator>Mike_L</dc:creator>
      <dc:date>2024-05-23T21:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Python Extension 2.0 - Using LocalSystem user</title>
      <link>https://community.dynatrace.com/t5/Extensions/Python-Extension-2-0-Using-LocalSystem-user/m-p/249116#M4676</link>
      <description>&lt;P&gt;Hi Michael,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please elaborate on some of the thoughts behind this decision? Every other Oneagent process is running as NT AUTHORITY\SYSTEM including the old extension process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are a few extensions where you need to run as SYSTEM such as when querying a database or listing any IIS related properties. This is even visible in the new IIS Extension available through the Hub where App pools and sites is listed with metrics through WMI, but no relationships between each other.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much in advance!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;EDIT:&lt;BR /&gt;Added Product Idea:&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/Product-ideas/Python-Extension-2-0-run-as-NT-AUTHORITY-SYSTEM/idi-p/249130#M45958" target="_blank"&gt;https://community.dynatrace.com/t5/Product-ideas/Python-Extension-2-0-run-as-NT-AUTHORITY-SYSTEM/idi-p/249130#M45958&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 14:35:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Python-Extension-2-0-Using-LocalSystem-user/m-p/249116#M4676</guid>
      <dc:creator>jonhaugen</dc:creator>
      <dc:date>2024-06-25T14:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Python Extension 2.0 - Using LocalSystem user</title>
      <link>https://community.dynatrace.com/t5/Extensions/Python-Extension-2-0-Using-LocalSystem-user/m-p/249140#M4677</link>
      <description>&lt;P&gt;It was a requirement from our security department. As extension framework 2.0 distributes code, it was important that the code does not run as a privileged user. We were looking into a way to opt out of the more secure method, your product idea will help put that onto the radar again.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 15:42:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Python-Extension-2-0-Using-LocalSystem-user/m-p/249140#M4677</guid>
      <dc:creator>Mike_L</dc:creator>
      <dc:date>2024-06-25T15:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Python Extension 2.0 - Using LocalSystem user</title>
      <link>https://community.dynatrace.com/t5/Extensions/Python-Extension-2-0-Using-LocalSystem-user/m-p/301063#M7311</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/11520"&gt;@Mike_L&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Just needed this today, and it worked like a charm!&lt;/P&gt;&lt;P&gt;In the meantime, I checked both the Activedirectory extension and the Citrix extensions, and they are different in the runas code. I opted for the Citrix one, as it seems more recent; can you please confirm if that is the case?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2026 17:03:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Python-Extension-2-0-Using-LocalSystem-user/m-p/301063#M7311</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2026-06-22T17:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Python Extension 2.0 - Using LocalSystem user</title>
      <link>https://community.dynatrace.com/t5/Extensions/Python-Extension-2-0-Using-LocalSystem-user/m-p/301065#M7313</link>
      <description>&lt;P&gt;Good to hear. The Citrix one is constantly kept up to date by David Lopes, so it is probably the latest version we’ve got.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2026 19:34:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Python-Extension-2-0-Using-LocalSystem-user/m-p/301065#M7313</guid>
      <dc:creator>Mike_L</dc:creator>
      <dc:date>2026-06-22T19:34:09Z</dc:date>
    </item>
  </channel>
</rss>

