RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.
↑ Back to the top
Under the following conditions:
- a Terminal Server�unaware app running in Terminal Server�execution mode deletes entries in the HKCU key
- a program is installed/re-installed in Terminal Server�(in install mode) OR installed via�the MSI installer
Then some per-user registry entries written by the installer�to the default user profile (HKU\.Default\Software) may not be copied to the current user (HKCU\Software).
This may cause some of these symptoms:
- Programs to have unintended or non default per-user behavior due to HKCU registry entries not being set to the default
- In some cases, it also been observed that some installers may continue to look for HKCU to be written, and continually launch into a reinstall cycle due to these missing entries.
↑ Back to the top
This issue can be caused when� HKCU\Software�registry entries�are deleted by an application.�The delete can�result in a TermSrvCopyKeyOnce key being applied to the�Terminal Server's�view of the registry.
Afterwards, at the end of the same program install or re-install, and during per user login, when the HKU\.Default\Software settings are copied to each user's HKCU\Software hive; the TermSrvCopyKeyOnce�is checked for each sub-key in the tree. If this key is present, the copy operation will not continue for that key.
↑ Back to the top
If your user's are using Terminal Server, and you suspect that the initial default settings are not being copied to the HKCU for each user.
Then compare: HKU\.Default\Software\<Vendor>
With: HKCU\Software\<Vendor>
If the values are not being applied to HKCU, it is possible that you are facing this issue.
In order to resolve the issue, search for and delete all instances of the TermSrvCopyKeyOnce under the following registry path: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\<Vendor>.
For example, you may need to delete:
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\<Vendor>\<Product>\TermSrvCopyKeyOnce
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\<Vendor>\<Product>\<Feature1>\TermSrvCopyKeyOnce
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\<Vendor>\<Product>\<Feature2>\TermSrvCopyKeyOnce
↑ Back to the top
MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE �MATERIALS�) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.
↑ Back to the top