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.

 

SBS POP3 connector error: invalid header fields

If you are using the POP3 Connector on Windows SBS 2008, you may encounter this error in the event log:

One or more (5) e-mail messages in the POP3 mailbox account ‘’ on the POP3 server ‘’ have invalid header fields. Because of this, the messages cannot be delivered to the Exchange Server mailbox ‘’ in Windows Small Business Server. The messages are still on the POP3 server. To resolve this issue, connect to the POP3 mailbox account, and then manually retrieve or delete the messages.

By default the POP3 connector will stop processing new messages after 5 protocol errors so once this happens, you will not receive any email.

Increase the MaxProtocolErrors from 5 to something bigger:

Set-ReceiveConnector -identity ($Env:computername + “\Windows SBS Fax Sharepoint Receive ” + $Env:computername) -MaxProtocolErrors 300

Next step: remaining messages to be downloaded, but the messages with invalid headers will still not be downloaded.
To fix this:

Set-ReceiveConnector -Identity ($Env:computername + “\Windows SBS Fax Sharepoint Receive ” + $Env:computername) -DefaultDomain $Env:UserDNSDomain

turn the wheel

6377648_19777385ae7f813cbba08689341bee06_wm

In 1977, facing first-time parenthood and an absolute lack of enthusiasm for anything like “career,” I found myself dusting off my twelve-year-old’s interest in science fiction. Simultaneously, weird noises were being heard from New York and London. I took Punk to be the detonation of some slow-fused projectile buried deep in society’s flank a decade earlier, and I took it to be, somehow, a sign. And I began, then, to write.

— William Gibson, “Since 1948”.