How to Automate Terminal Server Client Configuration
ID: Q232968
|
The information in this article applies to:
-
Microsoft Windows NT Server version 4.0, Terminal Server Edition
IMPORTANT: This article contains information about editing the registry.
Before you edit the registry, make sure you understand how to restore it if
a problem occurs. For information about how to do this, view the "Restoring
the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help
topic in Regedt32.exe.
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: Using Registry Editor incorrectly can cause serious problems that
may require you to reinstall your operating system. Microsoft cannot
guarantee that problems resulting from the incorrect use of Registry Editor
can be solved. Use Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys and
Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete
Information in the Registry" and "Edit Registry Data" Help topics in
Regedt32.exe. Note that you should back up the registry before you edit it.
If you are running Windows NT, you should also update your Emergency
Repair Disk (ERD).
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
"<RegistryKeyName>"
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.
REFERENCES
For information about automating the logon process, please see
the following article in the Microsoft Knowledge Base:
Q158447 How to Run a Program Only Once After Unattended Setup of WINNT
Q167364 Automating AUTOADMINLOGON Locally When Joining a Domain
Additional query words:
wts automate
Keywords : kbenv kbnetwork kbtool
Version : winnt:4.0
Platform : winnt
Issue type : kbprb
|