Sunday, November 6, 2022

Getting credentials prompt for local intranet sites and share drive after connecting to Remote VPN

Getting credentials prompt for local intranet sites and share drive after connecting to Remote VPN

Solution:

Locate the .pbk file associated with your VPN connection (%AppData%\Roaming\Microsoft\Network\Connections\PBK\rasphone.pbk for user VPNs) or (%ProgramData%\Microsoft\Network\Connections\Pbk\rasphone.pbk for system VPNs).

Right-click on the VPN's .pbk file and open it with Notepad. (Remember to untick 'Always use this program for this file type')

Roughly 5 lines down will be an entry 'UseRasCredentials=1'

Change this to 'UseRasCredentials=0'

Save the file.

Reference:

https://social.technet.microsoft.com/Forums/windows/en-US/0204464d-e32d-4584-966b-60788cce0d6f/disable-creation-of-vpn-quotsessionquot-credential-in-credential-manager-without-disabling-all?forum=winserversecurity


No comments:

Post a Comment

Search this Blog

Note :

Infolinks In Text Ads