Fixing the VPN so IFS mapping works from home

Fixing the VPN so IFS mapping works from home

A side effect of IFS is that when connecting to the Cambridge VPN the IFS mapping has to be remapped to connect, and then again when coming back to work and not using the VPN.

A way to prevent this from happening, with no known issues so far, it to edit the rasphone.pbk file.

This file can be found in the users AppData (hidden by default), at the following path:

C:\Users\[username]\AppData\Roaming\Microsoft\Network\Connections\Pbk

Edit the rasphone.pbk file with notepad and amend the line UseRasCredentials from 1 to 0:

image-20250630-090317.png

Save the file and exit. Then you shouldn’t have to remap the IFS drive when connecting from home with the VPN, nor again when you come back to work.

References

How to Make Windows Pass Domain and not VPN Credentials to File Server - Windows - Spiceworks Community

UseRasCredentials | Richard M. Hicks Consulting, Inc.