You may not be able to connect to Wi-Fi networks on your system because the WLAN AutoConfig (WLansvc) service fails to start. Attempting to start the service results in error 193 0xC1 Let’s see how to fix this error.
Windows could not start the WLAN AutoConfig service on Local Computer. Error 193: 0xc1
The same error occurs when you start the service from command-line:
The WLAN AutoConfig service could not be started. A system error has occurred. System error 193 has occurred. *** is not a valid Win32 application.
Cause
This above error occurs if the file WLanSvc.dll has become corrupted. Restoring a fresh copy from the source should resolve the issue.
Resolution
To resolve the WLAN AutoConfig service startup error, restore missing system files, including WLanSvc.dll.
1) Repair wlansvc.dll using SFC
Open an admin Command Prompt and run:
sfc /scannow
and
sfc /scanfile=c:\windows\system32\wlansvc.dll
You should see the following message in the output if the file was successfully restored.
Windows Resource Protection found corrupt files and successfully repaired them.
Note: The sfc /scannow
command scans and repairs for all system files, whereas the above command sfc /scanfile
scans and repairs a specific file.
SFC can’t repair the file?
In some cases, SFC can’t repair the file. This happens if the file in the component store is also corrupted. In that case, SFC reports the following error:
Windows Resource Protection found corrupt files but was unable to fix some of them.
And the following lines are logged in the CBS.log file:
[SR] Could not reproject corrupted file \??\C:\windows\System32\\wlansvc.dll; source file in store is also corrupted [SR] Verify complete [SR] Repairing 1 components [SR] Beginning Verify and Repair transaction [SR] Cannot repair member file [l:11]'wlansvc.dll' of Microsoft-Windows-OneCoreUAP-Wlansvc, version 10.0.19041.2193, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} in the store, file is missing [SR] Cannot repair member file [l:11]'wlansvc.dll' of Microsoft-Windows-OneCoreUAP-Wlansvc, version 10.0.19041.2193, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} in the store, file is missing
2) Repair wlansvc.dll using DISM and SFC
If SFC can’t repair the file, run DISM. For more information about the DISM /RestoreHealth
command-line, check out the article Repair Windows 10/11 System Files Using DISM and SFC.
Important: Make sure you’re connected to the internet. Use another internet connection source (e.g., ethernet or mobile tethering) if your WLAN is inoperable. Then, follow the steps below.
From Admin Command Prompt, run:
DISM.exe /Online /Cleanup-image /Restorehealth
Once DISM completes, run:
sfc /scannow
3) Download WLanSvc.dll from Microsoft
If the above methods don’t help, download a copy of wlansvc.dll from Microsoft.
- First, find your OS Version and Build by running
winver.exe
orver
(in Command Prompt). - Visit the WinBIndex portal and download the right version of
wlansvc.dll
for your computer. For more information, check out the article Download Missing System files (dll, exe, sys) from Microsoft site. - When you downloaded file, the file name will be a long string of characters with the
.blob
extension. So, after downloading the the file, rename it toWlansvc.dll
.
Next, copy Wlansvc.dll
to the System32 directory. Follow these steps:
- Open a TrustedInstaller Command Prompt (See Instructions here) using AdvancedRun.
- Close AdvancedRun.
- In the TrustedInstaller Command Prompt, run the following command:
copy "c:\users\<yourusername>\desktop\wlansvc.dll" "c:\windows\system32" /y
(* Replace <yourusername> with your actual user account profile folder name. Also, if you’ve downloaded the file to a different location, use the correct path for the source file.)
- Close the Command Prompt window.
- Open the Services MMC Services.msc, right-click WLAN AutoConfig, and click Start.
The WLAN AutoConfig service should successfully start!
One small request: If you liked this post, please share this?
One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:- Pin it!
- Share it to your favorite blog + Facebook, Reddit
- Tweet it!
Thank you for this post. This was really helpful.