TECH decent way of establishing a vpn connection and then opening RDP?

dorkultra

OT's resident crohns dude
OT Supporter
Oct 14, 2005
33,407
nilbog, trollhio
i realize that i can make a script to dial up the vpn and then open up rdp and connect

looking for something that will tear down the vpn (simple pptp) once the rdp connection it closed out. i guess i could just leave the vpn up all the time, but it will eventually drop because of network issues or scheduled router reboots etc


needs to be something simple, something my parents can't mess up
 
TS
TS
dorkultra

dorkultra

OT's resident crohns dude
OT Supporter
Oct 14, 2005
33,407
nilbog, trollhio
:bowdown: that was easy and works perfectly
@echo off
rasdial office user password
start /wait cmd /C "C:\Users\karl\Desktop\office.RDP"
rasdial /disconnect

thanks brah
 

Users who are viewing this thread

About Us

  • Please do not post anything that violates any Local, State, Federal or International Laws. Your privacy is protected. You have the right to be forgotten. Site funded by advertising, link monetization and member support.
OT v15.8.1 Copyright © 2000-2022 Offtopic.com
Served by fu.offtopic.com

Online statistics

Members online
464
Guests online
63
Total visitors
527

Forum statistics

Threads
369,648
Messages
16,903,721
Members
86,876
Latest member
peterparl19