Skip to content

Wi-Fi not working

Question

Wi-Fi used to work, but now it doesn't. How do I fix it?

Answer

Some debloat / tweak tools disable the services Windows needs to manage Wi-Fi adapters and network profiles. Run the script below in an elevated Command Prompt (Run as administrator) to restore them.

WARNING

Run this only if Wi-Fi was working before and stopped after applying tweaks. It re-enables and starts core networking services.

Fix script

bat
:: ------------------------------
:: Set services to start automatically
:: ------------------------------
sc config Wcmsvc start= auto
sc config WlanSvc start= auto
sc config NlaSvc start= auto

:: ------------------------------
:: Set services to start on demand
:: ------------------------------
sc config NativeWifiP start= demand
sc config NetSetupSvc start= demand
sc config Netman start= demand
sc config netprofm start= demand
sc config NcbService start= demand

:: ------------------------------
:: Start the configured services
:: ------------------------------
echo Starting configured services...
sc start Wcmsvc
sc start WlanSvc
sc start NativeWifiP
sc start Netman
sc start netprofm
sc start NlaSvc
sc start NetSetupSvc
sc start NcbService

After running

The Wi-Fi icon should reappear in the taskbar and your saved networks should connect again. If not, reboot the PC and check the Wi-Fi adapter in Device Manager.