I want to create a script or some other option if it is available that will present an icon on the users desk so that they can quickly disable/ enable the GP client without the reason prompt. I had a quick look but I don't see any CLI oprtions available tha I can use in a script.
Is this possible?
Solved! Go to Solution.
can you not just select "allow" in the Portal/App setting. perhaps you have it set to "Allow with comment".
maybe i have missed your point so please elaborate....
Thanks for for the response. This is an option and one that was presented to management who requested this, but I guess they want to make it even simpler by having an icon that users can double click.
If you set your connect method to "on-demand" - instead of having to disable the app there would literally be a disconnect button ;) Sounds pretty simple to me!
Thanks for this. I am aware of this option and I agree it does seem pretty easy. This has been requested from the top, so I have to make sure I confirm there is no option for a command line that would facilitate a desktop shortcut to quickly diconnect when required.
I haven't seemn anything n teh docs and none while testing in teh CLI on a Windows PC. Am I correct in saying at this point that one does not exist?
My only thoughts are going to be the scripting options using the Msiexec - but I don't think disabling the app or disconnecting is possible entirely through a script. I've been reading the below documentation and it doesn't look to be possible.
For the windows client there is no CLI to script global protect actions. The only nice way is to use the options provided by global protect.
(A not so nice way is to write a little program (that needs hardcoded credentials for an account with administrator permissions). With this little program you could disable the PanGPS service which does kind of the same as diconnect/disable GP with the integrated options)
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 Live Community as a whole!
The Live Community thanks you for your participation!