The Windows Redirector May Cancel a Session During a Long Locking Operation
- Client A locks a file on the file server.
- Client B also tries to lock the same file by calling the LockFileEx(hFile,LOCKFILE_EXCLUSIVE_LOCK,...) function.
- The file server never returns the SMB call to client B because client A still has the file locked.
- The client B redirector times out and disconnects the session. (The time-out period is controlled by the Sesstimeout registry setting.)
Windows 2000To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in theMicrosoft Knowledge Base:
Hotfix informationA 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.
File informationThe English version of this fix should have the following file attributes or later:
Date Time Version Size File name --------------------------------------------------------- 11-Mar-2002 13:14:40 5.0.2195.5059 370,480 Mrxsmb.sys 07-Mar-2002 13:16:30 5.0.2195.5042 131,920 Rdbss.sys
The fix is to treat the SMB Lock & X command as a long-standing SMB. This makes the command exempt from the Sesstimeout timer. The redirector will wait as long as it must.
Windows XPTo resolve this problem, obtain the latest service pack for Windows XP. For additional information, click the following article number to view the article in theMicrosoft Knowledge Base:
Article ID: 320310 - Last Review: 01/17/2015 15:17:25 - Revision: 4.0
- kbnosurvey kbarchive kbautohotfix kbhotfixserver kbqfe kbbug kbfix kboswin2000fix kbwin2000presp3fix kbwin2000sp3fix kbwinxpsp1fix KB320310