wlanui.dll Error in Windows 10 and 11: Windows Wi-Fi list errors

The Wi-Fi panel closes or fails to list available networks, and a Windows event names wlanui.dll.
What this DLL does
This Windows filename is associated with wireless user-interface support.
Start with this check
Check the wireless adapter in Settings and note whether regular connectivity already works. Compare the taskbar panel with the separate Settings network page.
Record the exact error, when it occurred, and the full module path if available. For a crash, open View reliability history from Start and look for the matching entry. The affected app, faulting module and exception code help distinguish an app problem from a system-wide one.
Choose the repair that fits
Repair a vendor utility if only it fails. If built-in Windows interfaces fail, apply supported updates and collect an Explorer or UI crash diagnostic before system repair.
Start with Microsoft’s app repair options if only one supported application fails. If unrelated built-in Windows features also fail and you suspect system file corruption, use Microsoft’s DISM and System File Checker instructions. Use supported packages and avoid downloading individual DLL files.
Verify the repair
Open both Windows views and verify the intended network is visible and selectable.
For a related check, see pnidui.dll troubleshooting. Browse the DLL Errors & Fixes Library. Official reference: Microsoft’s Windows Native Wi-Fi documentation.