Partager via


Install a program using the change user command

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

To install a program by using the change user command

  1. Log on to the terminal server as an administrator and close all applications.

  2. To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

  3. Type change user /install and press ENTER.

  4. Install the program on a local NTFS file system formatted drive as directed by the installation program.

  5. At the command prompt, type change user /execute when installation is complete.

  6. If applicable, edit and run the program installation script.

Notes

  • To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure. For more information, see Default local groups, Default groups, and Using Run as.

  • If prompted by a program to install an additional program, you can leave your initial program running.

  • You can type change user /query at the Command Prompt to see whether execute mode is enabled and .ini file mapping is on.

  • You should use Add or Remove Programs to install programs whenever possible.

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

Managing Terminal Services from the command line