However I am still having problems getting all this to work on our Win2003 Terminal Server even though it works fine on an XP workstation. The relevant command is:-
rcc.exe -uniqueprofiles -storepassword
I have run REGMON on both the XP workstation and on the Win2003 machine to monitor what happens to registry keys in each case. The details are posted below. I can see some differences but still can't figure out why it works on one but not the other.
On the terminal server you can see the user id and password being read from the registry correctly. However the user just gets presented with the RCC login dialogue with all credentials blank. It is as if the RCC application retrieves it correctly from the registry but then does not pass it successfully to the login dialogue for some reason.
Any insights on why this might be broken would be very much appreciated.
On the XP Machine we get the following log:-
1683 18.08505440 rcc.exe:520 OpenKey HKCU\Software\KS-Soft\RCC\LastConnection SUCCESS Access: 0x20019
1684 18.08507156 rcc.exe:520 QueryValue HKCU\Software\KS-Soft\RCC\LastConnection\Host SUCCESS "ssyd-app01"
1685 18.08508492 rcc.exe:520 QueryValue HKCU\Software\KS-Soft\RCC\LastConnection\Host SUCCESS "ssyd-app01"
1686 18.08509827 rcc.exe:520 QueryValue HKCU\Software\KS-Soft\RCC\LastConnection\Host SUCCESS "ssyd-app01"
1687 18.08511162 rcc.exe:520 QueryValue HKCU\Software\KS-Soft\RCC\LastConnection\Host SUCCESS "ssyd-app01"
1688 18.08513069 rcc.exe:520 QueryValue HKCU\Software\KS-Soft\RCC\LastConnection\Login SUCCESS "terje"
1689 18.08514214 rcc.exe:520 QueryValue HKCU\Software\KS-Soft\RCC\LastConnection\Login SUCCESS "terje"
1690 18.08515549 rcc.exe:520 QueryValue HKCU\Software\KS-Soft\RCC\LastConnection\Login SUCCESS "terje"
1691 18.08516884 rcc.exe:520 QueryValue HKCU\Software\KS-Soft\RCC\LastConnection\Login SUCCESS "terje"
1692 18.08518600 rcc.exe:520 QueryValue HKCU\Software\KS-Soft\RCC\LastConnection\Port SUCCESS 0x41E
1693 18.08520699 rcc.exe:520 QueryValue HKCU\Software\KS-Soft\RCC\LastConnection\Timeout SUCCESS 0x6
1694 18.08522797 rcc.exe:520 QueryValue HKCU\Software\KS-Soft\RCC\LastConnection\Refreshrate SUCCESS 0x1E
1695 18.08524513 rcc.exe:520 QueryValue HKCU\Software\KS-Soft\RCC\LastConnection\Confirmations SUCCESS 0x1
1696 18.08525848 rcc.exe:520 QueryValue HKCU\Software\KS-Soft\RCC\LastConnection\Pswd SUCCESS "trj"
1697 18.08527184 rcc.exe:520 QueryValue HKCU\Software\KS-Soft\RCC\LastConnection\Pswd SUCCESS "trj"
1698 18.08528519 rcc.exe:520 QueryValue HKCU\Software\KS-Soft\RCC\LastConnection\Pswd SUCCESS "trj"
1699 18.08529663 rcc.exe:520 QueryValue HKCU\Software\KS-Soft\RCC\LastConnection\Pswd SUCCESS "trj"
1700 18.08532333 rcc.exe:520 CloseKey HKCU\Software\KS-Soft\RCC\LastConnection SUCCESS
1701 18.08535385 rcc.exe:520 OpenKey HKCU\Software\KS-Soft\RCC\Options SUCCESS Access: 0x20019
1702 18.08536720 rcc.exe:520 QueryValue HKCU\Software\KS-Soft\RCC\Options\ProcessSndActions SUCCESS 0x0
1703 18.08538055 rcc.exe:520 QueryValue HKCU\Software\KS-Soft\RCC\Options\ProcessMsgActions SUCCESS 0x0
1704 18.08539391 rcc.exe:520 QueryValue HKCU\Software\KS-Soft\RCC\Options\BadSoundFile SUCCESS ""
1705 18.08540726 rcc.exe:520 QueryValue HKCU\Software\KS-Soft\RCC\Options\BadSoundFile SUCCESS ""
1706 18.08542061 rcc.exe:520 QueryValue HKCU\Software\KS-Soft\RCC\Options\BadSoundFile SUCCESS ""
1707 18.08543205 rcc.exe:520 QueryValue HKCU\Software\KS-Soft\RCC\Options\BadSoundFile SUCCESS ""
1708 18.08544731 rcc.exe:520 QueryValue HKCU\Software\KS-Soft\RCC\Options\GoodSoundFile SUCCESS ""
1709 18.08545876 rcc.exe:520 QueryValue HKCU\Software\KS-Soft\RCC\Options\GoodSoundFile SUCCESS ""
1710 18.08547211 rcc.exe:520 QueryValue HKCU\Software\KS-Soft\RCC\Options\GoodSoundFile SUCCESS ""
1711 18.08548355 rcc.exe:520 QueryValue HKCU\Software\KS-Soft\RCC\Options\GoodSoundFile SUCCESS ""
1712 18.08549881 rcc.exe:520 QueryValue HKCU\Software\KS-Soft\RCC\Options\SoundRepeat NOT FOUND
1713 18.08553505 rcc.exe:520 CloseKey HKCU\Software\KS-Soft\RCC\Options SUCCESS
1714 18.08556366 rcc.exe:520 OpenKey HKCU\Software\KS-Soft\RCC\UpdateCheck NOT FOUND
1715 18.34899521 rcc.exe:520 CreateKey HKCU\Software\KS-Soft\RCC\LastConnection SUCCESS Access: 0xF003F
1716 18.34910202 rcc.exe:520 SetValue HKCU\Software\KS-Soft\RCC\LastConnection\Host SUCCESS "ssyd-app01"
1717 18.34919357 rcc.exe:520 SetValue HKCU\Software\KS-Soft\RCC\LastConnection\Login SUCCESS "terje"
1718 18.34923172 rcc.exe:520 SetValue HKCU\Software\KS-Soft\RCC\LastConnection\Port SUCCESS 0x41E
1719 18.34926414 rcc.exe:520 SetValue HKCU\Software\KS-Soft\RCC\LastConnection\Timeout SUCCESS 0x6
1720 18.34929848 rcc.exe:520 SetValue HKCU\Software\KS-Soft\RCC\LastConnection\Refreshrate SUCCESS 0x1E
1721 18.34931946 rcc.exe:520 SetValue HKCU\Software\KS-Soft\RCC\LastConnection\Confirmations SUCCESS 0x1
1722 18.34935951 rcc.exe:520 SetValue HKCU\Software\KS-Soft\RCC\LastConnection\Pswd SUCCESS "trj"
1723 18.34938622 rcc.exe:520 CloseKey HKCU\Software\KS-Soft\RCC\LastConnection SUCCESS
1724 18.34943199 rcc.exe:520 CreateKey HKCU\Software\KS-Soft\RCC\Options SUCCESS Access: 0xF003F
1725 18.34945297 rcc.exe:520 SetValue HKCU\Software\KS-Soft\RCC\Options\ProcessSndActions SUCCESS 0x0
1726 18.34947205 rcc.exe:520 SetValue HKCU\Software\KS-Soft\RCC\Options\ProcessMsgActions SUCCESS 0x0
1727 18.34949112 rcc.exe:520 SetValue HKCU\Software\KS-Soft\RCC\Options\BadSoundFile SUCCESS ""
1728 18.34950829 rcc.exe:520 SetValue HKCU\Software\KS-Soft\RCC\Options\GoodSoundFile SUCCESS ""
1729 18.34952927 rcc.exe:520 SetValue HKCU\Software\KS-Soft\RCC\Options\MsgWinConstPos SUCCESS 0x0
1730 18.34954834 rcc.exe:520 SetValue HKCU\Software\KS-Soft\RCC\Options\MsgWinAutoClose SUCCESS 0x0
1731 18.34956932 rcc.exe:520 SetValue HKCU\Software\KS-Soft\RCC\Options\MsgWinStayTop SUCCESS 0x0
1732 18.34958839 rcc.exe:520 SetValue HKCU\Software\KS-Soft\RCC\Options\MsgWinXPos SUCCESS 0x0
1733 18.34961128 rcc.exe:520 SetValue HKCU\Software\KS-Soft\RCC\Options\MsgWinYPos SUCCESS 0x0
1734 18.34963226 rcc.exe:520 SetValue HKCU\Software\KS-Soft\RCC\Options\MsgWinTime SUCCESS 0x0
1735 18.34965515 rcc.exe:520 CloseKey HKCU\Software\KS-Soft\RCC\Options SUCCESS
On the Win2003 Server we get the following log:-
131 83.11988068 rcc.exe:2992 OpenKey HKCU\Software\KS-Soft\RCC\LastConnection SUCCESS
132 83.11991882 rcc.exe:2992 OpenKey HKCU\Software\KS-Soft\RCC\LastConnection SUCCESS
133 83.11994171 rcc.exe:2992 QueryValue HKCU\Software\KS-Soft\RCC\LastConnection\Host SUCCESS "ssyd-app01"
134 83.11995697 rcc.exe:2992 CloseKey HKCU\Software\KS-Soft\RCC\LastConnection SUCCESS
135 83.11998749 rcc.exe:2992 OpenKey HKCU\Software\KS-Soft\RCC\LastConnection SUCCESS
136 83.12000275 rcc.exe:2992 QueryValue HKCU\Software\KS-Soft\RCC\LastConnection\Login SUCCESS "terje"
137 83.12001801 rcc.exe:2992 CloseKey HKCU\Software\KS-Soft\RCC\LastConnection SUCCESS
138 83.12004089 rcc.exe:2992 OpenKey HKCU\Software\KS-Soft\RCC\LastConnection SUCCESS
139 83.12005615 rcc.exe:2992 QueryValue HKCU\Software\KS-Soft\RCC\LastConnection\Port SUCCESS 0x41E
140 83.12007141 rcc.exe:2992 CloseKey HKCU\Software\KS-Soft\RCC\LastConnection SUCCESS
141 83.12010193 rcc.exe:2992 OpenKey HKCU\Software\KS-Soft\RCC\LastConnection SUCCESS
142 83.12011719 rcc.exe:2992 QueryValue HKCU\Software\KS-Soft\RCC\LastConnection\Timeout SUCCESS 0xC
143 83.12013245 rcc.exe:2992 CloseKey HKCU\Software\KS-Soft\RCC\LastConnection SUCCESS
144 83.12016296 rcc.exe:2992 OpenKey HKCU\Software\KS-Soft\RCC\LastConnection SUCCESS
145 83.12017822 rcc.exe:2992 QueryValue HKCU\Software\KS-Soft\RCC\LastConnection\Refreshrate SUCCESS 0x1E
146 83.12019348 rcc.exe:2992 CloseKey HKCU\Software\KS-Soft\RCC\LastConnection SUCCESS
147 83.12021637 rcc.exe:2992 OpenKey HKCU\Software\KS-Soft\RCC\LastConnection SUCCESS
148 83.12023163 rcc.exe:2992 QueryValue HKCU\Software\KS-Soft\RCC\LastConnection\Confirmations SUCCESS 0x0
149 83.12024689 rcc.exe:2992 CloseKey HKCU\Software\KS-Soft\RCC\LastConnection SUCCESS
150 83.12026978 rcc.exe:2992 OpenKey HKCU\Software\KS-Soft\RCC\LastConnection SUCCESS
151 83.12029266 rcc.exe:2992 QueryValue HKCU\Software\KS-Soft\RCC\LastConnection\Pswd SUCCESS "trj"
152 83.12030792 rcc.exe:2992 CloseKey HKCU\Software\KS-Soft\RCC\LastConnection SUCCESS
153 83.12032318 rcc.exe:2992 CloseKey HKCU\Software\KS-Soft\RCC\LastConnection SUCCESS
154 83.12035370 rcc.exe:2992 OpenKey HKCU\Software\KS-Soft\RCC\Options SUCCESS
155 83.12037659 rcc.exe:2992 OpenKey HKCU\Software\KS-Soft\RCC\Options SUCCESS
156 83.12039185 rcc.exe:2992 QueryValue HKCU\Software\KS-Soft\RCC\Options\ProcessSndActions SUCCESS 0x0
157 83.12040710 rcc.exe:2992 CloseKey HKCU\Software\KS-Soft\RCC\Options SUCCESS
158 83.12043762 rcc.exe:2992 OpenKey HKCU\Software\KS-Soft\RCC\Options SUCCESS
159 83.12045288 rcc.exe:2992 QueryValue HKCU\Software\KS-Soft\RCC\Options\ProcessMsgActions SUCCESS 0x0
160 83.12046051 rcc.exe:2992 CloseKey HKCU\Software\KS-Soft\RCC\Options SUCCESS
161 83.12048340 rcc.exe:2992 OpenKey HKCU\Software\KS-Soft\RCC\Options SUCCESS
162 83.12049866 rcc.exe:2992 QueryValue HKCU\Software\KS-Soft\RCC\Options\BadSoundFile SUCCESS ""
163 83.12051392 rcc.exe:2992 CloseKey HKCU\Software\KS-Soft\RCC\Options SUCCESS
164 83.12053680 rcc.exe:2992 OpenKey HKCU\Software\KS-Soft\RCC\Options SUCCESS
165 83.12055206 rcc.exe:2992 QueryValue HKCU\Software\KS-Soft\RCC\Options\GoodSoundFile SUCCESS ""
166 83.12056732 rcc.exe:2992 CloseKey HKCU\Software\KS-Soft\RCC\Options SUCCESS
167 83.12058258 rcc.exe:2992 OpenKey HKCU\Software\KS-Soft\RCC\Options SUCCESS
168 83.12060547 rcc.exe:2992 QueryValue HKCU\Software\KS-Soft\RCC\Options\SoundRepeat NOT FOUND
169 83.12061310 rcc.exe:2992 CloseKey HKCU\Software\KS-Soft\RCC\Options SUCCESS
170 83.12065887 rcc.exe:2992 CloseKey HKCU\Software\KS-Soft\RCC\Options SUCCESS
171 83.12069702 rcc.exe:2992 OpenKey HKCU\Software\KS-Soft\RCC\UpdateCheck NOT FOUND