How to Enable Automatic Logon to a RAS Server

ID: Q244734


The information in this article applies to:
  • Microsoft Windows NT Workstation versions 3.51, 4.0
  • Microsoft Windows 2000 Professional
  • Microsoft Windows NT Server versions 3.5, 3.51, 4.0
  • Microsoft Windows 2000 Server


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:


  4. 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:


    4. rasdial.exe myserver
    5. 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:


    5. rasdial.exe myserver
    6. Click Next.


    7. Click the Startup folder.


    8. Click Next.


    9. Type a name for the shortcut or accept the default.


    10. Click Finish.


    11. 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:


    4. 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.


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 command prompt.

Additional query words:

Keywords : kbenv
Version : WINDOWS:2000; winnt:3.5,3.51,4.0
Platform : WINDOWS winnt
Issue type : kbhowto


Last Reviewed: December 29, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.