In order to have your windows computer connect to your favorite WiFi access point immediately after booting, (without you having to first login to your computer,) follow these simple steps:
-
First of all, make sure that this computer has previously connected to the WiFi spot of interest. (This is necessary, because a so-called wireless profile is created as a result of this manual process.)
-
Run cmd.exe and issue the following command:
netsh wlan show profile -
In the list of wireless profiles that are displayed, locate the one you want, and copy its name to the clipboard.
-
Run regedit.exe and navigate to this key:
HKEY\_LOCAL\_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run -
Add a string value to this registry key. Name it anything you like, and give it the following value:
%comspec% /c netsh wlan connect name="<profile name>"
Voila, next time you restart, your computer will immediately connect to this WiFi spot if it is in range.
Many thanks to user Soumya of superuser.com for posting this: http://superuser.com/a/133935/111757