Article ID: 306850 - View products that this article applies to.
This article was previously published under Q306850
NoticeThis article applies to Windows 2000. Support for Windows 2000 ends on July 13, 2010. The Windows 2000 End-of-Support Solution Center
(http://support.microsoft.com/?scid=http%3a%2f%2fsupport.microsoft.com%2fwin2000)is a starting point for planning your migration strategy from Windows 2000. For more information see the Microsoft Support Lifecycle Policy
When you start a program, the program may run very slowly if the following conditions are true:
This problem may occur because a program that lacks the "Start in" property starts in the current working folder. The current working folder is typically the user's home folder. The search order for dynamic link libraries (DLLs) includes the current working folder first, and then the folders that are specified in the system path. This contributes to slow performance over high-latency connections such as a wide area network or virtual private network connections.
To resolve this problem, obtain the latest service pack for Windows 2000. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
260910The English version of this fix should have the following file attributes or later:
(http://support.microsoft.com/kb/260910/ )How to obtain the latest Windows 2000 service pack
If you are using Windows 2000 Service Pack 3 (SP3) or later, and you did not install the hotfix that is described in this article before you updated to SP3 or later, you must configure the registry manually to enable the preemptive path search:
Date Time Version Size File name -------------------------------------------------------- 06-Sep-2001 16:07 5.0.2195.4272 708,368 Kernel32.dll
To work around this problem, change the "Start in" property of the program shortcut to be a folder on a local drive or on a computer that is accessible over a low-latency connection.
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 Windows 2000 Service Pack 3.
This hotfix adds the following registry value:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SafeDllSearchModeThe registry value is set to 1. With a setting of 1, the system first searches the folders that are specified in the system path, and then searches the current working folder. With a setting of 0, the system first searches the current working folder, and then searches the folders that are specified in the system path.
The SearchPath() function searches for a specified file in a specified path. The function searches for a matching file in the following directories in the following sequence:
Set the Type parameter to REG_DWORD and set the Data parameter to 1.
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer Name: StartRunNoHOMEPATH
For more informationabout this behavior, click the following article number to view the article in the Microsoft Knowledge Base:
264061For more information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/264061/ )Home folder is searched first when you try to run a program
265173For more information about how to install multiple hotfixes with only one reboot, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/265173/ )The Datacenter program and Windows 2000 Datacenter Server product
296861For more information about how to install Windows 2000 and Windows 2000 hotfixes at the same time, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/296861/ )Use QChain.exe to install multiple hotfixes with one reboot
(http://support.microsoft.com/kb/249149/ )Installing Microsoft Windows 2000 and Windows 2000 hotfixes
Article ID: 306850 - Last Review: April 2, 2007 - Revision: 6.5
Contact us for more help