GP example script running as admin

Showing results for 
Show  only  | Search instead for 
Did you mean: 

GP example script running as admin

L0 Member

Hi, according to the doc, to run a pre (or post) vpn script can be run as admin using the following:


context admin | user


I haven't 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?


For example my current registry entry works as local user like below:



How do I add this admin variable to make it run as admin?





L1 Bithead

The one post I find on the subject and there's no answer 😞  Would love to know if anyone has gotten this to work under the admin/system context.

  • 1 replies
  • 47 Subscriptions
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!