The L2tp Connection Attempt Failed Because the Security Layer Encountered a Processing Error

the L2TP connection attempt failed because the security layer encountered a processing error

If you’re running L2TP-based VPN clients and you just rolled out KB5009543, chances are you’ve got users lightening up your helpdesk today!

On January the 11th, 2022, Microsoft dumped a patch that unfortunately has the potential to break your L2TP clients.

Read more about this hotfix here.

Until Microsoft solves this issue and provides another update, you have no other option than to remove the hotfix from your clients.

You can use the following PowerShell script as inspiration if you want to script your way out of this mess:

$KB = "19041.1466.1.6"
$CmdOutput = "Update " + $KB + " not found."
$SearchUpdates = dism /online /get-packages | findstr "Package_for" | findstr "$KB"
if ($SearchUpdates) {
    $update = $SearchUpdates.split(":")[1].replace(" ", "")
    $CmdOutput = dism /Online /Remove-Package /PackageName:$update /quiet /norestart
}
Write-Output $CmdOutput

The script is inspired by information found here and here.

The script has not been tested in-depth, so make sure you test it properly before rolling it out on a large scale!

How to Streamline Your Hybrid Office 365 Administration

If you’re managing a hybrid Office 365 installation, you’ve probably experienced this:

  • Multiple web consoles are needed to manage simple settings for the same user/mailbox
  • Attribute authority is confusing
  • Why on earth do you need an on-premises Exchange Server?
  • Multiple visits to Azure AD Connect is needed to speed up synchronization

If any of the above issues are slowing down your work-life, then have a look at Easy365Manager.

Easy365Manager is a snap-in to Active Directory Users & Computers that lets you manage AD users, Office 365 licenses, and mailboxes from one consolidated tool.

As an example, check out how easy it is to manage Office 365 calendar permissions:

Download the Easy365Manager 30-day fully-functional trial now and take away the pain from hybrid Office 365 management!

You’ll find an overview of all the great features of Easy365Manager here.