Automatically Triggering VPN Connections in Windows 8.1

Windows 8.1 allows a VPN client to automatically connect to the corporate network. Admin can configure a list of applications that will trigger the VPN connection:

You can add applications to the VPN profile using the Add-VpnConnectionTriggerApplication cmdlet.

Add-VpnConnectionTriggerApplication [-Name] <string> –ApplicationID <String[]> -PassThru

You can remove applications from the VPN profile by using the cmdlet Remove-VpnConnectionTriggerApplication.

Remove-VpnConnectionTriggerApplication [-Name] <string> –ApplicationID <String[]> -PassThru

ApplicationID :

1. For modern apps, the ApplicationID is the package family name of the modern app. You can retrieve the package full name by using the Get-appxpackage cmdlet in Powershell prompt.

2. For traditional apps, the ApplicationID is the binary path where the application is installed on the machine.

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s