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

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

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

#1 User is offline   aatayyab 

  • Group: Members
  • Posts: 2
  • Joined: 25-May 06

  Posted 25 May 2006 - 06:05 AM

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


#2 User is offline   Zartach 

  • Junior
  • Pip
  • Group: Members
  • Posts: 91
  • Joined: 24-January 06

Posted 26 May 2006 - 01:31 AM

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,

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy