An application that runs in a Terminal Services environment stops running or runs slower than expected in Windows Server 2003 (919953)
The information in this article applies to:
- Microsoft Windows Server 2003, Standard Edition
- Microsoft Windows Server 2003, Enterprise Edition
- Microsoft Windows Server 2003, Datacenter Edition
SUMMARYThis article describes how to resolve a problem that occurs when an application that runs in a Terminal Services environment stops running or runs slower than expected in Microsoft Windows Server 2003. This article describes the following about this hotfix release:
- The issues that are fixed by this hotfix package
- The prerequisites for installing the hotfix package
- Whether you must restart the computer after you install the hotfix package
- The files that are contained in the hotfix package
This article describes the following detailed information about how to configure this hotfix release: - How to verify that the system is experiencing this specific problem
- How to install the Microsoft Application Compatibility Toolkit
- How to use the Application Compatibility Toolkit to configure this hotfix release
This article also provides two methods that you can you use to work around this problem. SYMPTOMSAn application that runs in a Terminal Services environment stops running or runs slower than expected in Windows Server 2003.
This problem occurs if the following conditions are true: - The %homepath% directory is set in a user's Terminal Services profile.
- The application extensively reads or writes from the Win.ini file or from the .ini files that are in a per-user Windows directory on a Windows Server 2003-based computer that is running Terminal Services.
- The application accesses .ini files by using the GetProfileString function or the GetPrivateProfileString function.
- The %homepath% directory references a server across a high-latency link.
You do not experience this problem when the application is running in Microsoft Windows 2000 or in an earlier version.
CAUSEThis problem occurs for applications that are hard-coded to use the %systemroot%\Win.ini file or a customized .ini file. To avoid sharing violations, these applications automatically receive a copy of the Win.ini file that is stored in the user's Terminal Services %homepath%\Windows directory. If the application accesses the Terminal Services %homepath%\Windows directory across a high-latency connection, the read and write operations may be slow. Therefore, application performance may be slower than expected.
RESOLUTIONTo resolve this problem,
follow these steps: - Verify that the system is experiencing this specific problem. To do this, follow these steps:
- Use File Monitor (Filemon.exe) or a similar file monitoring tool to filter for the Win.ini file or for the .ini file that the application uses.
- Verify that the read and write operations access the .ini file in the user's Terminal Services %homepath%\Windows directory when the application is running.
- Install the Microsoft Application Compatibility Toolkit.
- Install the hotfix that is described in this section.
- Use the Application Compatibility Toolkit to configure the hotfix.
Note See the "More information" section for detailed information about how to perform steps 2 and 4.
Hotfix informationA supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Windows Server 2003 service pack that contains this hotfix. To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site: 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 usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. PrerequisitesThere are no prerequisites for this hotfix. Restart requirementYou must restart the computer after you apply this hotfix. Hotfix replacement informationThis hotfix does not replace any other hotfixes. File information
The English version of this hotfix has the file attributes (or later file attributes) 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 item in Control Panel.Windows Server 2003 |
Acgenral.dll | 5.2.3790.571 | 1,835,008 | 04-Aug-2006 | 13:47 | x86 | Sysmain.sdb | Not Applicable | 1,211,490 | 04-Aug-2006 | 13:48 | Not Applicable |
Windows Server 2003 with Service Pack 1 (SP1) |
Acgenral.dll | 5.2.3790.2764 | 1,860,608 | 04-Aug-2006 | 13:48 | x86 | SP1 | Sysmain.sdb | Not Applicable | 1,348,420 | 04-Aug-2006 | 13:52 | Not Applicable | SP1 |
WORKAROUNDTo work around this problem, use one of the following methods:
- If the application only has to read from the Win.ini file,
redirect the Win.ini file from the %homepath% directory to the system-wide Win.ini file that is located in the %systemroot% directory
For more information about how to redirect the Win.ini file, click the following article number to view the article in the Microsoft Knowledge Base:
186498
Terminal Server application integration information
- Disable use of the Terminal Services %homepath% directory. To do this, follow these steps:
- Click Start, click Run, type dsa.msc, and then click OK.
- In the console tree, click Users.
- Double-click the name of the user whose %homepath% directory you want to change.
- On the Terminal Services Profile tab, delete the %homepath% entry in the Profile Path box, and then click OK.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.
Modification Type: | Minor | Last Reviewed: | 9/15/2006 |
---|
Keywords: | kbExpertiseInter kbBug kbfix kbQFE kbWinServ2003preSP1fix kbhotfixserver kbpubtypekc KB919953 kbAudITPRO |
---|
|