Share via


Activate a logon script

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

To activate a logon script

  1. Open Network Connections.

  2. Right-click the dial-up connection on which you want to run a script, and then click Properties.

  3. On the Security tab, select the Run script check box.

  4. To use an existing script file, click Browse.

    Or, to use Switch.inf, click Edit.

Notes

  • To open Network Connections, click Start, click Control Panel, and then double-click Network Connections.

  • In addition to Switch.inf, the Windows 95 scripting language is supported for computers running the Windows Server 2003 family that connect to computers running operating systems other than Windows. You may find the Windows 95 scripting language easier to use than Switch.inf. For more information, see Related Topics.

  • If you click Edit and load Switch.inf into Notepad, immediately resave the file with a different name to preserve the default Switch.inf file.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Creating Switch.inf Scripts for Network and Dial-up Connections
Log and view modem commands
Troubleshooting logon scripts