Update 1/17/21: Microsoft has released OOB updates to fix the Windows L2TP VPN connection issues.
Windows 10 users and administrators report problems making L2TP VPN connections after installing the recent Windows 10 KB5009543 and Windows 11 KB5009566 cumulative updates.
Yesterday, Microsoft released Windows updates to fix security vulnerabilities and bugs as part of the January 2022 Patch Tuesday.
These updates include KB5009566 for Windows 11 and KB5009543 for Windows 10 2004, 20H1, and 21H1.
Updates break L2TP connections
After installing yesterday’s updates, Windows users find their L2TP VPN connections broken when attempting to connect using the Windows VPN client.
When attempting to connect to a VPN device, they are shown an error stating, “Can’t connect to VPN. The L2TP connection attempt failed because the security layer encountered a processing error during initial negotiations with the remote computer,” as shown below.
The Event Log will also log entries with error code 789, stating that the connection to the VPN failed.
The bug is not affecting all VPN devices and seems only to be affecting users using the built-in Windows VPN client to make the connection.
- How to Fix Windows Update Error 0x80246010
- DNS Aging and Scavenging – Explained (Step-by-Step guide)
- 3 Quick Ways to Fix Chrome When the Scroll Bar is Missing
- How to change default font settings in Office apps
- MusicBee will help you organize, find and play Music Files on your PC
A security researcher known as Ronny on Twitter told BleepingComputer that the bug affects their Ubiquiti Client-to-Site VPN connections for those using the Windows VPN client.
Many Windows admins also report on Reddit that the bug also affects connections to SonicWall, Cisco Meraki, and WatchGuard Firewalls, with the latter’s client also affected by the bug.
With many users still working remotely, admins have been forced to remove the KB5009566 and KB5009543 updates, which immediately fixes the L2TP VPN connections on reboot.
Windows users can remove the KB5009566 and KB5009543 updates using the following commands from an Elevated Command Prompt.
Windows 10: wusa /uninstall /kb:5009543 Windows 11: wusa /uninstall /kb:5009566
However, as Microsoft bundles all security updates in a single Windows cumulative update, removing the update will remove all fixes for vulnerabilities patched during the January Patch Tuesday.
Therefore, Windows admins need to weigh the risks of unpatched vulnerabilities versus the disruption caused by the inability to connect to VPN connections.
It is not clear what caused the bug, but Microsoft’s January Patch Tuesday fixed numerous vulnerabilities in the Windows Internet Key Exchange (IKE) protocol (CVE-2022-21843, CVE-2022-21890, CVE-2022-21883, CVE-2022-21889, CVE-2022-21848, and CVE-2022-21849) and in the Windows Remote Access Connection Manager (CVE-2022-21914 and CVE-2022-21885) that could be causing the problems.
- 6 Ways to Fix Xbox One Error 0x82d40004 [Partition Manager]
- How to Add Tabs to Windows File Explorer With QTTabBar
- How to Fix the Windows Taskbar when it’s not hiding in Full Screen
- Task Manager is blank & not showing processes in Windows 11/10
- What can I do if Windows 10/11 won’t recognize GoPro camera?
Microsoft confirms bug, provides mitigation
Microsoft confirmed on Thursday that “Certain IPSEC connections might fail” and that they will fix the issue in an upcoming release of Windows.
Microsoft states that it may be possible to mitigate the bug by disabling the ‘Vendor ID,’ if possible, on the VPN server.
“To mitigate the issue for some VPNs, you can disable Vendor ID within the server-side settings. Note: Not all VPN servers have the option to disable Vendor ID from being used,” Microsoft explains in a new known update issue.
On January 17th, Microsoft released out-of-band updates to resolve the Windows L2TP VPN connections issues and multiple critical issues on Windows Server.
More information about these updates can be found in our dedicated “Microsoft releases emergency fixes for Windows Server, VPN bugs” article.
Update 1/13/22: Added update with more information from Microsoft.
Update 1/17/21: Added information about new OOB updates.