rasdial vpn entry with credentials leads to remote access error 69

Discussion in 'Windows Networking' started by Carl Hoyer, Mar 15, 2007.

  1. Carl Hoyer

    Carl Hoyer Guest

    I am attempting to use rasdial to initiate a VPN connection with a profile
    that has saved username/password credentials so that I do not have to pass
    that information in plaintext through the command line (as I would like to
    call rasdial through a script).

    The problem is when I call rasdial "Connection Name" the connection fails
    with a remote access error 691. Of course when I call rasdial "Connection
    Name" "Username" "Password" all is fine.

    Why can rasdial not initiate the connection when a VPN profile has a saved
    username and password?

    If not, then is there another way to script the initiation of a VPN
    connection without passing the password in plain text?

    Carl
     
    Carl Hoyer, Mar 15, 2007
    #1
    1. Advertisements

  2. hi,
    when do you saved credentials do you checked for all users or only just me?
     
    Dragos CAMARA, Mar 15, 2007
    #2
    1. Advertisements

  3. Carl Hoyer

    Carl Hoyer Guest

    I've checked "only just me", but I am logged in using that user who the
    password is saved for and it will not authenticate automatically.

    I did dig up this circa. 1999 Kbase article that may answer my problem ...
    http://support.microsoft.com/default.aspx/kb/130023

    Does any have any more recent articles that refer to this issue?

    Carl
     
    Carl Hoyer, Mar 19, 2007
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.