Share via

Turn on WiFi using a command

Anonymous
2019-07-25T10:33:09+00:00

Hi,

Rather than switching WiFi on/off using WiFi icon in Action center, is there any command to perform this task? 

Thanks and Regards,

Akshay Sakpal

Windows for home | Windows 10 | Internet and connectivity

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Anonymous
    2019-07-25T20:33:04+00:00

    Hi Akshay,

    I'm Charles, an Independent advisor trying to help.

    I understand that you want to activate the Wifi option when you have the red X in network connections if so, you can use the following command:

    Start Windows >> CMD >> Run as Administrator >> Then, type the command >> netsh interface show interface >> It will show information related to the name of the interface, usually it is Wi-Fi, if that is the case, to turn it on, type this command in a new line >> netsh interface set interface Wi-Fi enabled, at that time it will be activated, now you can also create a shortcut. On a notepad type that command >> netsh interface set interface Wi-Fi enabled and save it with the extension .bat on the desktop, to activate you just have to run it. To deactivate it, apply exactly the same steps, and the command would be: netsh interface set interface Wi-Fi disabled

    I hope it works for you and suits your request

    Have a happy day

    Best Regards,

    Charles.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Sumit D - IA 169.4K Reputation points Independent Advisor
    2019-07-25T10:35:40+00:00

    Hi Akshay,
    I am Sumit, an Independent Advisor and a 2-Year Windows Insider MVP here to help.

    You can use if your manufacturer has provided a key on the keyboard. There isn't a registry key or a command prompt command that would work.

    https://www.tenforums.com/tutorials/33925-wi-fi...

    Disclaimer:
    This is a non-Microsoft website which would provide accurate and safe information. Watch out for ads on the site which are frequently classified as a PUP (Potentially Unwanted Products). There is no need to buy paid products to fix your computers as they do more harm than good sometimes.

    Was this answer helpful?

    0 comments No comments