27

I have been disabling the 'use default gateway for remote networks' option to bypass unnecessary traffic from going through vpn. But after upgrading to Windows 10 I can't change the setting since the IPv4 Properties does not open up when I click it.

enter image description here

Is there any other way to access this setting?

DavidPostill
  • 153,128
  • 77
  • 353
  • 394
AsifM
  • 507
  • 1
  • 5
  • 7
  • 4
    If the IPv4 properties don't open, then I'd say you probably have a bigger problem that you should be concerned about first. – Ƭᴇcʜιᴇ007 Aug 10 '15 at 15:35
  • 4
    @Ƭᴇcʜιᴇ007 well, he isn't alone with that problem. I have a fresh Windows 10 Installation here and the Properties button does nothing. There a number of TechNet Topics but so far, silence from Microsoft. – enzi Aug 18 '15 at 15:45
  • This was a bug. It was fixed in TH2. See related answer [here.](https://superuser.com/questions/949306/windows-10-windows-vpn-ipv4-properties-not-accessible/979698#979698) – StackzOfZtuff Mar 14 '16 at 13:00
  • How did you even get to this dialog box in Windows 10? I can't find anything like this in the current version of Windows. – Jonathan Wood May 17 '18 at 22:44
  • @JonathanWood Easiest way is to go to Control Panel-> Network and Internet-> Network and Sharing Center-> Change Adapter Settings (on left)-> Right click any adapter and select properties. You will see a dialog like this open up with Networking Tab on it. – AsifM May 17 '18 at 22:49
  • Some VPN profiles don't have the networking tab. – John Stoneman Oct 02 '19 at 09:45

3 Answers3

28

You can use this powershell command to enable/disable default gateway on VPN:

Set-VpnConnection -Name "myVPN" -SplitTunneling $True
DavidPostill
  • 153,128
  • 77
  • 353
  • 394
Madmucho
  • 396
  • 3
  • 3
9

If you go to here: %appdata%\Microsoft\Network\Connections\Pbk\rasphone.pbk open with text editor and for every Vpn connection listed change IpPrioritizeRemote=1 – change this to 0 to disable

mpeac
  • 103
  • 3
1

source: https://windowsreport.com/vpn-split-tunneling-windows-10/

try one of:

  1. Edit the VPN connection properties enter image description here

  2. Use PowerShell

    Set-VPNconnection -name "Your VPN connection" -SplitTunneling $true
    

    enter image description here