How to make Windows 10 automatically connect to a PPPoE internet connection

tutorial
How to make Windows 10 automatically connect to a PPPoE internet connection
Creating, configuring, and connecting to a broadband PPPoE connection in Windows 10 is fairly easy. The only drawback is that, by default, you need to connect manually every time you log in. For many people, this extra step is inconvenient. If you’d rather have your PC automatically connect as soon as you log into Windows, you can configure Windows to do just that. In this guide, I’ll show you how to make your PPPoE Windows 10 setup dial automatically at startup. NOTE: I’m assuming you already created and tested a PPPoE connection on your computer. If you haven’t, read this guide first: How to set up and use PPPoE internet connections in Windows 10.

Step 1. Open Task Scheduler in Windows 10

To make Windows 10 automatically connect with your PPPoE credentials, you’ll need to create a scheduled task. This is done with Task Scheduler, which you can open by searching for Task Scheduler and then clicking or tapping the appropriate result.
Open the Task Scheduler using search
Open the Task Scheduler using search

Step 2. Create a scheduled task that auto-dials your PPPoE connection

Inside the Task Scheduler, go to the right panel and click Create Basic Task….
The Create Basic Task action from the Task Scheduler
The Create Basic Task action from the Task Scheduler This launches the wizard. First, give your task a name, such as Auto Dial - PPPoE Connection. You can also add a description if you want. Then, press Next.
Choosing a name for the PPPoE auto-connect task
Choosing a name for the PPPoE auto-connect task Next, you decide when the task should run. Select When I log on, then click or tap Next. This ensures that the PPPoE connection is dialed every time you sign in.
Selecting the time when to auto-dial the PPPoE connection
Selecting the time when to auto-dial the PPPoE connection Now, you need to specify the action. Since you want Windows to run a command, choose Start a program.
Choosing to Start a program
Choosing to Start a program After you press Next, the wizard asks you what Program / Script you want to execute on a scheduled basis. In order to make Windows 10 auto-dial your broadband PPPoE connection, each time you log into your computer, you must provide Task Scheduler with some information:
  • In the Program/script box, type: rasdial
  • In the Add arguments (optional) field, type:
    • The name of your PPPoE connection (between quotes if it contains spaces)
    • Your broadband username (as given to you by your Internet Service Provider)
    • Your broadband password (exactly as it was set by you or your Internet Service Provider)
Leave the Start in (optional) field empty. For example, let’s say your connection is still named Broadband Connection, your username is NY123456, and your password is NewYork. The arguments field should look like this:
"Broadband Connection" NY123456 NewYork
Configuring rasdial with the PPPoE connection name and credentials
Configuring rasdial with the PPPoE connection name and credentials After entering the details, click or tap Next. The wizard shows a summary of your scheduled task. If everything looks correct, press Finish.
Finishing the configuration of the PPPoE auto-connect task
Finishing the configuration of the PPPoE auto-connect task You’ll be returned to the Task Scheduler console, where your new task is listed in the Library.
The PPPoE auto-connect task is shown in the Task Scheduler Library
The PPPoE auto-connect task is shown in the Task Scheduler Library TIP: If at some point, you want to disable or delete the PPPoE auto-connect task and you need help, read this guide about the things you can do with existing tasks in Task Scheduler.

Step 3. Restart Windows 10 and test the automatic connection

Now restart your computer. At login, Windows 10 should run the scheduled task and automatically connect using your saved PPPoE credentials. Depending on how fast it runs, you might briefly see a small connection window appear.
Windows 10 auto dials the broadband PPPoE connection
Windows 10 auto dials the broadband PPPoE connection From now on, your PC should connect to the internet automatically, without you needing to click the Network icon each time.

Did you manage to make Windows 10 auto-dial your PPPoE connection?

Even if setting up an automatic PPPoE dial involves a couple of, let’s say, more advanced steps, the method works well once you configure it. With the scheduled task in place, Windows 10 uses your saved PPPoE credentials and gets you online as soon as you sign in. Do you prefer letting Windows 10 connect automatically, or are you fine with starting the PPPoE connection manually? Let me know in the comments.
Discover: Smarthome Networking Tutorials Windows

