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

rmd06

New Member
Messages
1
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
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; Windows 11 Pro
    Computer type
    PC/Desktop
    CPU
    i7-12700K (Alder Lake)
    Motherboard
    Asus PRIME Z690-M Plus D4
    Memory
    16 GB
    Graphics Card(s)
    Asus GeForce 1050 Ti, 4 GB
    Monitor(s) Displays
    Philips 235PQ
    Screen Resolution
    1920x1080 (FHD)
    Hard Drives
    Windows 8.1: Samsung SSD 980 PRO, 500 GB (M.2)
    Windows 11: Samsung SSD 870 EVO, 500 GB (SATA)
    PSU
    Platimax D.F. 1050 W (80 Plus Platinum)
    Browser
    Google Chrome
Back
Top