Re: Connect to VPN from command line?
- From: Samuel R. Neff <samuelneff@xxxxxxxxxx>
- Date: Mon, 02 Apr 2007 12:21:04 -0400
Yes, and again from my original question, how can I make the call
WITHOUT embedding username and password in the command line?
Windows Explorer can launch a network connection using saved
credentials.. I want to do the same thing from a command line.
Thanks for trying to help, I'm sorry that we have such a disconnect in
my question and your answers.
Sam
On Mon, 2 Apr 2007 23:16:47 +1000, "Pegasus \(MVP\)" <I.can@xxxxxxx>
wrote:
Here is what I quoted in my first reply for the rasdial syntax:------------------------------------------------------------
USAGE:
rasdial entryname [username [password|*]] [/DOMAIN:domain]
[/PHONE:phonenumber] [/CALLBACK:callbacknumber]
[/PHONEBOOK:phonebookfile] [/PREFIXSUFFIX]
rasdial [entryname] /DISCONNECT
Unless I'm seeing things, it has both the user name and the password
as a parameter. The phonebook is there too!
"Samuel R. Neff" <samuelneff@xxxxxxxxxx> wrote in message
news:7pv11390c8hjrvro75hrh996u3qcv17u5q@xxxxxxxxxx
Yes, the phone book is an INI file with lots of info about the
connection. The username and passwrod are not there and I don't see
how knowing what is in the pbk file helps with the original problem..
how do I actually dial the vpn connection without putting username and
password in the command line?
As I said I can run rasdial and get different error messages depending
on whether I specify the "all" vs "personal" phonebook (the connection
info is in the all phonebook) but I can't get it to connect without
specifying username and password in the command line (even though it
is stored with the connection--although obviously not in the pbk
file).
Thanks,
Sam
We're hiring! B-Line Medical is seeking .NET
Developers for exciting positions in medical product
development in MD/DC. Work with a variety of technologies
in a relaxed team environment. See ads on Dice.com.
.
- References:
- Re: Connect to VPN from command line?
- From: Samuel R . Neff
- Re: Connect to VPN from command line?
- From: Pegasus \(MVP\)
- Re: Connect to VPN from command line?
- From: Samuel R . Neff
- Re: Connect to VPN from command line?
- From: Pegasus \(MVP\)
- Re: Connect to VPN from command line?
- Prev by Date: Re: Defragmentation does not work
- Next by Date: Re: ipconfig /flushdns
- Previous by thread: Re: Connect to VPN from command line?
- Next by thread: Re: English Windows Thinks its Chinese
- Index(es):
Relevant Pages
|