WLAN AutoConfig (Wlansvc) Service Defaults in Windows 7

The WLANSVC service provides the logic required to configure, discover, connect to, and disconnect from a wireless local area network (WLAN) as defined by IEEE 802.11 standards. It also contains the logic to turn your computer into a software access point so that other devices or computers can connect to your computer wirelessly using a WLAN adapter that can support this. Stopping or disabling the WLANSVC service will make all WLAN adapters on your computer inaccessible from the Windows networking UI. It is strongly recommended that you have the WLANSVC service running if your computer has a WLAN adapter.

Default Settings

Startup type: Manual
Display name:WLAN AutoConfig
Service name:Wlansvc
Service type:share
Error control:normal
Group:TDI
Object:LocalSystem
Path:%SystemRoot%\system32\svchost.exe -k LocalSystemNetworkRestricted
File:%SystemRoot%\System32\wlansvc.dll
Registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Wlansvc
Privileges:
  • SeChangeNotifyPrivilege
  • SeImpersonatePrivilege
  • SeAuditPrivilege
  • SeTcbPrivilege
  • SeDebugPrivilege

Default Behavior

WLAN AutoConfig is a Win32 service. In Windows 7 it won't be started if the user doesn't start it. When the WLAN AutoConfig service is started, it is running as LocalSystem in a shared process of svchost.exe. Other system components, such as drivers and services, may run in the same process. If WLAN AutoConfig fails to start, Windows 7 attempts to write the failure details into Event Log. Then Windows 7 startup should proceed and the user should be notified that the Wlansvc service is not running because of the error.

Dependencies

WLAN AutoConfig is unable to start, if at least one of the following services is stopped or disabled:

Restore Default Startup Configuration of WLAN AutoConfig

Before you begin doing this, make sure that all the services on which WLAN AutoConfig depends are configured by default and function properly. See the list of dependencies above.

1. Run the Command Prompt as an administrator.

2. Copy the command below, paste it into the command window and press ENTER:

sc config Wlansvc start= demand

3. Close the command window and restart the computer.

The Wlansvc service is using the wlansvc.dll file that is located in the C:\Windows\System32 directory. If the file is removed or corrupted, read this article to restore its original version from Windows 7 installation media.