Microsoft KB Archive/811964

= Terminal Services Program May Run More Slowly on Windows 2000 Than on Windows NT 4.0 =

Article ID: 811964

Article Last Modified on 2/22/2007

-

APPLIES TO


 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Service Pack 3
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 3
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows 2000 Service Pack 1

-



SYMPTOMS
If Windows 2000 Terminal Services users run programs that update the users' Win.ini file by calling GetPrivateProfileString and WritePrivateProfileString, the program may seem to run more slowly than on Microsoft Windows NT 4.0, Terminal Server Edition. This occurs only if the users' home folders are located on a remote file server that contains the users' Wini.ini files.



CAUSE
GetPrivateProfileString and WritePrivateProfileString use Tsappcmp.dll to determine if the file exists by opening the file with specific access permissions. If the file exists, it is opened again for read or write permissions (by GetPrivateProfileString and WritePrivateProfileString). Because the access permission for the second open is different from the first open, the redirector closes and reopens the file instead of &quot;collapsing&quot; it. If a program calls GetPrivateProfileString and WritePrivateProfileString frequently, the alternative opening and closing of the file causes the process to be slow.



Service Pack Information
To resolve this problem, obtain the latest service pack for Microsoft Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack

Hotfix Information
A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Windows 2000 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

  Date         Time   Version        Size     File name --  07-Jan-2003  21:22  5.0.2195.6161  371,536  Mrxsmb.sys 07-Jan-2003 21:22  5.0.2195.6161  132,976  Rdbss.sys



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft Windows 2000 Service Pack 4.



MORE INFORMATION
For additional information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the article number below to view the article in the Microsoft Knowledge Base:

265173 The Datacenter Program and Windows 2000 Datacenter Server Product

Keywords: kbbug kbfix kbwin2000presp4fix kbqfe kboswin2000fix kbwin2ksp4fix kbhotfixserver KB811964

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.