A command/script to create a new network connection and put a shortcut to that connection on desktop
Hi I want a script/command to achieve this: Start-->Setting-->n/w connections-->New N/W Connection --> Go through the wizard and end up adding a shortcut to desktop. The reason for this requirement is because, i want to do it for many users in my company, they should able to run the script and be done with it rather than going through the setup themselves. Any help is appreciated.1 person needs an answerI do too
November 4th, 2009 12:53am

You can do this using the NETSH or Net Shell utility built-in to Windows.Usage: netsh interface add interface [name=]<string> [[type=]full] Parameters: Tag Value name - Name of the interface to be added. type - One of the following values: full: Creates a demand dial interface. Remarks: Adds an interface to the router. For full interfaces, a phone book entry with the same name must already exist on the system. Examples: add interface name="Demand-Dial Interface" type=full The command adds a demand dial interface to the router.Or you can use a simple script like the one at this URL:http://www.vistax64.com/vb-script/174425-how-create-new-vpn-connection-using-script-o-batch.htmlTo start NETSH open up your command prompt and type NETSH. This will enter you in to the network shell environment where you can explore the commands by typing ? and hitting enter. Pretty much all of your network settings are accessable via NETSH. NETSH even lets you dump a configuration to a file that you can copy, modify, and then use NETSH to deploy the configuration on another system. (See the DUMP commands in NETSH)
Free Windows Admin Tool Kit Click here and download it now
November 4th, 2009 7:49am

Thank you very much. I really appreciate it. Regards Milind
November 7th, 2009 10:54pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics