VPN connection properties not available in Windows 10

On some of our windows 10 computers we are not able to change IPv4 properties for VPN client connections using the GUI anymore. Clicking on the properties button just does nothing: no error message, nada. And no, the button itself is NOT disabled.

VPN-IPv4-Properties

This is kind of annoying because we must disable the «Use default gateway» option for our VPN connections to work properly.

As a workaround, until there is a fix available from Microsoft, and because PowerShell is our friend, we configure this (or other) options via PowerShell.

Show a list of all VPN connections:

Get-VpnConnection

Now change «Use default gateway», e.g. SplitTunneling, option to «No»:

Set-VpnConnection -Name «VPN Name» -SplitTunneling $True

Again, to check if the value of «SplitTunneling» changed from False to True for the vpn connection:

Get-VpnConnection

Result:
SplitTunneling

All done!

3 Kommentare zu “VPN connection properties not available in Windows 10

  1. Dominik Gysin 06.10.2015 - 15:11

    Hallo Markus

    Den Parameter -TRUE ist leider nicht zulässig:
    PS C:\WINDOWS\system32> Set-VpnConnection -Name «VPN» -SplitTunneling -True
    Set-VpnConnection : Cannot process argument transformation on parameter ‹SplitTunneling›. Cannot convert value «System.String» to type «System.Boolean». Boolean
    parameters accept only Boolean values and numbers, such as $True, $False, 1 or 0.
    At line:1 char:31
    + Set-VpnConnection -Name «b&m» -SplitTunneling -TRUE
    + ~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidData: (:) [Set-VpnConnection], ParameterBindingArgumentTransformationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,Set-VpnConnection

    Die Option SplitTunneling benötigt entweder $True oder 1

    Um alle vorhanden VPN Verbindungen zu ändern kann folgendes PS Script verwendet werden:
    $vpnlist = get-vpnconnection
    foreach ($vpn in $vpnlist)
    {
    $vpn2 = $vpn.name
    Set-VpnConnection -Name «$vpn2» -SplitTunneling 1
    }

    1. Markus Frey 08.10.2015 - 10:40

      Hoi Dominik, danke für den Hinweis, ja das ist ein Tippfehler, ist korrigiert! Im Zweifelsfall immer der Microsoft Dokumentation vertrauen; das Argument heisst, wie in PowerShell üblich, natürlich $True, nicht -True!

  2. Marc Endres 22.10.2015 - 10:27

    Hallo Markus,

    ich habe das gleiche Problem, aber mit meinen DFÜ Verbindungen. Wir nutzen diese als Backup zur ISDN-Einwahl auf remote Server, wenn mal die VPN nicht funktioniert. Das Command «Get-VpnConnection» scheint dafuer aber nicht das richtige zu sein. Im Englischen heißen diese Verbindungen meines Wissens dial-up…

    Habt ihr eine Idee, wie ich meine Default Gateways in den DFÜs per PS aendern kann?

    Viele Grueße,
    Marc

Comments are closed.