PC Review


Reply
Thread Tools Rate Thread

cmd line vpn conneciton is this possible?

 
 
John Smith
Guest
Posts: n/a
 
      23rd Mar 2005
I have a need to create a process that periodically "dials" a VPN connection
to the office then copies some data to another system.

I can do the copy part and everything manually.
The client is XP the network is server 2003. How do I launch the VPN
connection (the regular internet is cable) from the command line so I can
script this whole thing?
Example:
I am connected to the regular internet, I double click my shortcut to "work
vpn" I enter my credentials (UID, PWD, Domain) I get authenticated, I open
cmd line and run a batch file taht does a robocopy, when it finishes, I
close the vpn.

I tried to use rasphone but no matter what I type at the cmd line after
rasphone (like rasphone workvpn) it does not do anything but prompt me to
pick a connection and connect to it (meaning rasphone is not accepting the
cmd line parms.)
Any ideas?


thanks!



 
Reply With Quote
 
 
 
 
Bill Stewart
Guest
Posts: n/a
 
      23rd Mar 2005
John Smith wrote:

> The client is XP the network is server 2003. How do I launch the VPN
> connection (the regular internet is cable) from the command line so I
> can script this whole thing?


Rasdial should do the trick.

rasdial <entryname> <username> <password>

Use rasdial /? for help.

--
Bill Stewart
 
Reply With Quote
 
John Smith
Guest
Posts: n/a
 
      24th Mar 2005
thanks

"Bill Stewart" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> John Smith wrote:
>
> > The client is XP the network is server 2003. How do I launch the VPN
> > connection (the regular internet is cable) from the command line so I
> > can script this whole thing?

>
> Rasdial should do the trick.
>
> rasdial <entryname> <username> <password>
>
> Use rasdial /? for help.
>
> --
> Bill Stewart



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conneciton must be open for this operation Susan Microsoft C# .NET 1 19th Nov 2008 02:50 AM
Help with SQL remote conneciton Tony M Microsoft VB .NET 5 17th Aug 2008 08:31 AM
Remote Desktop conneciton =?Utf-8?B?ZW5ubWE=?= Windows XP Networking 5 26th Dec 2006 01:41 PM
Conneciton pooling ? URGENT HELP !!! Ahmed Jewahar Microsoft VB .NET 1 19th Feb 2006 03:46 PM
Disable LAN Conneciton with Command line GL Windows XP Networking 1 22nd Oct 2003 03:37 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:45 PM.