Share via


Writing scripts for intermediary devices

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Writing scripts for intermediary devices

Each script for a static dialog box is a section of the Switch.inf file. You add a script for each intermediary device to the Switch.inf file. For an example of X.25 network scripts, see the Pad.inf file, located in the systemroot\System32\Ras folder.

When you connect by using modem pools or security hosts, you must have a dialog with that device. The dialog occurs either before dialing or after dialing. Although preconnect and postconnect dialogs can be either static or interactive, the preconnect dialog box is normally static and the postconnect is normally interactive.

The included Switch.inf file provides a generic script that will probably work with little or no modification when you are connecting to PPP servers. You should try to connect by using the generic Switch.inf script. If that does not work, you can copy--and then modify--the generic script to match the logon sequence of the remote computer to which you want to connect.

For more information about Switch.inf scripts, see Automating the Dial-up Logon Process by Using Switch.inf Scripts. For information about configuring a connection to use a Switch.inf script, see Activate a logon script.