IMG 20210604 082713 Disable WiFi in Windows 10 Using CMD or Powershell,disable WiFi in Windows 10 with Command Prompt or Powershell

How to Disable WiFi in Windows 10 Using CMD or Powershell

How to Disable WiFi in Windows 10 Using CMD or Powershell? Many tasks are initiated from the Windows 10 command line and Powershell, including managing Internet settings. In this step-by-step article, I will show you how to disable WiFi in Windows 10 using CMD or powershell.

Built-in netsh tool, a command line utility for managing network connections and settings. You can use it to stop, enable, connect or disconnect Wi-Fi and Ethernet connections to do more work.

Disable Wi-Fi connections in Windows 10 Windows 10 has a built-in Netsh tool, a command-line utility for managing network connections and settings. It allows you to disable, enable, enable or disable Wi-Fi and Ethernet connections, etc. Let’s see what commands are needed to disable WiFi connections in Windows 10.

Related: How to Protect your Wifi From FragAttacks and Attackers

How to disable WiFi in Windows 10 using CMD or Powershell

Here are the steps required to disable WiFi in Windows 10 with Command Prompt or Powershell:

1. Disable WiFi Using Command Prompt

  • Firstly, go to the Search option in Windows 10 and search for Command Prompt.
  • Then, open the Command Prompt app and tap on the Run as Administrator option to start CMD with administrator privilege.
How to Disable WiFi in Windows 10 Using CMD or Powershell
Opening CMD
  • Before entering the command to disable Wi-Fi, you need to know the name of the wireless interface to be disabled. So, first, enter the following command to display the name of the network interface:

netsh wlan show interfaces

  • Now, write the below command which you can use to disable WiFi in Windows 10:

netsh interface set interface name=”WirelessNetworkName” admin=DISABLED

  • Instead of WirelessNetworkName, write the name of your wireless interface (see below screenshot for example).
  • After putting the command, tap Enter to run it; it will disable WiFi on your PC.
IMG 20210604 082643 Disable WiFi in Windows 10 Using CMD or Powershell,disable WiFi in Windows 10 with Command Prompt or Powershell
Disable WiFi Using Command Prompt

Here are some other commands that you must know in case you want to switch WiFi settings:

  • To enable WiFi connection again, enter this command:

netsh interface set interface name=”WiFiNetworkName” admin=ENABLED

  • If you want to simply disconnect WiFi, you can use this command:

netsh wlan disconnect

  • To connect to a specific WiFi connection, this command can be used:

netsh wlan connect name=”WiFiNetworkName”

2. Disable WiFi using Powershell

  • Go to the Search option of Windows 10 and type Powershell.
  • Next, run it with administrator privilege, as depicted in the below screenshot.
IMG 20210604 082631 Disable WiFi in Windows 10 Using CMD or Powershell,disable WiFi in Windows 10 with Command Prompt or Powershell
Opening Powershell
  • Now, to know the adapter name which you want to disable, you can use the following command in Powershell:

Get-NetAdapter | format-table

  • After that, write the below command and press Enter to disable your WiFi:

Disable-NetAdapter -Name “Adapter-

IMG 20210604 082617 Disable WiFi in Windows 10 Using CMD or Powershell,disable WiFi in Windows 10 with Command Prompt or Powershell
Disable WiFi using Powershell
  • If you want to enable your WiFi again, simply use the below command in Powershell:

Enable-NetAdapter -Name “Adapter-Name” -Confirm:$false

Conclusion

Therefore, you can disable WiFi in Windows 10 using CMD or powershell, or use them directly to turn on Wi-Fi.

Just enter the disconnect command and the WiFi connection on your computer will be disconnected. When you want to turn on Wi-Fi again, you can use the other commands mentioned to turn on the Wi-Fi connection.

More to read:

How to Add and Delete Wireless Display on Windows 10 PC (2021)

How to Download and Install TikTok on Windows 10 PC Without installing BlueStacks.

How to Check Windows 10 Version Edition and OS Build on Windows PC in 2021

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: