How can I connect to l2tp server automatically at start of windows 10?

CFRC 1 Reputation point
2022-11-15T16:28:36.99+00:00

I have been searching for a way to automatically make l2tp connection to a l2tp server in my windows 10 professional pc but I have found none for windows. Everything so far is for linux/ubuntu. Is there a way for windows power shell to make the connection from command line? Thanks in advance.

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,312 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Roy Bakker 301 Reputation points
    2022-11-24T21:08:55.137+00:00

    Hi,
    I assume you are talking about a VPN connection, if you are talking about an L2TP connection.
    If so, Microsoft has something called Always On VPN.

    https://learn.microsoft.com/en-us/windows-server/remote/remote-access/vpn/always-on-vpn/deploy/always-on-vpn-deploy-deployment

    Hope it will help you.

    0 comments No comments