22 Jul 2025HTML

Wifi not visable in Windows

Everything as Admin

In CMD

@echo off
echo [1/5] Show current Wi‑Fi interfaces…
netsh wlan show interfaces

echo.
echo [2/5] Restart WLAN AutoConfig service…
sc config wlansvc start=auto
sc stop wlansvc
sc start wlansvc

echo.
echo [3/5] Restart the adapter…
powershell -Command "Restart-NetAdapter -Name 'Wi‑Fi' -Confirm:$false"

echo.
echo [4/5] Full network stack reset (will remove & reinstall all network adapters)…
netcfg -d

echo.
echo [5/5] Run the built‑in troubleshooter…
msdt.exe /id NetworkDiagnosticsWeb

echo.
echo ⚠️ A reboot is required after `netcfg -d`. Reboot now and retest Wi‑Fi.
pause

After this restart.

If still not work follow below

In Powershell as Admin

# 1. Enumerate all network devices
Get-PnpDevice -Class Net | Format-Table -AutoSize

# 2. If you see a “Wireless” or “Wi‑Fi” entry with Status = Disabled, enable it:
Get-PnpDevice -Class Net |
  Where-Object { $_.FriendlyName -Match 'Wireless|Wi‑Fi' -and $_.Status -eq 'Disabled' } |
  Enable-PnpDevice -Confirm:$false

# 3. Ensure WLAN AutoConfig service is set to start automatically and is running
Set-Service -Name wlansvc -StartupType Automatic
Start-Service wlansvc

# 4. Verify the adapter is up
Get-NetAdapter -Name "*Wi‑Fi*" | Format-Table Name, Status, LinkSpeed





# List adapters with their index
wmic nic get Name,Index,NetEnabled

# (Assuming your wireless adapter’s Index is X) enable it:
wmic path win32_networkadapter where index=X call enable

You will get result like

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows

PS C:\WINDOWS\system32> # 1. Enumerate all network devices
>> Get-PnpDevice -Class Net | Format-Table -AutoSize
>>
>> # 2. If you see a “Wireless” or “Wi‑Fi” entry with Status = Disabled, enable it:
>> Get-PnpDevice -Class Net |
>>   Where-Object { $_.FriendlyName -Match 'Wireless|Wi‑Fi' -and $_.Status -eq 'Disabled' } |
>>   Enable-PnpDevice -Confirm:$false
>>
>> # 3. Ensure WLAN AutoConfig service is set to start automatically and is running
>> Set-Service -Name wlansvc -StartupType Automatic
>> Start-Service wlansvc
>>
>> # 4. Verify the adapter is up
>> Get-NetAdapter -Name "*Wi‑Fi*" | Format-Table Name, Status, LinkSpeed

Status  Class FriendlyName                              InstanceId
------  ----- ------------                              ----------
OK      Net   Remote NDIS Compatible Device             USB\VID_05C6&PID_9024&MI_00\6&5FF2F90&0&0000
Unknown Net   Remote NDIS based Internet Sharing Device USB\VID_2D95&PID_600A&MI_00\6&2A7AC281&0&0000
OK      Net   WAN Miniport (PPPOE)                      SWD\MSRRAS\MS_PPPOEMINIPORT
OK      Net   WAN Miniport (PPTP)                       SWD\MSRRAS\MS_PPTPMINIPORT
OK      Net   WAN Miniport (IKEv2)                      SWD\MSRRAS\MS_AGILEVPNMINIPORT
OK      Net   Microsoft Kernel Debug Network Adapter    ROOT\KDNIC\0000
OK      Net   WAN Miniport (Network Monitor)            SWD\MSRRAS\MS_NDISWANBH
OK      Net   WAN Miniport (IP)                         SWD\MSRRAS\MS_NDISWANIP
OK      Net   WAN Miniport (SSTP)                       SWD\MSRRAS\MS_SSTPMINIPORT
Unknown Net   Bluetooth Device (Personal Area Network)  BTH\MS_BTHPAN\6&2690852&0&2
OK      Net   WAN Miniport (IPv6)                       SWD\MSRRAS\MS_NDISWANIPV6
OK      Net   WAN Miniport (L2TP)                       SWD\MSRRAS\MS_L2TPMINIPORT

You may also like

Kill adb in Windows

Kill adb in Windows

Continue reading

How to Install Free SSL Certificate on Windows Server

Secure your Windows Server with a free SSL certificate using Win-ACM...

Continue reading

In Android or Flutter some cases wav sound not playing

In Android or Flutter some cases wav sound not playing

Continue reading