<?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 GP example script running as admin in GlobalProtect Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/globalprotect-discussions/gp-example-script-running-as-admin/m-p/423696#M1583</link>
    <description>&lt;P&gt;Hi, according to the doc, to run a pre (or post) vpn script can be run as admin using the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;context admin | user&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I haven't&amp;nbsp;been able to get this working, so I'm guessing I have the variables all wrong. Can someone give me an example of how this would be used in a script?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example my current registry entry works as local user like below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;"COMMAND"="%appdata%\\PA\\Pre_Script.bat"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I add this admin variable to make it run as admin?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nathan&lt;/P&gt;</description>
    <pubDate>Mon, 02 Aug 2021 03:25:54 GMT</pubDate>
    <dc:creator>Dekkar</dc:creator>
    <dc:date>2021-08-02T03:25:54Z</dc:date>
    <item>
      <title>GP example script running as admin</title>
      <link>https://live.paloaltonetworks.com/t5/globalprotect-discussions/gp-example-script-running-as-admin/m-p/423696#M1583</link>
      <description>&lt;P&gt;Hi, according to the doc, to run a pre (or post) vpn script can be run as admin using the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;context admin | user&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I haven't&amp;nbsp;been able to get this working, so I'm guessing I have the variables all wrong. Can someone give me an example of how this would be used in a script?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example my current registry entry works as local user like below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;"COMMAND"="%appdata%\\PA\\Pre_Script.bat"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I add this admin variable to make it run as admin?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nathan&lt;/P&gt;</description>
      <pubDate>Mon, 02 Aug 2021 03:25:54 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/globalprotect-discussions/gp-example-script-running-as-admin/m-p/423696#M1583</guid>
      <dc:creator>Dekkar</dc:creator>
      <dc:date>2021-08-02T03:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: GP example script running as admin</title>
      <link>https://live.paloaltonetworks.com/t5/globalprotect-discussions/gp-example-script-running-as-admin/m-p/562291#M4532</link>
      <description>&lt;P&gt;The one post I find on the subject and there's no answer &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp; Would love to know if anyone has gotten this to work under the admin/system context.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 16:30:28 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/globalprotect-discussions/gp-example-script-running-as-admin/m-p/562291#M4532</guid>
      <dc:creator>JamesH1318</dc:creator>
      <dc:date>2023-10-18T16:30:28Z</dc:date>
    </item>
  </channel>
</rss>

