Hi,

I'm looking for a way to create a dialup networking entry using vbscript.
The reason is to automate the setup of a workstation that requires such an
entry.

Is there any reference that anyone knows, or has done it before and can give
me some ideas?

Any help is most appreciated.

Cheers,
Les

--
Les Landau
LanNet Services
landaul@ozemail.com.au

Re: Create Dialup Networking entry by Torgeir

Torgeir
Thu Jan 27 15:59:30 CST 2005

Les Landau wrote:

> Hi,
>
> I'm looking for a way to create a dialup networking entry using vbscript.
> The reason is to automate the setup of a workstation that requires such an
> entry.
>
> Is there any reference that anyone knows, or has done it before and can give
> me some ideas?
Hi

In Windows XP & Windows 2000, I think this can be done by editing the
file rasphone.pbk (ini file structure) that can be found in the
following location(s):

[Drive]:\Documents and Settings\All Users\Application

Data\Microsoft\Network\Connections\pbk\

alternatively

%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Connections\pbk\

--> If the connection is created for all users.

[Drive]:\Documents and Settings\[User]\Application

Data\Microsoft\Network\Connections\pbk\

alternatively

%APPDATA%\\Microsoft\Network\Connections\pbk\

--> If the connection is created for one user account.

For a ini write function using the Scripting.FileSystemObject, see here:

From: Torgeir Bakken (Torgeir.Bakken-s...@hydro.com)
Subject: Re: Change text in line three
Newsgroups: microsoft.public.scripting.wsh
Date: 2002-09-11 11:53:18 PST
http://groups.google.co.uk/groups?selm=3D7F8F89.F09B18B1%40hydro.com


--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx

Re: Create Dialup Networking entry by teunvw

teunvw
Tue Feb 08 09:55:55 CST 2005


Hi,

Does anyone know if this also is possible with a default modem on a
known commport ?

thank you

regards Teun

Torgeir Bakken \(MVP\) wrote:
> *Les Landau wrote:
>
> > Hi,
> >
> > I'm looking for a way to create a dialup networking entry using
> vbscript.
> > The reason is to automate the setup of a workstation that requires
> such an
> > entry.
> >
> > Is there any reference that anyone knows, or has done it before and
> can give
> > me some ideas?
> Hi
>
> In Windows XP & Windows 2000, I think this can be done by editing
> the
> file rasphone.pbk (ini file structure) that can be found in the
> following location(s):
>
> [Drive]:\Documents and Settings\All Users\Application
>
> Data\Microsoft\Network\Connections\pbk\
>
> alternatively
>
> %ALLUSERSPROFILE%\Application
> Data\Microsoft\Network\Connections\pbk\
>
> --> If the connection is created for all users.
>
> [Drive]:\Documents and Settings\[User]\Application
>
> Data\Microsoft\Network\Connections\pbk\
>
> alternatively
>
> %APPDATA%\\Microsoft\Network\Connections\pbk\
>
> --> If the connection is created for one user account.
>
> For a ini write function using the Scripting.FileSystemObject, see
> here:
>
> From: Torgeir Bakken (Torgeir.Bakken-s...@hydro.com)
> Subject: Re: Change text in line three
> Newsgroups: microsoft.public.scripting.wsh
> Date: 2002-09-11 11:53:18 PST
> [url]http://groups.google.co.uk/groups?selm=3D7F8F89.F09B18B1%40hydro.com[/url]
>
>
> --
> torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
> Administration scripting examples and an ONLINE version of
> the 1328 page Scripting Guide:
> [url]http://www.microsoft.com/technet/scriptcenter/default.mspx[/url]
> *



--
teunvw
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------