This Gist repairs a Windows 11 Quick Settings panel where the Wi-Fi tile or network list is missing even though the wireless adapter is installed and may already be connected.
The important detail on recent Windows 11 builds is that Quick Settings can be
hosted by ShellHost.exe. Restarting only the older
ShellExperienceHost.exe may therefore have no effect.
- Creates timestamped registry backups in your Documents folder.
- starts Network Location Awareness if needed and restarts WLAN AutoConfig;
- checks Wi-Fi enumeration without printing nearby network names;
- preserves the existing Quick Settings layout while adding or moving Wi-Fi to the first position;
- refreshes both
ShellHost.exeandShellExperienceHost.exeso the repaired layout is loaded; - leaves saved Wi-Fi profiles and passwords untouched.
Two more invasive recovery steps are available only through explicit switches:
-CycleAdapterIfNeededbriefly disables and re-enables the physical Wi-Fi adapter if network enumeration still fails.-RepairShellPackagesre-registers the Windows shell packages used by Quick Settings.-UseNativeTaskbarkeeps ExplorerPatcher installed but switches it to the native Windows taskbar if legacy taskbar routing is blocking Quick Settings.
- Save
repair-wifi-quick-settings.ps1from this Gist. - Open Windows PowerShell as Administrator.
- Change to the folder containing the script.
- Run:
Set-ExecutionPolicy -Scope Process Bypass
.\repair-wifi-quick-settings.ps1When it finishes, press Win+A. The Wi-Fi tile should be in the first position; select its arrow to open the network list.
If the first run does not restore network enumeration, try:
.\repair-wifi-quick-settings.ps1 -CycleAdapterIfNeededFor shell-package corruption, use the optional escalation:
.\repair-wifi-quick-settings.ps1 -CycleAdapterIfNeeded -RepairShellPackagesIf ExplorerPatcher is installed and the flyout still does not open:
.\repair-wifi-quick-settings.ps1 -UseNativeTaskbarThis last option does not uninstall ExplorerPatcher.
Windows 11 24H2 and later can restrict Wi-Fi network scanning when precise location access is disabled. Open Settings > Privacy & security > Location and verify that Location services and desktop-app location access are enabled, then run the script again.
Microsoft documents this behavior in Wi-Fi access and location changes.
Each run creates a folder named similar to
WiFi-Quick-Settings-Backup-20260721-110300 in Documents. To restore the old
Quick Settings layout, double-click QuickActions.reg in that folder and sign
out and back in.
If -UseNativeTaskbar was used, ExplorerPatcher.reg is also created when an
ExplorerPatcher configuration was present. Import it to restore those settings.
The script does not print SSIDs, BSSIDs, MAC addresses, computer names, user names, or saved Wi-Fi profiles. This write-up contains no machine-specific paths or device identifiers.