Can’t change IPv4 or IPv6 properties on a Windows 10 VPN.

“I can’t talk right now, I have several thousand updates to install.” – Sheldon Cooper

I encountered my first issue with the VPN system on Windows 10 today when creating an SSTP VPN, although I’m sure a PPTP, L2TP, IKEv2 would have had the same issue. I created the VPN, changed the security type to SSTP and then set out to do the obligatory disable of ‘use default gateway on remote network‘ – the check box that we’ve all cleared hundreds of times over the years.

One of the earlier Windows 10 builds had the properties button disabled for IPv4 and IPv6 – this prevented you from accessing the properties to disable the gateway option.

Now, there is good news and bad news about that issue.

The good news is that the bug was fixed and the properties button is no longer disabled.

The bad news however is that when you click it nothing happens.

VPN Properties

I’m sure there will be a hotfix available for that at some point. In the meantime though, if you need to change the default gateway creation on the VPN – you can still do it with power shell.

VPN Power Shell

Using the Get-VPNConnection and Set-VPNConnection cmdlets you can enable split tunneling, which allows VPN traffic to traverse the VPN and normal internet traffic to bypass the VPN – resulting in the default route not being changed when you complete the VPN connection.

~ Mike

3 thoughts on “Can’t change IPv4 or IPv6 properties on a Windows 10 VPN.

  1. Cool to see there is still a need for powershell, I had been under the impression it’s losing more and more public attention.
    Anyway, thanks for sharing this workaround!

  2. Hi there!
    How would one disable/uncheck IPv6 for a VPN connection, in PowerShell? I’m assuming that’s possible, but haven’t found a straightforward way to do so via Add-VpnConnection or Set-VpnConnection…

    Thank you!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s