Use the Configure E-mail and Internet Connection Wizard script
Platí pro: Windows SBS 2003
To complete this procedure, you must be logged on as a member of the Domain Admins security group.
You can use the Configure E-mail and Internet Connection Wizard script (Config.vbs) with its current settings to restore the configuration of the computer from which the script was generated. You can also customize this script and use it to configure another computer running Windows Small Business Server 2003 or use it to reconfigure the computer from which the script was generated using new settings.
You need to run the Configure E-mail and Internet Connection Wizard to generate the initial copy of the script to use for this procedure. For more information about running the wizard, see Connect to the Internet.
From the server where you ran the Configure E-mail and Internet Connection Wizard, browse to the location of the script file: Program Files\Microsoft Windows Small Business Server\Networking\Icw\Config.vbs
The name of the script changes each time you run the wizard to preserve the previous settings, for example, config.vbs, config1.vbs, config2.vbs, and so on. Select the number for the script file that you want to run.
If you are planning to modify the script file, it is recommended that you first make a copy of the file and save it using a different name to preserve the original settings. For more information about modifying settings in the script file, see Modify the Configure E-mail and Internet Connection Wizard script file.
If you are configuring a server other than the one from which the script was generated, save the Config.vbs file to a folder or drive on that computer.
Run the script file from the location where the script file is located, using either the command prompt or the Run dialog box. For example, click Start, click Run, and then type:
For security purposes, the script does not store any passwords. You can enter passwords as a command-line argument or by removing the comment (') from the script property and then typing the password. Passwords are case sensitive. If you do not provide passwords when running the script, the script will fail.
To enter a password as a command-line argument
To pass in your dial-up password, type the following:
Config.vbs -MODEMPWD yourpassword1
To pass in your SMTP e-mail password (TURN after Authentication), type the following:
Config.vbs -SMTPPWD yourpassword2
To pass in your broadband connection password (PPPoE), type the following:
Config.vbs -PPPOEPWD yourpassword3
To pass in more than one password at once, type the first password followed by a space and then the next password. For example, type the following:
Config.vbs -MODEMPWD yourpassword1 -SMTPPWD yourpassword2
When you run the script file, the wizard checks all properties to be sure they are valid. If there are any values that are not valid, the script will not configure any settings and will display an error message.
Unless you run the script in quiet mode, you will see the status dialog box for the Configure E-mail and Internet Connection Wizard.
The script will not configure mailbox accounts for the Microsoft Connector for POP3 Mailboxes. For more information about configuring mailbox accounts, see Add or remove a POP3 mailbox.
To run the script in quiet mode so that you do not see the dialog box that indicates status for component configurations, add the /q command-line parameter. For example, you would type Path_to_file