Resolve "WLAN does not log on automatically" issue with Netsh wlan command line Win10

Source: Internet
Author: User

The system crashed, found a version of Windows 10 reload, found that after entering the system will not automatically connect their own home WiFi, each time to manually click "Login", annoying.

So Baidu, Google together, find solutions, and then all the methods on the Internet after the test or not, what first "forget" and then tick "automatic connection" Ah, Group Policy Ah, the registry ah What have been tried all over, or nephew playing lantern-as usual.

After two days, oneself carefully pondering, not have Netsh, with netsh wlan command directly to line not, so Google has a related material, finally detours solved this problem.

The following steps are documented for use by students with the same problems.

1, first run 3 commands, get your local want to connect the WiFi interface name, configuration name and SSID;

Netsh wlan show interfaces; Get interface name, assumed to be a
Netsh wlan show profile; get configuration name, assuming B
Netsh wlan show networks; get SSID, assuming C

2, the preparation of a batch file Autowlan.bat, the contents are as follows:

Netsh wlan connect interface= "A" name= "B" ssid= "C"

3, write a VBS file Autowlan.vbs (to prevent the appearance of ugly DOS window), the contents are as follows:

DIM Objshell
Set Objshell=wscript.createobject ("Wscript.Shell")
Ireturn=objshell.run ("cmd.exe/c c:\Windows\AutoWlan.bat", 0,true)

4, put Autowlan.bat and autowlan.vbs these 2 files in C:\Windows directory,

Then, in Control Panel, Administrative Tools, Task Scheduler, add a task that starts autowlan.vbs when you log on.

At this point, the problem solved, a boot after the WiFi automatic connection, looking more comfortable. o Yes!

Resolve "WLAN does not log on automatically" issue with Netsh wlan command line Win10

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.