Microsoft KB Archive/105194

From BetaArchive Wiki
Knowledge Base

How to Enable Automatic Logon to a RAS Server

Article ID: 105194

Article Last Modified on 10/31/2006


  • Microsoft Windows NT Advanced Server 3.1
  • Microsoft Windows NT Server 3.51
  • Microsoft Windows NT Server 4.0 Standard Edition
  • Microsoft Windows NT Workstation 3.1
  • Microsoft Windows NT Workstation 3.51
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Advanced Server 3.1

This article was previously published under Q105194

The Windows NT Remote Access Service (RAS) features a graphical user interface Phone Book program for entering and maintaining the names and telephone numbers of remote networks. Clients can connect to and disconnect from these networks through the Phone Book manually. It is possible to have RAS automatically dial a number for you when you log on by using RASDIAL.EXE, a command line interface to RAS in Windows NT.

Use the following procedure to automatically connect to a RAS server for a desired User when you start Windows NT:

  1. Log on to Windows NT as the user who should automatically connect.
  2. Make note of an existing RAS Access entry name or create a new one called MYSERVER. Verify that all the necessary information is in the entry.

NOTE: This procedure assumes that the user is already familiar with setting up entries in Remote Access address book.

  1. In Program Manager, open the Startup group and choose New from the File menu.
  2. From the New Program Object box, select Program Item and choose OK.
  3. Enter the following on the command line:


  1. Choose OK.

The next time this user logs on to the workstation, RASDIAL will connect to MYSERVER.

RASDIAL is one of the programs installed when installing RAS in Windows NT. RASDIAL is a command line program which can be used at the Command Prompt (CMD.EXE) or in a batch file. To learn more about the available parameters for RASDIAL, type RASDIAL /? at the Command Prompt for online help.

Additional query words: prodnt nthowto at automate

Keywords: kbnetwork KB105194