Note The Install application on the Terminal Server tool is available when you install the Terminal Services role. The Install application on the Terminal Server tool switches the Terminal Server server to Execute mode when the installation is complete.

You can also use the change user command to switch a Terminal Server server into Install mode. To switch a Terminal Services server into Install mode, follow these steps.

Note To determine the current mode on the Terminal Server server, run the change user /query command at a command prompt.

  • Click Start, and then click Run.
    • In the Open box, type cmd, and then click OK.
    • At the command prompt, type change user /install, and then press ENTER. The following message appears:
  • User session is ready to install applications.
    • Type exit, and then press ENTER.
    • Add or remove the programs that you want.
  • To switch a Terminal Services server into Execute mode, follow these steps:
    • Click Start, and then click Run.
    • In the Open box, type cmd, and then click OK.
    • At the command prompt, type change user /iexecute, and then press ENTER. The following message appears:
  • User session is ready to install applications.
    • Type exit, and then press ENTER.

When you install programs in Install mode, Terminal Services tracks all registry entries, and the HKEY_CURRENT_USER information is primarily written to the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install

When you finish the program installation, by clicking Finish or by typing change user /execute, the system returns to Execute mode. The registry information that was written to the HKEY_CURRENT_USER registry hive during installation is written to the HKEY_CURRENT_USER registry hive for each user when they log on to the Terminal Server.

If you installed a program before you added the Terminal Services role, the system was not “listening” to the registry writes of the installation and the registry entries were not written to the correct user registry keys. Therefore, you must reinstall the program in Install mode for the program work properly.

 

 

 

 

 

 

Suggested Posts:

Leave a Reply