Examining the Terminal Server Key in HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control

ID: Q243215


The information in this article applies to:
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows 2000 Server


SUMMARY

Terminal Services in Windows 2000 implements a number of administrator-configurable values under the following registry key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server
The default values are recommended for a reason and should be changed only to troubleshoot a problem or better define the user experience for the sake of administration. Other values might be listed under this key, but they should not be modified.


MORE INFORMATION

Each of the following values is listed under the following registry key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server
DeleteTempDirsOnExit
Type: REG_DWORD
Data value: 0x1 Enabled
Data value: 0x0 Disabled
Default data value: 0x1 Enabled

Deletes session-created temporary folders at logoff.

IdleWinStationPoolCount
Type: REG_DWORD
Data value: 0x2 Two Idle Sessions
Data value: 0x1 One Idle Sessions
Data value: 0x0 Zero Idle Sessions
Default data value: 0x2 Application Server
Default data value: 0x0 Remote Administration Server

The number of idle RDP sessions to maintain.

PerSessionTempDir
Type: REG_DWORD
Data value: 0x1 Enabled
Data value: 0x0 Disabled
Default data value: 0x1 Enabled

Use a unique temporary folder for each session.

ProductVersion
Type: REG_SZ
Data value: 5.0
Default data value: 5.0

Indicates the version of Terminal Services (not configurable).

TSAppCompat
Type: REG_DWORD
Data value: 0x1 Application Server
Data value: 0x0 Remote Administration Server
Default data value: 0x1 Application Server
Default data value: 0x0 Remote Administration Server

Uses Application Compatibility mode or not.

TSEnabled
Type: REG_DWORD
Data value: 0x1 Enabled
Data value: 0x0 Disabled

Indicates whether Terminal Services is enabled or not.


FirstCountMsgQPeeksSleepBadApp
Type: REG_DWORD
Default data value: 0xf
Range: 0xf - 0xff

The number of times the program must query the message queue before Terminal Services decides that it is ill-behaved. Decrease this value to put the program to sleep more often, so it uses less CPU time.

MsgQBadAppSleepTimeInMillisec
Type: REG_DWORD
Data value: 0x1 Enabled
Data value: 0x0 Disabled
Default data value: 0x1 Enabled

The number of milliseconds the program is suspended when Terminal Services has decided that it is ill-behaved. Increase this value to use less CPU time. If this value is zero, polling detection is disabled.

NthCountMsgQPeeksSleepBadApp
Type: REG_DWORD
Default data value: 0x5
Range: 0x5 - 0xff

After the program is determined to be "bad," this setting is the number of times the program must query the message queue before it is suspended again. Decrease this value to use less CPU time.

FlatTempDir
Type: REG_SZ
Data value: 0x1 Enabled
Data value: 0x0 Disabled
Default data value: 0x0 Disabled

Specifies whether or not a flat temporary folder will be used.

Modems With Bad DSR
Type: REG_MULTI_SZ
Default data value:
MultiTech MultiModem MT2834
MultiTech MultiModem MT2834ZDX
MultiTech MT2834
MultiTech MT2834ZDX
MultiTech 2834
MultiTech 2834ZDX

Modems that have known issues with Data Set Ready (DSR).

Additional query words:

Keywords : kbenv
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: December 29, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.