aatayyab Posted May 25, 2006 Share Posted May 25, 2006 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 TayyabERP Software Implementations since 1987Cell: 92-333-4779799_______________________________________ZEN CorporationAddress: 49-MZ, Central Plaza, Garden TownLahore 54600, PakistanPh: 92-42-5848119Fax / VoiceMail: 1-702-977-9126E-Mail: amir@zen.com.pk or aatayyab@yahoo.comWebsite: 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 More sharing options...
Zartach Posted May 26, 2006 Share Posted May 26, 2006 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% /disconnectchange 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now