≡ Menu

How to disable WiFi Connection

This article shows how to disable Wireless network connection(WiFi) on a windows system from command line. We can also find the status of network connections, check if they are connected or disconnected.

Disable Wifi from command prompt

Open elevated administrator command prompt and run the below command

netsh interface set interface name="Wireless Network Connection" admin=DISABLED

After running the command, you can immediately see in System tray (Right bottom corner on your windows screen) that WiFi is disconnected. In network connections, it shows it as disabled.

Wifi connection disabled

To Enable Wifi network connection

netsh interface set interface name="Wireless Network Connection" admin=ENABLED

To find the status of network connection

netsh interface show interface

This command shows the status of all network connections on your computer. You can see the status of LAN network connection too.
Example:

C:\WINDOWS\system32>netsh interface show interface
Admin State    State          Type             Interface Name
-------------------------------------------------------------------------
Enabled        Connected      Dedicated        Wireless Network Connection
Enabled        Disconnected   Dedicated        Local Area Connection
Disabled       Disconnected   Dedicated        Cisco AnyConnect Secure Mobility Client Connection

Errors

This command needs to be run from elevator command prompt to make any changes to the network connection configuration. Running from normal command prompt throws up error as below.

C:\>netsh interface set interface name="Wireless Network Connection" admin=DISABLED
An interface with this name is not registered with the router.
0 comments… add one

Leave a Comment