Skip to content


Scheduling Connecting And Disconnecting From your ISP

With many ISPs using PPPoE-based connectoions, and many ISPs having awkward schemes such as night-unlimited starting at 2 AM, it’s a good idea to schedule your connection process rather than staying up late at night. Once connected, your downloads can be started by scheduling in the download manager software, which is most prevalent now. You can also schedule to connect to VPNs.

For this we have to create a batch file. Start notepad and enter the following:

RASDIAL <Connection Name> <username> <Password> <Connection Name>

Now save this file using a suitable name such as “conne.bat”

Now create a schedule by clicking on Schedule Tasks in the control Panel. Double-click on Add Scheduled task. Click Next, browse and choose the path of BAT file. Choose the type of frequency you want it to Run. Next set the date and time. Now enter the password for the account, which should run the dialer. Similar to scheduling connection, disconnection can be done in the same manner. Some alterations in the batch file creation are needed. Create a new text file and enter

RASDIAL <Connection Name> /disconnect

Save the file as BAT file, for example, “dconn.bat”. Be sure to enter your exact connection name in the place of <Connection name>. Once again, like the connection schedule, create a schedule in the same manner, but by choosing the disconnection BAT file this time. I’m still finding how to do the same in Ubuntu. But I’m not able to find it.

Posted in trouble shooting.


One Response

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. O_J_Grand says

    it was very interesting to read.
    I want to quote your post in my blog. It can?
    And you et an account on Twitter?



Some HTML is OK

or, reply to this post via trackback.