Microsoft KB Archive/174769

From BetaArchive Wiki

Article ID: 174769

Article Last Modified on 2/23/2007


  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows NT Workstation 3.5
  • Microsoft Windows NT Workstation 3.51
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Server 3.5
  • Microsoft Windows NT Server 3.51
  • Microsoft Windows NT Server 4.0 Standard Edition

This article was previously published under Q174769


This article discusses a method for automatically dialing a Remote Access Service (RAS) phonebook entry at a scheduled time.


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 that contains the following:

      %Systemroot%\System32\Rasphone -d <phonebook entry name>

Where <phonebook entry name> is the name of the phonebook entry that you want to automatically dial. If your phonebook entry contains spaces, you must enclose it in quotations, such as "My Phonebook Entry".

NOTE: Using 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:

   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:

  1. Click Start, point to Programs, point to Accessories, point to System Tools, and click Scheduled Tasks.
  2. Double-click on Add Scheduled Task to start the Scheduled Task Wizard.
  3. Click on Next, then click Browse and select the batch file created above, click OK, then click Next.
  4. Type a name for the scheduled task, choose when to perform the task, and click Next.
  5. Enter the starting date and time and click Next.
  6. Enter the user name and password of the account that will run the task and click Next.
  7. Click Finish.

Scheduled Tasks in Windows 2000 act as a replacement for the AT command. The AT command can still be used, but it will run the batch file in the wrong user account, and will not be able to access the phonebook entry. Specifying the user account in which to run the batch file avoids this problem.

Keywords: kbhowto kbinfo KB174769