Scripting Question:
How to disconnect the vpn client in VB Script?
Answer:
My users have found this helpful. When a user has a drive mapped (especially in XP) on a laptop, it can sometimes slow the system down looking for the drive when not connected to the network. This solution allows them to connect to the Network drives only when they want to if in the local office or through VPN.
'Although DirectConnect works welll, not all of us have the resources for that.
This script will look up a set of network drive, and if connected, disconect them, or if not connected, connect them.
additional code could be added to connect printers, or even test the network before attempting connection.
'Although DirectConnect works welll, not all of us have the resources for that.
This script will look up a set of network drive, and if connected, disconect them, or if not connected, connect them.
additional code could be added to connect printers, or even test the network before attempting connection.