Microsoft KB Archive/232968

= How to Automate Terminal Server Client Configuration =

Article ID: 232968

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows NT Server 4.0, Terminal Server Edition

-



This article was previously published under Q232968



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
When you log on to a computer, the Terminal Server Client Configuration window may be displayed even though you have already configured it to use a terminal server connection.



RESOLUTION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To resolve this issue, follow these steps:  On the client computer, configure the terminal server connection. In the registry, note the name of the key under the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client

NOTE: Each terminal server connection creates a registry key. Close Registry Editor. Click Start, point to Find, and then click Files Or Folders. In the Named box, type mstsc.exe, and then click Find Now. Note the folder where the Mstsc.exe file is located. Close the Find window.</li> Click Start, point to Programs, and then click Windows NT Explorer.</li> Browse to the following folder

<WINNT>\Profiles\All Users\Start Menu Programs

where <WINNT> is the folder in which you installed Windows NT.</li> Right-click a blank area in the right window pane, point to New, and then click Shortcut.</li> In the Command Line box, type the path and file name you noted in step 5, or click Browse to browse to the Mstsc.exe file, and then click Open.</li> At the end of the path and file name, type the following text

"<RegistryKeyName>"

where <RegistryKeyName> is the name of the registry key you noted in step 2.</li> Click Next, click Next, and then click Finish.</li></ol>

NOTE: If you need to configure multiple workstations, you can copy the registry keys mentioned, using a .reg file or a Regini script. The Regini.exe tool is available with the Windows NT 4.0 Resource Kit.

<div class="references_section">