File operation takes 35 seconds or longer on a down-level server running an SMB service

This article has been archived. It is offered "as is" and will no longer be updated.
On a Microsoft Windows 2000-based computer, when you perform a file operation to a down-level (non-Microsoft Windows NT-based) server that is running a server message block (SMB) service, for example an OS/2 Warp 4 server, the file operation may take approximately 35 seconds or longer to complete.

For example, this problem may occur when you open a file or when you modify file attributes on the down-level server.

Also, overall computer performance may decrease when your Windows 2000-based computer accesses files on the down-level server.

This problem may occur after you do one or both of the following:
  • Install Microsoft Windows 2000 Service Pack 3 (SP3).
  • Install the fix that is described in the following Microsoft Knowledge Base article:
    301952 Slow performance when you access files on servers
This problem occurs when a total file lock (oplock) is sent to the client that issued the request, and the client does not answer. As a result, the server waits for the oplock timeout to occur. On an OS/2 server, the minimum break oplock timeout is 35 seconds.

Part 1: Download and Install the Update

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language. 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   --------------------------------------------------   04-Jun-2003 17:18 5.0.2195.6752 407,792 Mrxsmb.sys   04-Jun-2003 17:18 5.0.2195.6752 168,496 Rdbss.sys

Part 2: Turn Off Opportunistic Locking

After you install this update on a Windows 2000-based computer, turn off opportunistic locking. To do this, follow these steps:
  1. Quit all Windows 2000 programs.
  2. Click Start, and then click Run.
  3. In the Open box, type regedit and then click OK.
  4. Locate, and then select the following key in the Windows registry:
  5. On the Edit menu, point to New, and then click DWORD Value.
  6. Type OplocksDisabled, and then press ENTER.
  7. Right-click OplocksDisabled, and then click Modify.
  8. In the Value data box, type 1, and then click OK.
  9. On the Registry menu, click Exit.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
296264 Configuring opportunistic locking in Windows
For 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:
265173 The Datacenter Program and Windows 2000 Datacenter Server product
oplocks opportunistic lock locking OS2 samba lanman21 slow server HPFS386 file system GetExtendedAttributes

Article ID: 818396 - Last Review: 02/27/2014 21:18:31 - Revision: 5.6

  • Microsoft Windows 2000 Advanced Server SP3
  • Microsoft Windows 2000 Service Pack 3
  • Microsoft Windows 2000 Service Pack 3
  • Microsoft Windows 2000 Advanced Server SP4
  • Microsoft Windows 2000 Service Pack 4
  • Microsoft Windows 2000 Professional Edition
  • kbnosurvey kbarchive kbautohotfix kbhotfixserver kbqfe kbfix kbbug KB818396