Schedule your Internet Connection

By: Satbir Singh on June 13th, 2008

Sponsored Links

Today i found a nice trick to schedule automatic connection and disconnection from your broadband connection which i thought, might be useful to share with you. This trick is especially useful for those who have connection which are unlimited for a certain period of time in a day.

You can download large files from Internet in free time and automatically disconnect when the free time limit is over.

To do this you’ll need to open Notepad, and type in

RASDIAL [Connection Name] [Username] [Password]

and save your file as Connect.bat on your hard disk.

e.g. if i have a connection named Broadband Connection with username abc and password xyz, then i would write

RASDIAL “Broadband Connection” abc xyz

Enclose connection name in double quotes if it has space in its name.

Similarly, create another file named Disconnect.bat with contents:

RASDIAL /DISCONNECT

Make sure file extension is .bat and not .txt. Here, first file Connect.bat is for connection and second file Disconnect.bat for disconnection from Broadband Connection.

Now we need to schedule the tasks. To do this move to Control Panel > Scheduled Tasks. Now Click on Add Scheduled Task to add a new scheduled task.

Schedule Broadband Connection

A Scheduled Task Wizard will open, Click Next and it’ll ask you to select a program, click on browse and select the Connect.bat file you created earlier.

Schedule Broadband Connection

After selecting the file, type a name for your task and select its repeating schedule Daily, Monthly etc.

Schedule Broadband Connection

After this, it’ll ask you time for starting the task, and then it’ll require you to enter your Windows Account password, Enter your password and click next and then Finish. That’s it, your task has been scheduled.

Similarly, schedule the task for Disconnection and you’re done.

This trick works for both Windows XP and Vista.

Note: The Scheduled Task Wizard requires to enter password for your Windows User Account. If you don’t enter password, then scheduled task might not run. Create a password from User Accounts Panel if you don’t have one.

You can also use a scheduling utility Auto Power on and Shutdown to schedule tasks if Windows Scheduler doesn’t work for you or if you don’t want to create a password.

Enjoyed reading this article, subscribe to our RSS Feed to stay updated with latest tips and tricks.

Further Reading: Monitor your network usage with Net Meter or Speed Up your Broadband Connection

Subscribe via RSS RSS Stumble it! Digg This Digg Bookmark in Delicious Delicious

2 Responses to “Schedule your Internet Connection”

  1. simar on

    disconnect is working….but connecting to broadband connection isn’t working…

  2. Satbir Singh on

    @simar: connection also gets scheduled. Plz check if you followed all the steps.

Trackbacks

Leave a Reply

All comments are Moderated.