VPN triggered application doesn't work...

희승 손 251 Reputation points
2020-11-17T13:08:56.39+00:00

I properly executed the Add-VpnConnectionTriggerApplication command, and also enabled Split Tunnel. But when i run the corresponding application, literally nothing happens. Using Powershell Script is the only way to implement VPN triggered application?

This is Powershell cmdlets that I executed.

Add-VpnConnectionTriggerApplication -ConnectionName "VPN 연결" -ApplicationID "C:\Program Files\Internet Explorer\iexplore.exe"
Set-VpnConnection -ServerAddress vpn.dream.line -Name 'VPN 연결'

PS C:\Windows\system32> Get-VpnConnection

Name : VPN 연결
ServerAddress : vpn.dream.line
AllUserConnection : False
Guid : {F2FB22C5-A266-445D-8D12-5C8F19102DA8}
TunnelType : Automatic
AuthenticationMethod : {Eap, MsChapv2}
EncryptionLevel : Optional
L2tpIPsecAuth : Certificate
UseWinlogonCredential : False
EapConfigXmlStream :
ConnectionStatus : Disconnected
RememberCredential : True
SplitTunneling : True
DnsSuffix :
IdleDisconnectSeconds : 0

PS C:\Windows\system32> Get-VpnConnectionTrigger

cmdlet Get-VpnConnectionTrigger(명령 파이프라인 위치 1)
다음 매개 변수에 대한 값을 제공하십시오.
ConnectionName: VPN 연결

ConnectionName : VPN 연결
ApplicationID : {C:\Program Files\Internet Explorer\iexplore.exe}

Please Help me...

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,348 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sunny Qi 11,041 Reputation points Microsoft Vendor
    2020-11-18T05:44:20.233+00:00

    Hi,

    Please try the following command in PowerShell to see if it was helpful.

    e.g.

    Add-VpnConnectionTriggerApplication -ConnectionName "Contoso" -ApplicationID "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe","Microsoft.RemoteDesktop_Contoso0987" -PassThru

    ConnectionName : Contoso

    ApplicationID : {C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe, Microsoft.RemoteDesktop_Contoso0987}

    For more information about Add-VpnConnectionTriggerApplication command, please refer to the following article.

    Add-VpnConnectionTriggerApplication

    Besides using PowerShell Script to implement VPN triggered application, based on my research, you can configure desktop or Universal Windows Platform (UWP) apps to trigger a VPN connection. You can also configure per-app VPN and specify traffic rules for each app. See Traffic filters for more details.

    Please refer to this article Configure app-triggered VPN for more details.

    Best Regards,
    Sunny

    ----------

    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.

    0 comments No comments

Your answer

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