Jump to content

Windows 2000 Dialup Connection Auto-dial and Auto-disconnect 3 Times a


Recommended Posts

How can I schedule auto-dial and auto-disconnect 3 times daily for durations of 10 minutes each in Windows 2000 Advanced Server? Kindly give me step-by-step instead of a generic answer. I know how to create a dialup connection, but I want to setup to dial automatically, disconnect after duration in my absence and without any human involvement? The purpose of this question is that I got two different locations with two different Windows Servers having SQL Server 2000 data replication setup to replicate data 3 times a day automatically without any human interaction. A way to solve this issue was to simply have a LIVE telephone dialup connection, but since the phone lines of Pakistan are not so reliable, hence, it is not possible. Another way is having VSAT satellite data connection, which is too expensive for my client to afford. That is why I opted for setting up a schedule for this telephone dialup connection to automatically dialup and automatically disconnect 3 times a day with 10 minutes each duration. I tried all Windows help, and other forums about the same question without any success. Can you help me with this common-sense and probably easy solution to dialup and disconnect 3 times a day with 10 minutes durations each automatically? I would be really thankful for your kind help.

Best Regards,

Amir Ali Tayyab

ERP Software Implementations since 1987

Cell: 92-333-4779799

_______________________________________

ZEN Corporation

Address: 49-MZ, Central Plaza, Garden Town

Lahore 54600, Pakistan

Ph: 92-42-5848119

Fax / VoiceMail: 1-702-977-9126

E-Mail: amir@zen.com.pk or aatayyab@yahoo.com

Website: http://www.zen.com.pk or http://softwarepk.com

MSN/Yahoo/AOL: aatayyab

_______________________________________

Quote: Trying to make sense of everything via http://qurango.com and my blogs at http://360.yahoo.com/aatayyab

Link to comment
Share on other sites


Hi,

You need to create 2 batch files (connect.cmd and disconnect.cmd) for example.

The connect.cmd file should contain:

rasdial %connectionname% %username% %password%

the disconnect.cmd should contain:

rasdial %connectionname% /disconnect

change the details ( anything surrounded with %%) as they are set up on your server ofcource.

Then with the Scheduled Tasks wizzard or the at command you can set up a schedule to dialin with connect.cmd and disconnect with disconnect.cmd.

Make sure the properties of the dialup account are not set to redial after disconnect because then it might try to.

Hope it helps,

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...