Using device command (.inf) files

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

Using device command (.inf) files

Network Connections uses the Switch.inf and Pad.inf files to automate the interactive logon process with servers and to initialize X.25 packet assemblers/disassemblers (PADs). These device command (.inf) files, located in the systemroot\System32\Ras folder, use the same commands and syntax to communicate with devices or computers automatically.

Switch.inf

You can use the commands in this file when you connect to the network through a security host or a remote server that requires you to log on interactively (for example, a UNIX server). You can create a script by typing the name of the device in brackets and then adding one or more commands following the device name. After you create the script, activate the script (on the Security tab) for each connection that will use the script. You can use the scripts before you dial (for example, modem pools) or after you dial (for example, using security hosts or actually logging on to a remote server). For more information, see Automating the Dial-up Logon Process by Using Switch.inf Scripts.

Pad.inf

You can use the commands in this file when you connect to the network through an X.25 PAD. Most supported PADs have scripts that are provided in Pad.inf. If necessary, you can create a script by typing the name of the device within brackets and then adding one or more commands following the device name. After you create the script, activate the script (on the Security tab) for each connection that will use the script.

Caution

  • You should not edit Switch.inf or Pad.inf without a basic understanding of system configuration files.