Posteado por: El Conde | 25 febrero 2007

Terminate your dial-up / PPPoE connection at a specified time using Task Scheduler

To disconnect your internet connection (dial-up / PPPoE) at a specified time, follow these steps:

Open Notepad and type this command line:

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.

For XP Pro, you can also use the Rasdial command with /disconnect  parameter.

Related articles

Using Task Scheduler to schedule the computer to shut down and restart at a specific time

Automatically connect to the internet at startup

Link: Clic


Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s

Categorías

A %d blogueros les gusta esto: