I cannot edit the IPv4 properties on a Windows 10 PPTP VPN

With the arrival of Windows 10 there are bound to be a few small problems and one we have encountered is configuring the IPv4 properties of a PPTP connection, in particular being able to configure the default gateway.  In this short article we show how you can adjust these settings.

10 August 2015 Frequently Asked Questions  Windows PCs, Working from home

Microsoft Windows - Article

Introduction

With the arrival of Windows 10 there are bound to be a few small problems and one we have encountered is configuring the IPv4 properties of a PPTP connection, in particular being able to configure the default gateway.  In this short article we show how you can adjust these settings.

VPN Configuration

The VPN configuration details are stored in the following folder under the user profile:

  • %userprofile%\appdata\roaming\microsoft\network\connections\Pbk

For connections available to everyone this will be in the folder:

  • C:\ProgramData\Microsoft\Network\Connections\Pbk

In the folder you will find a file called "rasphone" - the "Dial-Up Phonebook".  This file can be edited using Notepad or similar.

Default Gateway

Currently when a PPTP VPN connection is created in Windows 10 the default IPv4 network setting is to route traffic through the VPN which is not always desirable.  Unfortunately a bug (10 August 2015) in Windows 10 means this cannot be changed through the GUI however we can make the change in the rasphone.pbk file.

To have your traffic route through your local default gateway first:

  1. Open the required rasphone.pbk file (see above)
  2. Find the section specifically for the VPN connection you are looking to change
  3. Find the "IpPrioritizeRemote" key and change its value from 1 to 0
  4. Save and close the file

You should now find traffic is being routed through the local default gateway first.

Tags  10 pptp vpn

Corrections or suggestions