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.
LVL 1
pyotrekAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

pyotrekAuthor Commented:
After reading a little bit about PoweShell and VpnConnection Cmdlets - I was finally able to add VPN connection that meets my original requirements (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)

Here is what kind of Cmdlet I used:

PS C:\WINDOWS\system32> Add-VpnConnection -Name MY_VPN_NAME -ServerAddress MY_VPN_SERVER -AllUserConnection $true -Split
Tunneling $true -AuthenticationMethod MSChapv2 -TunnelType Automatic -EncryptionLevel Required -PassThru

Confirm
Transmitting the secret key over unsecure text stream... Do you want to continue?
[Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"): y


Name                  : MY_VPN_NAME
ServerAddress         : MY_VPN_SERVER
AllUserConnection     : True
Guid                  : {1855E074-B9BE-424B-8C64-87D16021E2A6}
TunnelType            : Automatic
AuthenticationMethod  : {MsChapv2}
EncryptionLevel       : Required
L2tpIPsecAuth         : Psk
UseWinlogonCredential : False
EapConfigXmlStream    :
ConnectionStatus      : Disconnected
RememberCredential    : True
SplitTunneling        : True
DnsSuffix             :
IdleDisconnectSeconds : 0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VPN

From novice to tech pro — start learning today.