How to Enable Automatic Logon to a RAS Server

This article was previously published under Q244734
This article has been archived. It is offered "as is" and will no longer be updated.
SUMMARY
Remote Access Services (RAS) features a Phone Book program for entering and maintaining the names and telephone numbers of remote networks. Clients can connect to and disconnect from these networks by using Phone Book manually. You can also have RAS automatically dial a number for you when you log on by using Rasdial.exe, a command-line interface to RAS.
MORE INFORMATION
NOTE: This procedure assumes that you are already familiar with creating entries in Phone Book.
  1. Log on to Windows 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 exists.
  3. Use the appropriate method for your operating system:

    Windows NT 3.5x

    1. In Program Manager, open the Startup group, and then click New on the File menu.
    2. Click Program Item, and then click OK.
    3. Type the following line in the command line box:
      rasdial.exe myserver
    4. Click OK.

    Windows NT 4.0

    1. Click Start, point to Settings, and then click Taskbar.
    2. Click the Start Menu Programs tab.
    3. Click Add.
    4. Type the following line in the Command Line box:
      rasdial.exe myserver
    5. Click Next.
    6. Click the Startup folder.
    7. Click Next.
    8. Type a name for the shortcut or accept the default.
    9. Click Finish.
    10. Click OK.

    Windows 2000

    1. Click Start, point to Settings, and then click Taskbar & Start Menu.
    2. Click the Advanced tab, and then click Add.
    3. Type the following line in the Type the location of the item box:
      rasdial.exe myserver
    4. Click Next.
    5. Click the Startup folder.
    6. Click Next.
    7. Type a name for the shortcut or accept the default.
    8. Click Finish.
    9. Click OK.
The next time you log on to the workstation, Rasdial connects to the RAS server specified in the Myserver entry in Phone Book.

To learn more about the available parameters for Rasdial, type rasdial /? at a commandprompt.
Properties

Article ID: 244734 - Last Review: 02/28/2014 00:29:09 - Revision: 2.1

Microsoft Windows 2000 Server, Microsoft Windows 2000 Professional Edition, 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

  • kbnosurvey kbarchive kbenv kbhowto KB244734
Feedback