
Applications Compatibility Scripts for Windows NT Server, Terminal
Server Edition
Resolution:
Terminal Server handles this situation by providing an install mode. You enter
install mode by issuing the command “change user /install” at a cmd prompt or by
selecting “All users begin with common application settings” from the Add/Remove
Programs wizard. Once you have entered install mode, you can install the
application. Each registry setting that is written to HKEY_CURRENT_USER will be
mirrored into a special location within HKEY_LOCAL_MACHINE. When your
installation is complete, the “change user /execute” command takes you out of
install mode. If you’re using the Add/Remove Programs wizard, you are
automatically taken out of install mode after you click the finish button. Terminal
Server propagates the mirrored information in HKEY_LOCAL_MACHINE to each
user’s HKEY_CURRENT_USER when the information is needed. The location of
the mirrored registry entries are:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Ter
minalServer\Install.
Application fails to create HKEY_CURRENT_USER settings on install:
An application may not create HKEY_CURRENT_USER registry settings during
installation. Instead, it might wait until the first time a user runs the program. If the
person who installs the application does not run it while install mode is still active,
the HKEY_CURRENT_USER settings won’t get copied to
HKEY_LOCAL_MACHINE and the automatic propagation won’t occur.
The first time each user runs the application, their HKEY_CURRENT_USER will be
loaded with the default settings. Depending on the application, this may or may not
be appropriate. If the default settings aren’t sufficient, then they would need to be
corrected for each user individually.
Resolution:
Before leaving install mode, the administrator can run the application. If the
administrator has already left install mode but hasn’t run the application, just re-
enter install mode with “change user /install” and run the application. If the
administrator has already run the application while in execute mode, create another
administrator account. Log on with this new account, change to install mode, and
run the application. In all cases, use “change user /execute” to leave install mode
after running the application.
Komentáře k této Příručce