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.

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.

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

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
disconnect is working….but connecting to broadband connection isn’t working…
@simar: connection also gets scheduled. Plz check if you followed all the steps.
I tried connecting it doesn’t work. Tried all steps repeatedly.
Ok I found the mistake(damn why didn’t I posted first message before).
The mistake was we were putting quotes (“,”) aound the broadband comnnection. So if my broadband connection is BSNL & if my user ID is asd123@bsnl.in and password is password then my .bat file will have this command”
RASDIAL BSNL asd123@bsnl.in password
No quotes, no brackets, plain spaces.
Enjoy.
thanks my dear friend
i used it but is there any way to redialing when dialing failed
hello ,
I was amazed to find such resources in my artificial friend thank u
i wanted to know that my broadband ID is kolaram should i write only kolaram or kolaram@bsnl.in else everything has been explained briefly by u
Thank dear friend I used to wake up at late night but now i can avoid this by your trick
Thanks a lot
hi…
this trick is not working its giving me error saying access denied
thanx dude..!!! helped me a lot…!!
can u also post some info on “CLSD” command or something to run {BA126AD7-2166-11D1-B1D0-00805FC1270E} type…??
@Srikanth and all…
this trick is working fine and i am sure it ll work for every xp/vista machine. @srikanth- dont get panic. it ll work for you.I also have got the same “access denied” message. OK. fine!!! let the scheduler show “access denied”.
1) Press OK. AND THEN AGAIN DOUBLE CLICK ON THAT SCHEDULED JOB!!!
2) Tick the “Run only if logged on” check box at below.
3) Click on APPLY button.
yeah!!! u have done it. ur net connection will start at Scheduled time.
AND MANY MANY THANX TO SATBIR SINGH FOR THIS GR8 BUT VERY SIMPLE PROCESS.
If i doublw click on .bat file it will connect but by scheduler it will not connect. Please can you herp me.
If i double click on .bat file it will connect but by scheduler it will not connect. Please can you herp me.
thanks i am from kolkata .begingly thanks friend