Hi All, We are going to provide VPN service to our clients through a third party PPTP appliance (Netbox), we would like to run a Windows domain's script as soon as the VPN connection is established. The script would automatically map drivers for the users at home.
I have searched for many places and I failed to find any really useful information/solution to accommodate my need--- Run a script automatically as soon as the VPN connection is established
Let's say a user, on a laptop running Windows XP, wants to connect o our VPN endpoint (NetBox) from home. They fire up the laptop, double-click on the VPN client shortcut on their desktop, put in their credentials (authenticate from our Active Directory), and they successfully connect to our network using the VPN tunnel.
Notice that we said "connect to our network". We did NOT say "connect to our DOMAIN". The VPN is logically just a replacement for a really long patch cable that connects the client computer to our internal network. It does not also join that client computer to our domain.
There must be someway to do this--- Run a script automatically as soon as the VPN connection is established, but I don't know how! It's really frustrated.
Not possible unless the PPTP client used on the system provides an option to execute a script which the windows miniport does not have this option. You can create the drive mapping script on your side and provide the user a shortcut to execute when the VPN connection is established. Note, the establishment of the PPTP connection merely gets them to your LAN, they might not have the "right" windows credentials to access the shares.