How to Automate Terminal Server Client Configuration (232968)
The information in this article 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.
RESOLUTIONWARNING: 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.
- Click Start, point to Programs, and then click Windows NT Explorer.
- Browse to the following folder
<WINNT>\Profiles\All Users\Start Menu Programs
where <WINNT> is the folder in which you installed Windows NT. - Right-click a blank area in the right window pane, point to New, and then click Shortcut.
- 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.
- At the end of the path and file name, type the following text
where <RegistryKeyName> is the name of the registry key you noted in step 2.
- Click Next, click Next, and then click Finish.
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.
REFERENCESFor additional information about automating the logon process, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
158447 How to Run a Program Only Once After Unattended Setup of WINNT
167364 Automating AUTOADMINLOGON Locally When Joining a Domain
Modification Type: | Major | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbenv kbnetwork kbprb KB232968 |
---|
|