LemonBits

  • Home
  • About
  • Contact me
VPN, Windows general

Windows 10: Share a VPN Connection

Frane Borozan - September 8, 2016

Here’s an interesting blog about how to work your way around this Windows 10 share a VPN connection bug … I mean, new feature.

If you’ve updated your OS to Windows 10, you might have already come across the issue that you can no longer share a VPN connection. It was much easier sharing a VPN connection when you had Windows 8 and 7 because the option was in the interface.

So here’s what happened. Our company decided that it would be a cool idea to relocate for a week and temporarily work from a co-working office down at the coast. So we packed up our laptops and suddenly realized that if you take your laptop outside of your company offices, you’re not able to log in if you are logging for the first time on that laptop.

Why?

We’ve figured out that the laptop doesn’t even register the domain controller that allows a user to log in.

How to share a VPN connection on Windows 10?

Solution

To get around the Windows 10 share a VPN connection issue, you have to use PowerShell to create a VPN connection that can be shared with other users and is available on the login screen. So, I’ve written a PowerShell command for this:

Add-VpnConnection -Name YOURVPNCONNECTION -ServerAddress yourvpnserver.contoso.com -AllUserConnection $true -SplitTunneling $true -AuthenticationMethod MSChapv2 -TunnelType Automatic -EncryptionLevel Required -PassThru

Windows 10 - Share a VPN Connection

Voilà!

Problem solved! Now you can log in to the VPN server for the first time so you can be authenticated by the domain.

Tags | PowerShell, share a VPN connection, Windows 10
 0 1
Share Now

Frane Borozan

Helping SBC administrators kick-ass Google+

One Response

  • Eddy Wilson February 1, 2021 at 2:56 am

    Wonderful, what a webpage it is! This weblog provides valuable information to us,
    keep it up.

    Reply
  • Leave a Reply Cancel Reply

    Your email address will not be published. Required fields are marked *

    Previous Post Upgrading from DirSync to Azure Active Directory Connect
    Next Post How I tackled CryptoLocker

    Connect with me on

    Latest Posts

    • How to invite guest users to Microsoft shared channels

      How to invite guest users to Microsoft shared channels

    • Creating a secure Microsoft Teams and Shared Channels environment for guest users

      Creating a secure Microsoft Teams and Shared Channels environment for guest users

    • How to create a shared channel and add teams and members?

      How to create a shared channel and add teams and members?

    • Microsoft Syntex Advanced Management’s first capabilities

    • 5 Microsoft Teams management pro-user tips

    • What are roles and permissions in Microsoft Teams?

    • How do you create a team from scratch in Microsoft Teams?

    • Teams governance

    • External sharing in SharePoint

    • SharePoint governance

    Recent Comments

    • Frane Borozan on Downloads folder slow to load/sort in Windows 10
    • güvenlik kamerası on Downloads folder slow to load/sort in Windows 10
    • Laki Lakovic on Opening group policy editor on a remote computer and forcing GP Update
    • Diane on Opening group policy editor on a remote computer and forcing GP Update
    • Manoj B on Differences between L1, L2, L3 system administrator guidlines
    • Travis Vroman on Teams slow
    • Yossi B on Remote Desktop Services Manager 2016
    • astha on SharePoint audit logs
    • Frane Borozan on Installing Remote Desktop Services 2016
    • Joe Zhou on Installing Remote Desktop Services 2016
    • Pino on Installing standalone Remote Desktop Gateway on the Windows Server 2012 R2 without complete Remote Desktop Services infrastructure
    • Eddy Wilson on Windows 10: Share a VPN Connection
    • haleybri.com on Remote Desktop Services Manager 2016
    • Atif on Remote Desktop Services Manager 2016
    • Tan Vu on KB2919355 The update is not applicable to your computer
    • Vinay on Installing Remote Desktop Services 2016
    • JOEL FERDY FEUBI TABOUE on KB2919355 The update is not applicable to your computer
    • Delmar on Installing standalone Remote Desktop Gateway on the Windows Server 2012 R2 without complete Remote Desktop Services infrastructure
    • Luke Welden on KB2919355 The update is not applicable to your computer
    • LM on Installing standalone Remote Desktop Gateway on the Windows Server 2012 R2 without complete Remote Desktop Services infrastructure
    • Anonymous987 on KB2919355 The update is not applicable to your computer
    • ANonyommus987 on KB2919355 The update is not applicable to your computer
    • Alan on Remote Desktop Services Manager 2016
    • Jagz on Installing Remote Desktop Services 2016
    • VG on SharePoint audit logs
    • VG on SharePoint audit logs
    • Kalle on SharePoint audit logs
    • 3 pandas on SQL Server security best practices
    • Kalle on SharePoint audit logs
    • Frane Borozan on Installing standalone Remote Desktop Gateway on the Windows Server 2012 R2 without complete Remote Desktop Services infrastructure
    • Erin Platt on Installing standalone Remote Desktop Gateway on the Windows Server 2012 R2 without complete Remote Desktop Services infrastructure
    • Tad Benoit on Remote Desktop Services Manager 2016
    • Dean Hufford on Installing standalone Remote Desktop Gateway on the Windows Server 2012 R2 without complete Remote Desktop Services infrastructure
    • Peter on Remote Desktop Services Manager 2016
    • Chris on Remote Desktop Services Manager 2016

    Copyright © 2019 Frane Borozan. All rights reserved