You need to use the Devcon program to enable and disable network connections from the command line. Devcon is listed as a "Command Line Utility Alternative to Device Manager". I used it in a similar situation to enable the SonicWall VPN Adapter on our companies laptops. The SVA caused problems if left to run when not needed, so I enabled and disabled it using a batch file that users would run to connect and disconnect from the VPN.
The command to enable the connection looked like this:
Quote:
devcon enable *rc_virtualadapter
And the command to disable the connection looked like this:
Quote:
devcon disable *rc_virtualadapter
I am not sure how I found out the connections "name" but if you google devcon.exe you should be able to find it.
You can get more information, and download devcon, from microsoft at http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q311272
Good Luck, and happy hacking!