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 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,274 questions
{count} votes

9 answers

Sort by: Newest
  1. Gareth Little 1 Reputation point
    2020-12-07T03:20:40.51+00:00

    Is availability of VPN on login screen only possible on domain joined machines? (usually) If so I will try jining a traditional domain.


  2. Jon Marnock 1 Reputation point
    2020-12-07T02:05:07.647+00:00

    I wonder if the issue is Azure-AD. Perhaps it's not considered domain joined in the same way and so doesn't trigger the availability?

    0 comments No comments

  3. Gareth Little 1 Reputation point
    2020-12-07T01:25:39.17+00:00

    Hi @Jon Marnock

    Thanks for this. I tried using the exact string you posted and the connection was created, it did not however appear on the logon screen.

    0 comments No comments

  4. Jon Marnock 1 Reputation point
    2020-12-03T05:48:01.683+00:00

    Just be aware we've found a few bugs in recent Windows 10 builds where this will fail with an error message stating the username or password is incorrect (this is not correct - the VPN comes up just fine but SYSTEM terminates it less than 1 second after it's created).

    0 comments No comments

  5. 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