< Browse > Home / Uncategorized / Blog article: Auto connect wireless ad-hoc networks in windows vista

| Mobile | RSS

Auto connect wireless ad-hoc networks in windows 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\Windows\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.

|