Domain migration, lots of users, want to automate as much as possible to prevent user error.
I know that I can clear a user's GP creds using
and next time GP starts (either because I restart the PANGPS service or reboot the computer) GP prompts for new credentials to connect.
However, if I update the cred with cmdkey,
cmdkey.exe /generic:gpcp/LatestCP /user:NewUserName /pass:s3cr3tN3wpwd!
GP does not recognise it and prompts for new credentials anyway (after restart as above)
It doesn't even fill the username field with the user from cmdkey
So, does GP have a method to programatically change the current user's GP creds?
We have settled for clearing the creds with cmdkey.exe and restarting the PANGPS service to pop up a dialog to request new creds, and communicating to our users to enter their new domain account and password in this case.
It works (when users follow instructions).
I was just looking into this also. It would seem that the password which the Global Protect Client saves to the Credential Manager is not in clear text. It is saved there encrypted. If we knew how it's encrypted by the agent, then we could insert it to the Credential Manager manually or programmatically ourselves and it would probably work.
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!