Article ID: 174769 - Last Review: February 23, 2007 - Revision: 2.2 Scheduling a RAS Connection Using the AT CommandThis article was previously published under Q174769 SUMMARY
This article discusses a method for automatically dialing a Remote Access Service (RAS)
phonebook entry at a scheduled time.
MORE INFORMATION
To configure the automatic dialing of one of your RAS phonebook entries, perform the following
steps as appropriate to your operating system:
Create a batch file using Edit.com that contains the following: NOTE: Using Edit.com will ensure that Unicode characters are not embedded within the batch file that you create. For Windows NT 3.5, 3.51, and 4.0:Type the following at a command prompt and press Enter:AT <time of day> /interactive <file name> Where <time of day> is the time that you would like this command to run and where <file name> is the path to and the name of the batch file that you created in step 1 above. NOTE: The first time the batch file is run using the AT command, Rasphone.exe will request the user name, password, and domain name. This is because the AT command uses the Windows NT System account and not a user account. Because the System account has not performed the dial-up previously, you will be prompted for logon information. If you save the password during the first dial-up, the System account will not prompt you again. If the steps above are not followed correctly, you may see the following event log message in Event Viewer:
Event ID: 7901
Source: Scheduler
Description: The <file name> command failed to start due to the
following error: The system cannot find the file specified.
Where <file name> is the same as that specified above. For Windows 2000 add a Scheduled Task using the following steps:
APPLIES TO
| Article Translations
|
Back to the top
