Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: [Q] Make Windows Connect to Specific Wifi Network After 60 seconds?


15 Jan 2013   #1

Windows 8 Pro
 
 
[Q] Make Windows Connect to Specific Wifi Network After 60 seconds?

I do a lot of wifi hotspot testing over Teamviewer. When the hotspot doesn't work I lose the Teamviewer connection. Is there any way to make Windows connect to a specific network after about 60 seconds or so?

If I can choose the specific wifi network to make Windows to connect to after a set amount of time my life would be much easier!

My System SpecsSystem Spec
.

15 Jan 2013   #2

W7 Pro SP1 64bit
 
 

Welcome to the Seven Forums.

So, there are two or more Wi-Fi SSIDs that you are authorized to connect to in the remote location?

Others in the forum might have a better way to do this, but I would use AutoIt in a ping loop - if the ping fails - then double check - if ping still fails, use netsh to create a connection. Or use the info here or here.
My System SpecsSystem Spec
15 Jan 2013   #3

Windows 8 Pro
 
 

Thanks for the response. I don't need to do any sort of pinging since the remote session will pick up again if the connection is successful. I made a simple batch using netsh that'll do the trick. If I get the connection I need I can just close the batch file before the pause finished. My batch script is posted below. The first ping line just pauses the script.

ping 123.45.67.89 -n 1 -w 10000 > nul
netsh wlan connect ssid=NETWORKNAME name=NETWORKNAME
My System SpecsSystem Spec
.


15 Jan 2013   #4

W7 Pro SP1 64bit
 
 

Yes - that batch file should work; however, it requires you to remember to launch it. As long as there is someone on the other end that can run it for you should you forget, then you don't need any more than that.

I was thinking more along the lines of a script that automatically started once you connected via TeamViewer - but that might be overkill for your situation. :-)
My System SpecsSystem Spec
Reply

 [Q] Make Windows Connect to Specific Wifi Network After 60 seconds?




Thread Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 08:08 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33