📎 AI Summary:
The user reports that their Wi-Fi icon disappears or shows airplane mode in Windows 11, especially after startup or unplugging Ethernet, and that rebooting temporarily restores Wi-Fi. A suggested solution involves ensuring the 'WLAN AutoConfig' service is set to automatic and running, with a provided PowerShell script to check and fix this setting. Overall, the thread addresses a connectivity issue linked to service configuration, with the recommendation to verify and start the WLAN service as a potential fix.

acessmesse3456

New Member
Member details
Joined
Jan 21, 2023
Messages
1
Thread Author #1
Hello,
My wifi symbol dissapears or in wifi option airplane mode apperas and wifi not working in windows 11, this happens when starting up or unplugging my ethernet cable. So I can't connect to wifi anymore a restart doesn't work but turning the computer off and rebooting it, then wifi reapears.
This is the windows version:
OS Name Microsoft Windows 11 Pro
Version 10.0.22621 Build 22621
Laptop HP ProBook4540s
An image from 'Wifi Problem'. Dark mode control panel showing Airplane mode, Battery saver, Night light, Priority only, Accessibility.
 

Last edited by a moderator:
Solution
Make sure the 'WLAN AutoConfig' service has it's startup type set to automatic and the status is running.

You can check with this script. You will need to open a powershell prompt with 'Run As Administrator' for the script to fix the issue. Copy and run the following
Code:
#Requires -RunAsAdministrator
$Service = Get-Service -Name 'wlansvc'

if($Service.StartType -ne 'Automatic') {
    Write-Output "The Wlan AutoConfig service is not set to automatically start.  Setting to auto start..."
    Set-Service -InputObject $Service -StartupType Automatic
} else {
    Write-Output "Wlan AutoConfig is set to start automatically....[GOOD]"
}
if($Service.Status -ne 'Running') {
    Write-Output "The Wlan AutoConfig service is not currently running...

Neemobeer

Windows Forum Team
Staff member
Member details
Joined
Jul 4, 2015
Messages
8,995
Make sure the 'WLAN AutoConfig' service has it's startup type set to automatic and the status is running.

You can check with this script. You will need to open a powershell prompt with 'Run As Administrator' for the script to fix the issue. Copy and run the following
Code:
#Requires -RunAsAdministrator
$Service = Get-Service -Name 'wlansvc'

if($Service.StartType -ne 'Automatic') {
    Write-Output "The Wlan AutoConfig service is not set to automatically start.  Setting to auto start..."
    Set-Service -InputObject $Service -StartupType Automatic
} else {
    Write-Output "Wlan AutoConfig is set to start automatically....[GOOD]"
}
if($Service.Status -ne 'Running') {
    Write-Output "The Wlan AutoConfig service is not currently running.  Starting service..."
    Start-Service -InputObject $Service
} else {
    Write-Output "The Wlan AutoConfig service appears to be running....[GOOD]"
}
 

Solution