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
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)
Please log in to answer
Posted by:
Ilikebananas
19 years ago
Posted by:
wiseapp
19 years ago
Posted by:
Ilikebananas
19 years ago
Posted by:
AngelD
19 years ago
Posted by:
wiseapp
19 years ago
Posted by:
Ilikebananas
19 years ago
Posted by:
revizor
19 years ago
Posted by:
AngelD
19 years ago
Posted by:
Ilikebananas
19 years ago
Posted by:
AngelD
19 years ago
Posted by:
revizor
19 years ago
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?
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
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...
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
Posted by:
nheim
18 years ago
Posted by:
AngelD
18 years ago
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
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.
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
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
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.
so that the conversation will remain readable.