How to Turn Wifi On/Off Using Command Prompt!!

by HowTo101 in Circuits > Computers

162338 Views, 8 Favorites, 0 Comments

How to Turn Wifi On/Off Using Command Prompt!!

How To Turn Wifi On/Off using Command Prompt!!

This Instructable will show you how to turn the wifi on your computer on or off using command prompt

Please subscribe to my channel

Thanks :)

Open Command Prompt

1.png
2.png
3.png
4.png
20190112_161423.jpg
6.png

1. Open the Start Menu

2. Type Command Prompt in the Search Bar

3. Right Click on Command Prompt

  • It should be listed under Programs

4. Select Run as administrator

  • If you get a pop up click Yes

Type Command to Get the Index Number for the Wifi Adapter

7.png
8.png
9.png

1. Type wmic nic get name, index

  • nic stands for network interface card

2. Find the index number for your wifi adapter

Type Command to Turn Wifi Off

10.png
11.png
12.png
13.png

1. Type wmic path win32_networkadapter where index=(index number for wifi adapter) call disable

  • For the example shown in this article the index number for the wifi adapter is 7, so you would type wmic path win32_networkadapter where index=7 call disable

2. Press Enter

  • Once you press enter your wifi should turn off, the icon should disappear, and it should say not connected - no connections are available

Type Command to Turn Wifi On

14.png
15.png
16.png
17.png
18.png

1. Type wmic path win32_networkadapter where index=(index number for wifi adapter) call enable

  • For the example shown in this article the index number for the wifi adapter is 7, so you would type wmic path win32_networkadapter where index=7 call enable

2. Press Enter

  • Once you press enter your wifi should turn on, the icon should reappear and it should say not connected -connections are available

3. Close Command Prompt