/build/static/layout/Breadcrumb_cap_w.png

Dial-up Networking

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

Answers (18)

Posted by: AngelD 19 years ago
Red Belt
0
Don't think you can do this and I wouldn't recommend it either!
Posted by: Ilikebananas 19 years ago
Purple Belt
0
It's not a big issue, but it's on the wishlist... (if at all possible)
Posted by: wiseapp 19 years ago
Second Degree Green Belt
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.
Posted by: Ilikebananas 19 years ago
Purple Belt
0
Hi wiseapp,

Thanks for your response.

The OS is windows XP.

Ilikebananas
Posted by: AngelD 19 years ago
Red Belt
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!
Posted by: wiseapp 19 years ago
Second Degree Green Belt
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".
Posted by: Ilikebananas 19 years ago
Purple Belt
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
Posted by: revizor 19 years ago
Third Degree Blue Belt
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?
Posted by: AngelD 19 years ago
Red Belt
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.
Posted by: Ilikebananas 19 years ago
Purple Belt
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
Posted by: AngelD 19 years ago
Red Belt
0
Well the user/passwd is not stored in this file and sorry to say but dunno where else to look.
Posted by: revizor 19 years ago
Third Degree Blue Belt
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?
Posted by: Ilikebananas 19 years ago
Purple Belt
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...
Posted by: mrwywy 18 years ago
Yellow Belt
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
Posted by: nheim 18 years ago
10th Degree Black Belt
0
Hi,
have a look here:
http://technet2.microsoft.com/WindowsServer/en/library/24d5d8bf-fe87-498c-b485-7c249affcc721033.mspx?mfr=true
Regards, Nick
Posted by: AngelD 18 years ago
Red Belt
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.
Posted by: mrwywy 18 years ago
Yellow Belt
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.
Posted by: Gontran 18 years ago
Yellow Belt
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