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

About: I post how to videos on youtube and run my own business on the side making hand crafted keychains, Jewelry and other items. One of my main goals in life is to help as many people as I can and just knowing t...

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 :)

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: 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

Step 2: Type Command to Get the Index Number for the Wifi Adapter

1. Type wmic nicget name, index

  • nic stands for network interface card

2. Find the index number for your wifi adapter

Step 3: 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

Step 4: 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

Share

    Recommendations

    • Indoor Lighting Contest

      Indoor Lighting Contest
    • Make It Fly Challenge

      Make It Fly Challenge
    • Growing Beyond Earth Maker Contest

      Growing Beyond Earth Maker Contest

    Discussions