If you don’t know how to enable or disable Wi-Fi using command prompt on Windows, we are going to help you out.
Having wireless networks nowadays is very important. We have more and more devices that support internet access without the need for cables. We are especially talking about what is known as the Internet of Things. These are all the devices in our home that have access to the network.
This makes it very important to manage the Wi-Fi network correctly. It is essential to configure the equipment properly. To do this we can use the operating system’s Command Prompt and manage everything there.
How to disable Wi-Fi using command prompt on Windows?
We can disable Wi-Fi through the menu and settings of Windows 10, which is the operating system most used by desktop users. But sometimes this is not possible for different reasons. Maybe the feature is not enabled, we have some malware that prevents us, or we simply want to opt for some alternative.
The first step we must take is to access the Command Prompt. To do this we must go to Start, type Command Prompt and open it with administrator permissions. This is important to be able to execute certain commands.
Then, it is necessary to know the name of the Wi-Fi interface that we want to disable. If we know the name we simply write it down or keep it in mind.
If we do not know the name of the network interface, we must execute the command netsh wlan show interfaces. It will show us a series of data, such as the MAC address, the network to which we are connected, the type of encryption, etc. And we will also see the name. This is the first option that appears.
We need to run the command netsh interface set interface name=”Network-name” admin=DISABLED
Here we have to change “Network-name” to the name of the interface. It would look like this: netsh interface set interface name=”Network-name” admin=DISABLED
This way the Wi-Fi network will be disabled. It will take a few seconds and we will see that automatically the Wi-Fi icon in the taskbar shows us that it is not available. If we click on it we will see that no networks appear.
How to enable Wi-Fi using Command Prompt on Windows?
Now we have disabled the Wi-Fi interface. Therefore the next step would be to enable it again. In this case, we do not have to change much. We need to execute a similar command, where we only change ENABLED for DISABLED. Therefore, it would look like this: netsh interface set interface name=”Network-name” admin=ENABLED.
The command should look like: netsh interface set interface name=”Wi-Fi” admin=ENABLED.
So, following these simple steps we can enable or disable Wi-Fi in Windows 10 from the command prompt. We do not have to install anything additional, just know what is the name of the network interface and follow the steps that we have shown.