Discussion (25)

  1. Daniel
    Daniel

    I’ve been looking for the solution to this for a while, and all the other websites suggested creating a Task running rasdial, which oddly didn’t work on my PC. Creating a simple task did the trick. Thanks a lot!

  2. I-man
    I-man

    Thank you. I have tried this. I will see how it goes.

  3. manikumar
    manikumar

    so once i able to connect the pppoe connection automatically after i log on,i wa s getting disconnected from internet automatically after 10-15 mins of usage .

    the pppoe user session is not getting continued

    Any solution for this ?

  4. Shoaib Ahmed
    Shoaib Ahmed

    Thanks a lot. I got that working.

  5. User
    User

    Thank you for this very useful article. I’m surprised Windows doesn’t provide this as a simple checkbox on the connection dialog.

    In my setup I also found it useful to add a shortcut to the task for when the modem resets due to power outage/etc. This was the shortcut:
    C:WindowsSystem32schtasks.exe /run /tn “YourTaskFolderYourTaskName”

    Not sure if a router would provide auto redial (which was removed in Win 8/10), in which case I’d probably set it up that way.

  6. mayur shinde
    mayur shinde

    Really helpful……….thanks

  7. P
    P

    Does it work for startup ?

  8. Dragos Chiriac
    Dragos Chiriac

    Thank you, Codrut, for the tutorial! Very clear and concise! Cheers!

  9. Mohit
    Mohit

    In Step 2 sub 2, there is still a mention of “each with a hyphen before them”, please correct it as this contradicts with the example shown.

    Thanks for this tutorial, it is helpful and it works!

    1. Ciprian Adrian Rusen
      Ciprian Adrian Rusen

      Problem fixed. Thanks for highlighting it.

  10. Codrut Neagu
    Codrut Neagu

    Thank you, yes the command should be without the "-" before the user and password. That was changed in a Windows 10 update 🙂 I corrected the tutorial.

  11. gabi
    gabi

    It works if you eliminate the hyphens in the rasdial command

  12. Dubat Catalin
    Dubat Catalin

    Thank you, Codrut, it works but as they said in comments without the “-” before the user and the password.
    Big up! Keep Going!

  13. Ionut
    Ionut

    deci pe mine ma bate….am facut exact la fel si mi-a dat eroarea 691.Nu stiu cum sa fac sa porneasca automat netul.Mentionez am RDS!

    1. Codrut Neagu
      Codrut Neagu

      Error 691 means that either the user or the password are incorrect.

  14. Mark
    Mark

    Worked, but not 100%, looked first in Local Area Connection and it showed “error”.
    Next I had to click connect to Broadband, settings opened and then I clicked connect.

  15. Mychao
    Mychao

    You dont actually need – before the user and the password , writing it will only get an error and wont work

    1. Gergely Takács
      Gergely Takács

      Thank you for your help dear Mychao,

      I managed to do it, using my computer is more fun now! 🙂

  16. Gergely Takács
    Gergely Takács

    Hi dear Codrut,

    I checked again paying more attention and it is working indeed!!! 🙂

    The things that ceased disturbance in the Force were that
    1. I also omitted “-” before the username and the password
    2. I typed my connection name insted of the one you wrote ” Broadband Connection”
    3. I also omitted the “….” sign at the connection name.

    Thank you again, you made my daily life much more easier! 🙂

    Best regards,

    Gergely Takács from Hungary

  17. Gergely Takács
    Gergely Takács

    Dear Codrut Neagu,

    I tried all you wrote but unfortunately it does not work for me. Maybe there is some small setting that is need to be done?

    Thank you for your help in advance,

    Best Regards:

    Gergely Takács

    1. Codrut Neagu
      Codrut Neagu

      Hi, double check that you did every step exactly as in our tutorial. It should work.

  18. George
    George

    Doesn’t work, at startup I get the error 691 – password or user incorrect/unrecognized, something like that. I’m sure they are correct in the task I’ve created, and they also work if I manually connect from Network&Internet>Dial-up>Connect.

    1. George
      George

      **edit**
      I got it working. I had to eliminate the “-” before the user and pass in the task because it was trying to connect with “-user” rather than -“user”, same with password.

    2. P
      P

      Same Problem