Jump to content

Netowk connection script


Recommended Posts

I connect to my office lan via vpn. Upon connection, I connect to my pc via RDC. This is very slick, however, it is a 2-step process.

Is there a way to write a script that will connect to vpn and start a specific RDC session? I guess, I would only need to know how to write a script to start a vpn connection...I have a batching application to put it all together.

-----------------

Scott

Link to comment
Share on other sites

  • 2 months later...

Hello,

please have a look on the commands "rasdial" and "mstsc". i dont knew where rasdial work on vpn-connections, but i think so. with "mstsc computername" your can connect to the given remote pc. you can write it down in a simple cmd or bat file.

hope you understand my broken english. :-)

/kr

Melnib00ne

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...