WARNING/DISCLAIMER

The Author/Blogger shall hold no liability for special, incidental, or consequential damages arising out of or resulting from the use/misuse of the information in this Blog. It is strictly mentioned that these are all for learning and awareness purpose. Most of the articles are collected from various sources and many of them are blogger's own which meant for helping people who are interested in security system or beginners help for security systems and various IT purposes. Some of the articles are solely intended for IT Professionals and systems administrators with experience servicing computer. It is not intended for home users, hackers, or computer thieves attempting to crack PC. Please do not attempt any of these procedures if you are unfamiliar with computer hardware, software and please use this information responsibly. Binod Narayan Sethi is not responsible for the use or misuse of these material, including loss of data, damage to hardware or personal injury. Information can help you to catch hackers and crackers and other cyber criminals. Information can help you to detect and manipulate the evil motives of these anti social intellectual peoples. Good use of the information protect you from evils and misuse of the information make you evil/criminal. Author of this site will not be responsible for use of material for any illicit mean or illicit act done by anybody in any means.

Binod Narayan Sethi

Binod Narayan Sethi
Programming,Web Development & Graphic Designing are my Hobbies.

Monday, April 25, 2011

Terminate your dial-up / PPPoE connection with a specified time

First of all we can  use the Rasdial command with /disconnect  parameter if we wish. Otherwise....


To disconnect your internet connection (dial-up / PPPoE) at a specified time, you can follow these steps:
Open Notepad and type this and save it as name.bat :
rundll32 iedkcs32.dll,CloseRASConnections
Save the file as "c:\disconnect.bat" (with quotes in order to avoid double-extensions)
Click Start, Run and type control schedtasks
Double-click Add Scheduled Task. The Scheduled Task Wizard starts.
Click Next. Under Click the program you want Windows to run, click Browse.
In the Select Program to Schedule dialog box, locate the file disconnect.bat in C:\
Click Open. Under Perform this task, specify a name for the task and how frequently you want this task to run, and then click Next.
Under Select the time and day you want this task to start, specify a start time and date for the task, and then click Next. Type the user name and password to run this task under, and then click Next. Click Finish and EnjoY.


Binod Narayan Sethi

Binod Narayan Sethi
Binod Narayan Sethi

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More