Hi,

I'm trying to create a package containing a Dial-up networking connection. So far I have captured the creation of the connection. that works OK except for the username password.

Does anyone know if it possible to package a username/password for a dial-up networking connection?

Ilikebananas
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Don't think you can do this and I wouldn't recommend it either!
Answered 08/25/2005 by: AngelD
Red Belt

Please log in to comment
0
It's not a big issue, but it's on the wishlist... (if at all possible)
Answered 08/25/2005 by: Ilikebananas
Purple Belt

Please log in to comment
0
Hi Bananas:

May I know whats the OS on which you are trying to do this since dialup networking stores password and username in a pwl file which you may include in your package to get it starting. So i need to know the os.
Answered 08/25/2005 by: wiseapp
Second Degree Green Belt

Please log in to comment
0
Hi wiseapp,

Thanks for your response.

The OS is windows XP.

Ilikebananas
Answered 08/25/2005 by: Ilikebananas
Purple Belt

Please log in to comment
0
Don't think 2k and above uses .pwl anymore as this was part of the Win9x/ME era, but do correct me if I'm wrong!
Answered 08/26/2005 by: AngelD
Red Belt

Please log in to comment
0
Hi ppl:

you're right AngelD it does'nt winxp and 2000 doesnt store passwords in pwl files im looking for the place where the passwords and username are stored in win xp/2000. Can i ask for some time "ilike".
Answered 08/26/2005 by: wiseapp
Second Degree Green Belt

Please log in to comment
0
The issue got a bit more pressing, a service is using the connection, the user is not prompted for a username/password. Users are unable to even view connections, so they can't set the password manualy...

Suggestions are highly appreciated.

Ilikebananas
Answered 08/26/2005 by: Ilikebananas
Purple Belt

Please log in to comment
0
Ilikebananas,
what an interesting setup you've got...[&:]
Do you have control over the RAS server, or is it out of your hands? Can you set up access accounts on the server?
Answered 08/26/2005 by: revizor
Third Degree Blue Belt

Please log in to comment
0
Dunno how you captured the dial-up and if thats why you got the problem.

But you only need to include the rasphone.pbk which can be found in "C:\Documents and Settings\All Users\Application Data\Microsoft\Network\Connections\Pbk", so no need for capture.
Answered 08/26/2005 by: AngelD
Red Belt

Please log in to comment
0
AngelD:
Yes, I've got that one [;)] But it's not saving the userid/password.

revizor:
Unfortunately I can only control the client side.

I have a lead which I can try, I'll keep you posted.

Ilikebananas
Answered 08/28/2005 by: Ilikebananas
Purple Belt

Please log in to comment
0
Well the user/passwd is not stored in this file and sorry to say but dunno where else to look.
Answered 08/29/2005 by: AngelD
Red Belt

Please log in to comment
0
A side note about "C:\Documents and Settings\All Users\Application Data\Microsoft\Network\Connections\Pbk":
the file does not have to be named rasphone.pbk - any .pbk file(s) in that folder will do the trick. You probably don't want to kill all of the existing dialup sessions on a PC by overwriting rasphonebook.pbk, do you?
Answered 08/29/2005 by: revizor
Third Degree Blue Belt

Please log in to comment
0
Hi all,

It has been a while, but here's an update:
A collegue of mine used the rasdial.exe api to create an executable to set the user-id / password. (you can also use the commandline)
Unfortunately this works only for user-phonebook entries, and the service runs as local system.

It appears I will have to change the service to give it access to the dial-up connection.

P.s. no local useraccounts allowed...
Answered 09/09/2005 by: Ilikebananas
Purple Belt

Please log in to comment
0
Hi

I know it was a while ago but do you think you could provide an example of how your collegue used rasdial to set the user name and password?


Thanks
Answered 11/06/2006 by: mrwywy
Yellow Belt

Please log in to comment
0
Hi,
have a look here:
http://technet2.microsoft.com/WindowsServer/en/library/24d5d8bf-fe87-498c-b485-7c249affcc721033.mspx?mfr=true
Regards, Nick
Answered 11/06/2006 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
If you want to use RasDial and don't want the password to be clear open you could use CPAU to encrypt a "JOB File" (execute commands) and then later on execute this "JOB File". I've done this with RasDial long time ago and works like a charm.
Answered 11/06/2006 by: AngelD
Red Belt

Please log in to comment
0
Thanks Nick and Angel

I know I can create the connection with Rasdial. However I understood the post as to mean she/he had Set the password user name using Rasdial. (Saved in the connection itself, rather then using a sperate connection batch)

I would like the password stored in the network connection itself, I guess if this was possible it would be quite easy to deploy dialers.

Dead line is comming up so it will be deployed without a stanadard user name password.

Thanks for the quick answers.
Answered 11/07/2006 by: mrwywy
Yellow Belt

Please log in to comment
0
Hi All,

Password and Username stored in the network connection can be done with Nircmd.exe. Look for setdialuplogon switch.

Take care ... if Phonebook is for AllUsers, dialup *may be* for CurrentUser. Nircmd can be run by usual method for every user even with non-admin priviledges.

Hope this Help !
... and sorry for my FrenGlish
Answered 11/13/2006 by: Gontran
Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity