Connect to Wi-Fi ad-hoc networks automatically with Windows Vista
Posted on June 26, 2008 at 5:32 am
I recently moved to a new apartment, and lost my small network switch I used for connecting my two laptops and my EEE PC together. All of these devices have a WiFi adapter so I figured I would just set up an Ad-Hoc WiFi network instead of using cables.
This would also mean I could share the Internet connection from my main work laptop and allow me to sit outside in the garden with my sub-notebook and work in the fresh air.
I hit one very annoying fact very early on in this. Namely that Windows Vista does not allow automatic connection to an Ad-Hoc WiFi network, it is seen as a security risk, this meant that every time I started one of the Vista machines I had to manually connect to the network, very annoying at times if I forgot about it. So I decided to solve this problem and I found a way using the Windows Task Scheduler.
I first created the Ad-Hoc WiFi network and connected too it, I saved the network setting as a WiFi profile and gave it the name “Decurro”, if you try this yourself you need to remember the name you give the network profile for a later step. I then used the “Create Basic Task” option in Task Scheduler.
Follow the wizard, give the task a name and then choose the “When I log on” option from the “Task Trigger” window. In the next window select “Start a program” and entered the details in the following screenshot, remember to substitute “Decurro” for your own network name. Then complete the wizard.
And that is pretty much it, next time you log in to your PC, your Ad-Hoc connection will be connected. I did have one slight problem with a driver not being loaded quickly enough after a reboot and the connection failing, so I added a delay to the task.
To allow for your system to settle down after a login, before opening the network connection, you will need to go back into the Task Scheduler and edit the task you created, choose the “Triggers” tab and click edit, you will be presented with a window that looks like the one below.
Put a tick in the “Delay task for” box and set the delay to 1 minute, this solved the problem I had with my laptop not being in a state to open the network connection right after login, some people might need to do this, others may not. So there you have it, a quick work around to a ridiculous security limitation of Vista.
» Filed Under Computer Tips, Windows Vista
Save this page |
Stir it up on Mixx |
|
Add to Reddit |
Related Posts
- How to troubleshoot your Windows XP wireless network connection problems
- How to make your laptop act as a router
- How to disable service set identifier (SSID) broadcasting on your wireless router
- Recover accidentally closed programs in Windows
- Wireless Tips - Does your wireless router keep disconnecting or dropping the connection?
Save this page
Stir it up on Mixx
Add to Reddit






















great tips…never know about this…thanks for sharing.
Thanks so much for this. I have been looking for way to long for this
Works like a charm, thank you for the help.