SU Topics | Previous | Next

SU Environment Variables


The following environment variables particular to SU may be used with the tool. These environment variables are used only when the SU graphical user interface (GUI) is not invoked.

To view or change environment variables:

  1. Click Start, point to Settings, then click Control Panel.
  2. In Control Panel, double-click System, click the Advanced tab, then click the Environment Variables... button.

These environment variables can also be set in a batch file to be used with the Windows 2000 Task Scheduler service.


SU_USERNAME
supplies a default user name to SU.
SU_PASSWORD
supplies a password to SU. Avoids password prompting.
SU_DOMAIN
overrides default domain name referenced by SU.
SU_COMMANDLINE
overrides default command line run by SU.
SU_DESKTOP
overrides default windowstation and desktop targeted by SU.