If you connect to VPN on Windows it will try to create session credentials to the Credential manager. So if you try to connect a network drive Windows get stuck because it will be try saved credentials and do not prompt you for insert credentials for network drive.
This problem will not happen if your VPN and domain/network username and password match.
So what can you do?
- Open this location:
%userprofile%\AppData\Roaming\Microsoft\Network\Connections\PBK
orC:\ProgramData\Microsoft\Network\Connections\Pbk
) - Open file
rasphone.pbk
in text editor.(notepad,notepad++, etc.) - Find line with
UseRasCredentials=1
it is around 5 line - Change value to
UseRasCredentials=0
- Save the file.
- Restart your PC
Now the system should not add credentials to the manager if you connect to VPN. And you should be able to insert credentials for network drives to standard prompt.