Implementing a batch script for automatic configuration of VPN connections under Windows XP

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.