Hello
Thank you for posting in Microsoft Community forum.
Here are a few steps you can try to resolve this issue:
Run a full antivirus scan: Some wlanapi.dll files can be associated with malware infections, so it’s recommended to run a full antivirus scan using Windows Defender or your antivirus program.
Run the System File Checker tool: This tool can scan and repair missing or corrupted system files on Windows.
run cmd>sfc /scannow
Re-register the Wlanapi.dll file manually: Here’s how you can do it:
Press Windows key + S.
Type Command.
Right-click on Command Prompt.
Select Run as administrator.
Once prompted, enter the administrator credentials.
In the Command Prompt window, type: regsvr32 /u wlanapi.dll
Press Enter to un-register the file.
Once done, type: regsvr32 /i wlanapi.dll
Press Enter to re-register the file.
Best Regards,
Wesley Li