What's new

Is there a turn on or off Wi-Fi command?

rmd06

New Member
Hi, is there a command to switch the on/off sliding status in the right side of WLAN Networks UI screen? It seems that this turn on/off the network adaptor power.Thanks
 

My Computer

System One

  • OS
    windos 8.1

Slavic

Member
Member
If you want to disable or enable Wi-Fi interface, this can be done by commands in Administrative command prompt:
Code:
netsh interface set interface "Wi-Fi" disable
or
netsh interface set interface "Wi-Fi" enable
In this example, the interface name is Wi-Fi. You can check the name on your machine and replace it if need:
Code:
netsh interface show interface
You can make two *.cmd files to switch the Wi-Fi off or on. Some drawback is, these commands can be performed only in Admin mode, so you need to run them as Administrator (or set this mode in the properties of shortcut to a cmd file) and confirm it in UAC interface. After that, whether you will be connected automatically to a particular network after enabling the interface or not, depends on your network settings.
 

My Computer

System One

  • OS
    Windows 8.1 Pro
    Computer type
    PC/Desktop
    CPU
    i7-6700 (Skylake)
    Motherboard
    Asus Maximus VIII Gene
    Memory
    16 GB
    Graphics Card(s)
    Asus GeForce 1050 Ti, 4 GB
    Monitor(s) Displays
    Philips 235PQ
    Screen Resolution
    1920x1080 (FHD)
    Hard Drives
    Samsung SSD 950 Pro, 512 GB

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top