Link to home
Start Free TrialLog in
Avatar of pyotrek
pyotrek

asked on

Windows 10 VPN connection setup - allow other people to use this connection not working. Network Sign-in not showing on logon screen.

There are 2 common ways to setup VPN connection in Windows 10.


1. Network and Sharing Center-->Setup a new connection or network-->Connect to a Workplace.
2. Start-->Settings-->Network & Internet-->VPN-->Add a VPN connection


Both of them have issues.

What I want to accomplish is to setup VPN connection to workplace that would show up as an "Network Sign-in" option on logon screen, and with "Use default gateway on remote network" disabled.

When you use the option 1. - you can choose "Allow other people to use this connection" - and as a result you do see the "Network Sign-in" icon on logon screen - but you are unable to have "Use default gateway on remote network" disabled. When VPN connection is setup this way - when you try to go to properties for IPv4 nothing happens. Also the PowerShell fix that allows for disabling the default gateway on remote network (SplitTunneling) does not work.

you get following error:

Windows PowerShell
Copyright (C) 2015 Microsoft Corporation. All rights reserved.

PS C:\Users\USER1> Set-VpnConnection -Name VPN -SplitTunneling $true
Set-VpnConnection :  The configuration cannot be applied to the local user VPN connection VPN. : The system could not
find the phone book entry for this connection.
At line:1 char:1
+ Set-VpnConnection -Name VPN -SplitTunneling $true
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (VPN:root/Microsoft/...S_VpnConnection) [Set-VpnConnection], CimExceptio
   n
    + FullyQualifiedErrorId : VPN 623,Set-VpnConnection



With the option 2. You can disable the default gateway on remote network using the PowerShell, but there seems to be no way to "Allow other people to use this connection"

Does anyone else found a way to correct this?
maybe there is a Powershell command that could help.

I have tried and failed with following:

PS C:\Users\USER1> Set-VpnConnection -Name VPN -AllUserConnection $true
Set-VpnConnection :  The configuration cannot be applied to the global user VPN connection VPN. : The
system could not find the phone book entry for this connection.
At line:1 char:1
+ Set-VpnConnection -Name remote.optinode.com -AllUserConnection $true
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (VPN:root/Microsoft/...S_VpnConnection) [Set-VpnConnecti
   on], CimException
    + FullyQualifiedErrorId : VPN 623,Set-VpnConnection



I actually have a working VPN connection on my Surface 3 Pro that I just upgraded to Windows 10 with both options working - but it transferred from Windows 8.1 when those "bugs" did not exist.
ASKER CERTIFIED SOLUTION
Avatar of pyotrek
pyotrek

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial