JSI Tip 2469. Configurable parameters for Window 2000 Terminal Services.


You can configure Windows 2000 Terminal Services at:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server

NOTE: you should only change the following entries when troubleshooting or after verifying that it produces the intended results. Do NOT change any other values.

DeleteTempDirsOnExit
Type: REG_DWORD
Data value: 0x1 Enabled, the default, deletes session-created temporary folders at logoff.
Data value: 0x0 Disabled

IdleWinStationPoolCount is the number of idle RDP sessions to maintain.
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


PerSessionTempDir
Type: REG_DWORD
Data value: 0x1 Enabled, the default, uses a unique temporary folder for each session.
Data value: 0x0 Disabled


TSAppCompat determines if Application Compatibility mode is used.
Type: REG_DWORD
Data value: 0x1 Enabkled
Data value: 0x0 Disabled
Default data value: 0x1 Application Server
Default data value: 0x0 Remote Administration Server


TSEnabled indicates wether Terminal Services is enabled.
Type: REG_DWORD
Data value: 0x1 Enabled
Data value: 0x0 Disabled


FirstCountMsgQPeeksSleepBadApp is the number of times the program must query the message queue
                                      before Terminal Services decides that it is ill-behaved.
                                      Decreaseing this value will put the program to sleep more often,
                                      using less CPU time.
Type: REG_DWORD
Default data value: 0xf
Range: 0xf - 0xff


MsgQBadAppSleepTimeInMillisec is the number of milliseconds the program sleeps when it is
                                    determined to be ill-behaved. Increasing this value uses less CPU time.
                                    Setting it to 0 disables the sleep.
Type: REG_DWORD
Data value: 0x1 is the default.
Data value: 0x0 Disabled


NthCountMsgQPeeksSleepBadApp is how often the ill-behaved program must query the message queue 
                                     before it is suspended again. Decreasing this value uses less CPU time.
Type: REG_DWORD
Default data value: 0x5
Range: 0x5 - 0xff


FlatTempDir specifies whether or not a flat temporary folder will be used.
Type: REG_SZ
Data value: 0x1 Enabled
Data value: 0x0, Disabled, is the default.

TAGS: Windows 8
Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish