A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Networking with Windows Vista
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Networking with Windows Vista Networking issues and questions with Windows Vista. (microsoft.public.windows.vista.networking_sharing)

Can Remote Desktop trigger a VPN connection or must I do that manually first?



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old December 26th 08, 05:16 AM posted to microsoft.public.windows.vista.networking_sharing
Milhouse Van Houten
external usenet poster
 
Posts: 156
Default Can Remote Desktop trigger a VPN connection or must I do that manually first?

I connect into a corporate PPTP VPN via RD, and right now it's a little
cumbersome since I have to establish the VPN connection and then launch RD.

Is there a way to configure RD so that it knows it needs the VPN connection
first and so launches the VPN connectoid itself, waits for the connection,
and then establishes the RD? Sort of like in the old days, where you'd run
a Winsock app and it knew it had to trigger Windows to dial into the
Internet first.

Thanks

  #2 (permalink)  
Old December 26th 08, 01:51 PM posted to microsoft.public.windows.vista.networking_sharing
Robert L. \(MS-MVP\)[_1288_]
external usenet poster
 
Posts: 1
Default Can Remote Desktop trigger a VPN connection or must I do that manually first?

You may be able to do that if you know how to use script. The easy solution
is create a batch file with 3 commands, for example,

mstsc TS public IP
rasdial entryname [username [password]
mstsc TS private IP

If the first command doesn't work, you will receive a error, click OK to
establish the VPN connection and then RDC. This how to may help too.
How to vpn automatically
Add pre-setup VPN auto-connection by CMAK to the Startup. 2. Create a
logon batch with rasdail command to start the VPN connection. ...
www.howtonetworking.com/VPN/autorasdial1.htm



--
Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on
http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on
http://www.HowToNetworking.com
"Milhouse Van Houten" wrote in message
...
I connect into a corporate PPTP VPN via RD, and right now it's a little
cumbersome since I have to establish the VPN connection and then launch RD.

Is there a way to configure RD so that it knows it needs the VPN
connection first and so launches the VPN connectoid itself, waits for the
connection, and then establishes the RD? Sort of like in the old days,
where you'd run a Winsock app and it knew it had to trigger Windows to
dial into the Internet first.

Thanks


  #3 (permalink)  
Old December 27th 08, 08:02 PM posted to microsoft.public.windows.vista.networking_sharing
Milhouse Van Houten
external usenet poster
 
Posts: 156
Default Can Remote Desktop trigger a VPN connection or must I do that manually first?

That should work fine, thanks. I wasn't aware of the command-line
equivalents.

"Robert L. (MS-MVP)" wrote in message
...
You may be able to do that if you know how to use script. The easy
solution is create a batch file with 3 commands, for example,

mstsc TS public IP
rasdial entryname [username [password]
mstsc TS private IP

If the first command doesn't work, you will receive a error, click OK to
establish the VPN connection and then RDC. This how to may help too.
How to vpn automatically
Add pre-setup VPN auto-connection by CMAK to the Startup. 2. Create a
logon batch with rasdail command to start the VPN connection. ...
www.howtonetworking.com/VPN/autorasdial1.htm



--
Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on
http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on
http://www.HowToNetworking.com
"Milhouse Van Houten" wrote in message
...
I connect into a corporate PPTP VPN via RD, and right now it's a little
cumbersome since I have to establish the VPN connection and then launch
RD.

Is there a way to configure RD so that it knows it needs the VPN
connection first and so launches the VPN connectoid itself, waits for the
connection, and then establishes the RD? Sort of like in the old days,
where you'd run a Winsock app and it knew it had to trigger Windows to
dial into the Internet first.

Thanks


 




Thread Tools
Display Modes

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

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



All times are GMT. The time now is 11:40 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2012 Vista Banter.
The comments are property of their posters.