0

I'm looking for a way to create a VPN connection automatically.

The connection should requires a Smartcard, use PPTP and disable using the remote default gateway. So far all I could find was CMAK (Which does works but forces sort of a welcome window before the actual connection) and key emulation with VBScript (.SendKey). The plan is to implement it within an HTA file, along with some other installations that are already set.

So far everything is written with VB, but if there isn't a solution there I could use anything else that would work.

4

1 回答 1

0

我实际上找到了答案......显然所有VPN都位于“C:\ Users \ All Users \ Application Data \ Microsoft \ Network \ Connections \ Pbk”的rasphone.ras文件中,您可以使用记事本修改它,它不是加密什么的。我只是使用脚本粘贴预先保存的 VPN 设置列表,然后您所要做的就是刷新 (F5) 网络连接页面。

于 2013-11-03T14:03:07.973 回答