Enabling VPN split tunneling in Windows 10 can be done using a simple PowerShell command, unlike Windows 7 where the option for the VPN connection is normally set by navigating through network settings.
How a VPN Works
Enabling VPN Split Tunneling in Windows 10
- Search for PowerShell and click on the result to open the Windows PowerShell application.
- If the name of the VPN connection is unknown, type "Get-VPNConnection". The name(s) of each VPN Connection will be displayed with their details.
- Type the command "Set-VPNConnection" -Name "Connection Name" -SplitTunneling $True" to enable split tunneling on the desired VPN Connection.
- To verify split tunneling has been enabled, retype the "Get-VPNConnection" command.
Another way to enable split tunneling, in both Windows 10 and Windows 7, consists of:
- Right clicking the VPN connection and selecting Properties.
- Clicking on the Networking tab.
- Selecting the TCP/IP version 4 connection then clicking Properties.
- In the Properties pop-up, click the Advanced button.
- In the Advanced TCP/IP settings window, uncheck the box next to "Use default gateway on remote network" to enable split tunneling.
- Click OK three times to save the setting.
As always, knowing two or three ways to accomplish the same thing saves time and maintains sanity!