Microsoft KB Archive/244734

= How to Enable Automatic Logon to a RAS Server =

Article ID: 244734

Article Last Modified on 10/30/2006

-

APPLIES TO


 * 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

-



This article was previously published under Q244734



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.  Log on to Windows as the user who should automatically connect. Make note of an existing RAS-access entry name or create a new one called Myserver. Verify that all the necessary information exists.  Use the appropriate method for your operating system:

Windows NT 3.5x
 In Program Manager, open the Startup group, and then click New on the File menu. Click Program Item, and then click OK. Type the following line in the command line box:

rasdial.exe myserver

 Click OK.</li></ol>

Windows NT 4.0
<ol style="list-style-type: lower-alpha;"> Click Start, point to Settings, and then click Taskbar.</li> Click the Start Menu Programs tab.</li> Click Add.</li> Type the following line in the Command Line box:

rasdial.exe myserver

</li> Click Next.</li> Click the Startup folder.</li> Click Next.</li> Type a name for the shortcut or accept the default.</li> Click Finish.</li> Click OK.</li></ol>

Windows 2000
<ol style="list-style-type: lower-alpha;"> Click Start, point to Settings, and then click Taskbar & Start Menu.</li> Click the Advanced tab, and then click Add.</li> Type the following line in the Type the location of the item box:

rasdial.exe myserver

</li> Click Next.</li> Click the Startup folder.</li> <li>Click Next.</li> <li>Type a name for the shortcut or accept the default.</li> <li>Click Finish.</li> <li>Click OK.</li></ol> </li></ol>

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.

Keywords: kbenv kbhowto KB244734

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.