Start by saving your script to C:\Windows\System
Then put a line in your Registry at:
HKLM\Software\Microsoft\Windows\CurrentVersion\Run RunScript, REG_SZ, "C:\Windows\System\YourScript.vbs"
This will run your script at start up. You may need to put this in your pc image, or you can lay down this registry key with a login script.
I am not sure about invoking the vpn connection.
Do you want to map drives on the other side of this connection?
Mapping a drive F: for example is:
Set objNetwork = WScript.CreateObject("WScript.Network")
objNetwork.MapNetworkDrive "F:", "\\ServerName\ShareName"
I am not sure if the vpn connection will mess this up. Can you tell me more about the steps you use to make the connection manually?
mmcdonal
|