After completing the TMG_VPN configuration a few days ago, I was wondering if I could simplify the user's operation? It's best to use scripting to get users to do no configuration, just click to complete the configuration of all VPN, after a period of writing and modification, this evening finally completed the Windows XP VPN automatic configuration of the script, not before how to write, the first time, encountered a lot of problems, However, after their own changes have completed the following functions:
1, automatically create all VPN servers.
2, create all the VPN server corresponding desktop shortcuts.
3, to generate PBK file shortcuts.
4, the existing VPN connection for proofreading, to determine whether there has been a configuration operation.
5, after the configuration is completed, according to the user input value to determine whether to reboot.
Of course, in the configuration process, there may be some difference between implementing VPN autoconfiguration with Windows 7, and the main difference is that the path selection is that Windows XP does not recognize the name of a space in the folder name, In this case, you may need to set the names of the folders with spaces in quotation marks. The specific people can look at the configuration behind, the written may not be the most concise, but still want to share, so that more friends in the same problem, you can refer to, hehe.