How to Enable Automatic Logon to a RAS Server

Last reviewed: March 25, 1997
Article ID: Q105194

The information in this article applies to:
  • Microsoft Windows NT operating system version 3.1
  • Microsoft Windows NT Advanced Server version 3.1
  • Microsoft Windows NT operating system version 3.51
  • Microsoft Windows NT operating system version 4.00

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.

  3. In Program Manager, open the Startup group and choose New from the File menu.

  4. From the New Program Object box, select Program Item and choose OK.

  5. Enter the following on the command line:

          RASDIAL.EXE MYSERVER.
    

  6. 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 ntras NTSrvWkst
Version : 3.1 3.51 4.0
Platform : WinNT


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 25, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.