Discussion Locked

Scripting a Dial-up Connection

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Is it possible to script the creation of a new Dial-up Connection? If so can you descibe to me how that might be accomplished. I have 200 laptop users that need to have a new Dial-up connection installed on them and the current plan is to email all of these users a script that, once it is opened, will automatically install a new Dial-up connection. I have to setup the connection very specifically, but I'm thinking that there is a way to create a reg file that will do that for me. Thanks in advance for your help.

6 replies

by zlatin zlatev

You can create the DUN Connection on one of the computers, and then from the "Dial-Up Networking" Window hold CTRL and drag the created connection to your desktop.
This will create a ".DUN" file that contains your DUN settings. This file you can use AS DUN shortcut on your laptops

Hope this helps,
Zlatin Zlatev

by awimsatt

Thank-you for your response, but the method you mentioned only works on 9x products. Unfortunately it does not work in Win 2k Pro.

by zlatin zlatev

On NT and Win 2000 machines you can view/copy your predefined DUN(RAS) connections from file
%systemroot%\system32\ras\rasphone.pbk
Copy this file to another computer and you'll have all your connectiuons copied
(it is in text format similar to the DUN files in Win9x)

I think this is the solution you need,
Regards,
Zlatin Zlatev, MCP

by awimsatt

Thank-you for following up with this and providing me with a solution. I found that the .pbk files were located under the user's profile that created the DUN(RAS) connection. Thank-you again for your help.

coda

This discussion is closed to new replies.