VPN on Logon Screen

Gareth Little 1 Reputation point
2020-11-24T20:23:50.837+00:00

Hi

I am trying to create a VPN connection that is available on the Windows 10 Pro logon screen. I've done much Googling and tried the add-vpnconnection method in Powershell but whatever I try the connection is not avaialble on login. Can anyone help?

Thanks,

Gareth.

Windows for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing

9 answers

Sort by: Most helpful
  1. Jon Marnock 1 Reputation point
    2020-12-03T05:47:05.207+00:00

    We use the following, from an elevated (admin) powershell prompt:

    Add-VpnConnection -Name 'VPN Name' -ServerAddress 'vpn.server.address' -TunnelType 'L2TP' -L2TPPSK 'redacted' -Force -DnsSuffix 'if.you.care' -AllUserConnection

    Was this answer helpful?


  2. Gareth Little 1 Reputation point
    2020-11-25T18:40:49.117+00:00

    Hi @Aravinth Mathan

    I am trying to create L2TP/IPSEC with pre-shared key

    Authentication is username/password MS-CHAP v2

    Command is

    Add-VpnConnection -Name TEST -ServerAddress xxx.xxx.xxx.xxx -AllUserConnection $true -SplitTunneling $true -AuthenticationMethod MSChapv2 -TunnelType L2tp -EncryptionLevel Required -PassThru  
    

    Was this answer helpful?

    0 comments No comments

  3. Aravinth Mathan 416 Reputation points
    2020-11-25T18:33:10.82+00:00

    Hi @Gareth Little ,

    Could you lets us know what vpn are you trying to configure. Also what is the authentication mechanism.

    Also, can you share the powershell command/script you used to deploy the profile

    Regards
    Aravinth

    Was this answer helpful?

    0 comments No comments

  4. Gareth Little 1 Reputation point
    2020-11-25T16:49:33.013+00:00

    Hi Gloria,

    Thanks for your reply. I have tried this method but the VPN does not appear on the login screen. I am connected to Azure AD if relevant.

    Gareth.

    Was this answer helpful?

    0 comments No comments

  5. Gloria Gu 3,961 Reputation points
    2020-11-25T07:40:10.873+00:00

    @Gareth Little Hi,

    Thank you for posting in Q&A!

    Please try the following method to see if it works:

    In Network and Sharing Center -> Set Up a New Connection or Network -> Connect to a Workplace -> [Configure as Needed] ->
    Check the last box with the shield next to it (Allow other people to use this connection).

    42613-9.png

    Hope you have a nice day : )
    Gloria

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    https://learn.microsoft.com/en-us/answers/articles/67444/email-notifications.html

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.