What is the cause of "WLAN AutoConfig detected limited connectivity, attempting automatic recovery" event

Matt Schulte 6 Reputation points
2022-10-13T22:08:30.26+00:00

I am running Cloudflare's WARP product (https://1.1.1.1/) on my Windows 10 machine. WARP is essentially a VPN product. It encapsulates your network traffic and handles all your DNS requests (by using a local resolver we create at 127.0.2.2).

I am running into an issue where the WLAN AutoConfig service on Windows seems to sometimes reset the networking stack and I can't figure out why. I can reproduce the issue sporadically but am unable to figure exactly what triggers it. What I do know is that it usually only occurs when our VPN is active.

The only event I can find in Event Viewer that is correlated to reset is this event.

WLAN AutoConfig detected limited connectivity, attempting automatic recovery.

Recovery Type: 4
Error Code: 0x0
Trigger Reason: 5
IP Family: 0

However, that's where I am stuck. I can't figure out where to go from here. What is "Trigger Reason: 5" and what causes WLAN AutoConfig to do an "automatic recovery"? How can I debug this further?

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,282 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Veinot, Nick 6 Reputation points
    2022-10-14T15:10:41.967+00:00

    We were having this same issue using Cisco AnyConnect. We just spent a lot of time (weeks), with Cisco and MSFT trying to sort this out. So far, the fix for this looks to be a change to the registry that adjusts the connection manager service.

    HKLM\SOFTWARE\Microsoft\WcmSvc\EnableBadStateTracking DWORD 0

    We're doing some additional testing, but this looks promising at the moment.

    1 person found this answer helpful.

  2. Limitless Technology 43,996 Reputation points
    2022-10-18T09:02:29.72+00:00

    Hello there,

    The service WLAN AutoConfig will monitor, disconnect and reconnect the WiFi network if the internet is unreachable. This Event is generated when you lose the Internet connection and this might be caused by your VPN setting, Firewall, or driver issue.

    For this specific Event can you try to disable IPv6 and see if that helps?

    1. Go to - Control Panel -> Network and Sharing Center -> Change adapter setting
    2. Right-click on WiFi adapter -> Properties.
    3. Remove the checkbox from IPv6.

    It's possible to disable autoconfig while not stopping the wlansvc service, that's through netsh.exe.

    To view the autoconfig status on interfaces :

    netsh.exe wlan show autoconfig

    To disable autoconfig on an interface

    netsh.exe wlan set autoconfig no "My wireless interface name"

    The below thread discusses the same issue and you can try out some troubleshooting steps from this and see if that helps you to sort the Issue. https://answers.microsoft.com/en-us/windows/forum/all/warning-error-4003-wifi-automatically-disconnects/24242938-fc9d-41bd-9bfe-def83ebe1b9c

    --------------------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer–

    1 person found this answer helpful.