
07-22-2009
|
|
|
|
Re: Auto connect Ad-Hoc wireless network in Vista
Windows vista doesn’t connect adhoc networks automatically. we
need to connect manually by selecting a network from the available
networks after each restart or standby.
There is a workaround for this.
The following command is helpful in connecting the adhoc networks
automatically.
netsh wlan connect name=Profile2 ssid=SSID2 interface="Wireless Network
Connection"
ssid - SSID of the wireless network.
name - Name of the profile to be used in connection attempt.
interface - Name of the interface from which connection is
attempted.
To connect to any network automatically do the following
1. open the startup folder of the current user
eg. C:\Users\<UserName>\AppData\Roaming\Microsoft\Wind ows\Start
Menu\Programs\Startup
2. create a shortcut
Right click –> New Shortcut
In the location text box type the command with your wireless SSID and
Profile Name
netsh wlan connect name=Profile2 ssid=SSID2 interface="Wireless Network
Connection"
Click next and give any name for the short cut
Every time you restart your windows it will connect to your adhoc
network automatically.
--
habita73
|