locked
Auto Redial for Internet connections in Windows 8

    Question

  • There was a feature in previous versions of windows on number of redial attempts to a broadband connection and interval between successive dial attempts. I am unable to find the feature in Windows 8. Is there an option to bring it back ? It was such a useful option,especially when you don't have a stable internet connection.
    Saturday, May 12, 2012 6:20 PM

All replies

  • Dear Vegan,

    I don't use a dial up connection. It is broadband connection (PPPoE) which connects through network cable and requires a username and password.

    Microsoft has removed the option for number of connection attempts in windows 8. In windows XP you could set upto 999 connection attempts. In windows 7 it was reduced to 99 and now it is completely gone.


    Anoop Philip

    Sunday, May 13, 2012 5:21 PM
  • Can you see the option "Redial if line is dropped" in the Properties->Options tab of the PPPoE connection?

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

    Wednesday, May 16, 2012 6:21 AM
    Moderator
  • I am not able to find any option for Redial

    Please see attached screenshot.


    Anoop Philip

    Wednesday, May 16, 2012 4:20 PM
  • That these options are removed is truly pathetic. And to think an MVP says "dial up connections are rare". An MVP should know better that VPN connections, PPPoE/DSL connections all need these redial options.
    • Proposed as answer by Musafir_86 Sunday, October 14, 2012 8:37 AM
    Tuesday, May 29, 2012 6:39 AM
  • For us with PPPoe, no setup disk or anything will help, only thing that may help is if you set up your router to redial,

    but some of us have that feature disabled on a router, redial if line is dropped is essential, removing this feature in win 8 has no sense!


    Sunday, June 3, 2012 9:43 PM
  • Dial ups are not rare...
    In India most of ppls use DSL (dialups)....
    In windows 8 developer preview redial functionality was there after that they removed it.....
    Redial attempts are required to stay connected....
    Sunday, July 1, 2012 5:53 AM
  • I just don't see the logic of randomly removing features and option from here and there. Is someone at MS intentionally deleting features? Let's remove three option from this dialog, and let's remove the choice from this dialog. It's like a cancer of constant feature loss spreading all around in Windows 8. Someone thought let's remove the sound events for logon, logoff and Exit Windows. Some else thought let's remove the STATUS of a network from the notification area icon. And then we'll delete the Start menu. XP and Vista had choice between Classic Menu and new menu. A simple radio button choice between Start Menu (for desktop usage) and Metro screen (for tablets) would have solved the issue which millions are angry about. MS should learn to leave alone what already works well. They are trying too hard and in the process removing features.


    • Edited by xpclient Sunday, July 1, 2012 6:22 AM
    Sunday, July 1, 2012 6:19 AM
  • -I seriously second this opinion - I myself use Dial-Up Networking to tether internet using my Nokia phone as the modem during my travels. Imagine (millions) other users who also use dial-up method to connect to their 2G/3G/3.5G network (whether tethering their phones or using USB broadband modem); I bet they will be surprised the 'enhancement' Windows 8 brought to them. :)

    Regards.

    • Proposed as answer by Musafir_86 Sunday, October 14, 2012 8:37 AM
    Sunday, October 14, 2012 8:36 AM
  • I had same problem, i found Connection Keeper 11.3 Free that keeps your connection alive and redials if dropped.
    • Edited by EhsanMR Thursday, November 22, 2012 2:57 PM
    Thursday, November 22, 2012 12:23 PM
  • ??? SLIP is the old UNIX way. PPP over Ethernet (PPPoE) is very commonly by ISPs globally to establish a DSL connection, either as emulated ISDN or dial-up modem.
    Thursday, November 22, 2012 1:26 PM
  • How about Vegan stick to the subject now eh?

    I have the same problem as the above. This is really wierd.

    Thursday, November 22, 2012 10:38 PM
  • I searched for a way to keep a VPN connection alive and this was the first hit on Google.. so, while it's not exactly the solution to your problem, here's a great tutorial for those who need to keep a VPN connection alive.

    The premise to this being that the basic internet connection stays alive as well. (Since I use a cable router that connects to the internet I don't know how to keep a dial-up connection alive via Windows, sorry.)

    http://windowsvpn.info/vpn-show.php?e_id=19

    This tutorial is really great.

    However, you need to change the entries in the "VPN Server List" file to match your VPN connection. Note that the default connection in the Server List File is set to "VPN-servername2", so either you enter your VPN address in "VPN-servername2" or you enter the address in"VPN-servername1" and change the default to "VPN-servername1" as well which makes more sense to me.

    If you're just using 1 VPN connection with 1 static server address you may change the settings in  step 8 and enter your VPN's address in the field next to "Always use the same VPN server" and activate that toggle.

    Also, you may need to change the connection security settings to a different protocol, according to your VPN encryption (Step 12).

    Once done you need to start the executable the program generated and install the connection in Windows. You then get the old school xp dial-up window where you enter the username and password for your VPN connection. To enable auto-redial you need to save the password of course and check "connect automatically".

    Also, by default the connection will disconnect after 10 minutes of idle time. To change that click on "Properties" in the dial-up window and set "Idle time before disconnecting" to "never". Set the number of redial attempts to suit your needs too.

    That should be all. From now on your VPN is auto-redialed if the connection's lost!

    Friday, November 23, 2012 11:12 AM
  • There is no option to bring it back yet in Windows 8. I suggest you try using Connection keeper 11.3. I use it myself (my OS is Windows 8) and it works perfectly. It has auto reconnect option that works as auto redial in previous windows editions. Hope I solved your problem.
    Saturday, December 8, 2012 7:09 PM
  •  

    Had this problem for a few weeks but finally got a chance to spend some time on it last night. Came across this thread....My guess is that with Microsoft making the VPN connection RT-Like, they missed part of the dialog or put it that way for RT Tablets with the thought that you wouldn't want the VPN reconnecting and using up data/battery. Of course they missed the point of keeping it for desktops.....

    Anyways I was hoping that the dialogs info was missed by the actual code wasn't as is the case sometimes. Looked promising when I checked the VPN config and found the settings generated in a Windows 8 connection. Unfortunately while the settings are enabled for redial, the redial function doesn't work. I tried establishing a VPN connection with rasdial though dos but still no luck. Just occurred to me as I'm typing this email that I may try renaming the rasdial.pbk and loading it with the Rasdial comment to establish a VPN connection, maybe it will use the settings. Will give it a try later.

    The C:\Users\Joe\AppData\Roaming\Microsoft\Network\Connections\Pbk\rasphone.pbk actually has the redial settings enabled in it...

    RedialAttempts=3
    RedialSeconds=60
    IdleDisconnectSeconds=0
    RedialOnLinkFailure=1 (This is set to one in Windows 7 when you enable the Redial checkbox)

    In case anyone is interested, came up with a fairly good workaround last night until MS releases an update to put the settings back. I like this solution better than running a 3rd party solution to try to keep the VPN up. You can setup a Task Schedule job to trigger on a disconnect. I gave it a try last night and the VPN immediately reconnected. I'm checking for client/remote disconnect error codes excluding the "user disconnect" code to avoid it reconnecting when you actually want to disconnect. These are just two error codes I noted in the event log, MS lists a lot more error codes but I haven't experienced them on disconnects though they could be added. If anyone uses this and thinks more codes should be added please update the xml query or let me know and I'll update it. Forgive the XML query, not something I usually do so if it can be formatted better, let me know...for learning ;)

    Here is a list of some error codes (this is not complete for Win8 but I didn't spend much time searching)

    http://support.microsoft.com/kb/824864?wa=wsignin1.0


    How to setup a Scheduled Task to Trigger on a VPN Disconnect

    1. Click Windows8 Start and type Schedule Task (open it under Settings)

    2. Click Create Task

    3. Apply the following settings in the specified Tabs (italics describes each setting)

    General Tab

    Name: VPN Redial
    For descriptive use, you can use any name you want like My Company VPN Redial....whatever.....

    Select: Run whether user is logged on or not
    Provided you have a password associated to your login account, this option will prevent the dos window from opening everytime the job runs. If you don't have a password, leave it and  see the notes below these steps.


    Triggers Tab

    Click New button
    To create a new trigger we will use to activate the job when the VPN connect disconnects

    Begin the task: On an Event
    The job will be triggered by an Application event log entry

    Select: Custom
    Custom gives us the flexibility of creating a more detailed query

    Click New Event Filter... button
    Here is where we build the query for the trigger

    Click the XML tab
    This tab allows us to write our own query (even more flexible)

    Check Edit query manually
    To start a manual edit

    Copy the following query
    This query will trigger on an Application Event for RasClient with an EventID of 20226 and error codes 829 (Remote Disconnect), 629 (Client Disconnect). Copy from and including <QueryList> to </QueryList>

    <QueryList>
      <Query Id="0" Path="Application">
        <Select Path="Application">*[System[Provider[@Name='RasClient'] and (EventID=20226)]] and *[EventData[Data[4]='829' or '629']]</Select>
      </Query>
    </QueryList>

    Click OK

    Ensure Enabled is checked
    Check it if it's not checked to make sure the job will be enabled

    Click Ok

    Actions Tab

    Click New
    To create an action to be performed when the job is triggered

    Action: Start a program
    Selection this option will allow us to start rasdial to reestablish the VPN connection

    Program/script: rasdial
    Should already be in path so just enter rasdial command

    Add arguments (optional): "VPN Name" username password
    VPN name is the name you defined for your dialup connection. Example, when you click the network icon in the system tray, the name that's listed for your VPN, make sure you enter it in exactly as displayed. Following the connect would be your username and password. Example, "MY VPN Connection" username password

    Click Ok

    Conditions Tab (not required unless you are using a laptop)

    Uncheck: Stop if the computer switches to battery power

    Settings TAB

    Enable: If the task fails, restart every: 1 minute
    In case there is a temporary issue re-establishing the VPN connection. You can specify whatever value you want instead of 1 minute

    Attempt to restart up to: 7 times
    Again in case there is a temporary issue re-establishing the VPN connection. You can specify whatever value you want instead of 7 times

    Click Ok
     

    Notes

    1. Haven't really tested this much but I had configured it last night, woke up this morning to find the Event log showing 4 disconnects, and the job redialed all 4 times, VPN connection was still active.

    2. In the General Tab we enabled "Run whether user is logged on or not. This is a non issue since there won't be a VPN connection when you're not logged in. What this option does since we are running a dos (rasdial) command, it prevent a dos window from opening every time the job runs so you won't be distracted if you're in the middle of something. This option only works if you have a password (which you should) associated with your account. If you don't and just allow your computer to boot to desktop, the option won't work. What I've done for people in these situations is created a little VBScript wrapper to launch the dos command to avoid the dos prompt. Not really an issue unless you're anal about it like me, you could simply deal with the Dos window opening up.

    3. Again the query checks the event log for a new Entry for RasClient with an event id of 20226 containing error codes 820 or 620. you can add additional error codes by repeating the pattern. Example to also trigger on 222 and 333 you would modify the relevant part of the line as such *[EventData[Data[4]='829' or '629' or '222' or '333']]</Select>

    4. I'm checking error codes because I don't want the job to be reconnected if I purposely disconnect the VPN which generates a 631 code under Event ID 20226.


     

     

     


     

     

     

     

     

     

     

     

     

     

     

     

    • Proposed as answer by Rui Holdorf Friday, January 11, 2013 12:29 AM
    Thursday, January 10, 2013 9:43 PM
  • Along with that create another Task which will trigger when your net will be connected

    use the same settings from the previous post. Just change some values in Triggers Tab

    choose on an event

    Log: Microsoft-Windows-NetworkProfile/Operational
    Source: NetworkProfile
    Event ID: 10000

    The 10000 Event ID is logged when you connect to a network.

    I also faced this problem because my hostel's wifi disconnects some time and that time VPN drops and doesn't connect again so this helped me.

    And thanks a lot shoey5 because no where on the web I found any similar suggestion as yours

    • Proposed as answer by kausarayub Friday, February 15, 2013 2:45 AM
    Friday, February 15, 2013 2:44 AM
  • May be this can help

    Windows 8 Redialer
    • Proposed as answer by ankit_sam Sunday, May 19, 2013 7:03 AM
    Sunday, May 19, 2013 7:03 AM