Re: Connect to VPN from command line?





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.
.



Relevant Pages

  • Re: FakeModem
    ... Username and password are not sent in AT commands. ... usb device with this "fackmodem" driver and create a connect in this ... i just want to know what happend during the connection. ... debug info i can see some AT command, but none of them is sending my ...
    (microsoft.public.development.device.drivers)
  • Re: Share Problem
    ... If it's a one off thing you can use the net command to create a connection using your username for example at the command prompt type: ... if it's a permanent thing then you may want to give the administrators access to your share or on the client pc go to control panel and user accounts and look under manage network passwords to allow the pc to remember your username and password for the connection. ... When I am logged in as an administrator on other PC's, ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Connect to VPN from command line?
    ... The username and passwrod are not there and I don't see ... how do I actually dial the vpn connection without putting username and ... specifying username and password in the command line (even though it ... Developers for exciting positions in medical product ...
    (microsoft.public.windowsxp.general)
  • Re: Query for blank passwords in Active Directory
    ... Depending on your Domain Controllers configuration, it may be extremely easy to enumerate users, even without having credentials for accessing the AD domain. ... If rpcclient's "enumusers" command doesn't work, it may still be possible to get the users list scanning for SIDs. ... If you're stuck on Windows as testing plaform, you should also take a look at enum.exe. ... username as well as username = password). ...
    (Pen-Test)
  • Re: Using NET SEND for a pop-up box
    ... Why not use a batch file and some ECHO commands instead? ... I've done a bit of testing and found that NET SEND <username> ... Sc.exe config "messenger" start= auto ... The first part is using the SC command Microsoft released to make sure ...
    (microsoft.public.win2000.networking)