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 INFORMATIONNOTE: 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.
Windows NT 4.0
- Click Start, point to Settings, and then click Taskbar.
- Click the Start Menu Programs tab.
- Click Add.
- Type the following line in the Command Line box:
rasdial.exe myserver
- Click Next.
- Click the Startup folder.
- Click Next.
- Type a name for the shortcut or accept the default.
- Click Finish.
- Click OK.
Windows 2000
- Click Start, point to Settings, and then click
Taskbar & Start Menu.
- Click the Advanced tab, and then click Add.
- Type the following line in the Type the location of the item box:
rasdial.exe myserver
- Click Next.
- Click the Startup folder.
- Click Next.
- Type a name for the shortcut or accept the default.
- Click Finish.
- 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
|