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

by HowTo101 in Circuits > Computers

181640 Views, 8 Favorites, 0 Comments

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. 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

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

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

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