Where are the RAS phone book entries and settings stored?

John Savill

March 4, 1999

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. A. The actual phone book entries are stored in the file%systemroot%/system32/ras/rasphone.pbk (pbk - phone book).You could therefore copy this file to another machine to copy the phonebook entries.

Another important file is %systemroot%/system32/ras/switch.inf which isused to create terminal login scripts (as discussed earlier in thissection), and you may find phone book entries may refer to an entry inthis file at the end of the entry:

DEVICE=switch
Type=Terminal

In this case, Type=Terminal means bring up a terminal window afterconnection so it does not use switch.inf,

DEVICE=switch
Type=Pipex

would cause the script "Pipex" (which is in switch.inf) to berun once a connection has been made. If these two lines are missing don'tworry, it just means you don't need a terminal window once you haveconnected (probably means you are connecting to a Windows NT box). Usuallyif you connect to a non-NT machine you have to send it a username andpassword, along with the connection type (protocol), which is usually PPPon most modern systems, SLIP is an older option.

RAS information relating to phone book entries and outbound connectionsin the registry is actually stored underHKEY_CURRENT_USERSoftwareMicrosoftRAS Phonebook, and contains detailsabout redial attempts, display settings etc. Again you export this sectionof the registry to a reg file (using regedit.exe) and import into anothermachine to copy the machine specific settings.

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like