System stops responding, slow file server performance, or delays occur when you work with files that are located on a file server
This article provides a solution to performance issues that occur when you work with files that are located on a file server.
Applies to: Windows 10 - all editions, Windows Server 2012 R2
Original KB number: 822219
You may experience one or more of the following symptoms when you work with files over the network:
A Windows-based file server that is configured as a file and print server stops responding and file and print server functionality temporarily stops.
You experience an unexpectedly long delay when you open, save, close, delete, or print files that are located on a shared resource.
You experience a temporary decrease in performance when you use a program over the network. Performance typically slows down for approximately 40 to 45 seconds. However, some delays may last up to 5 minutes.
You experience a delay when you perform file copy or backup operations.
Windows Explorer stops responding when you connect to a shared resource or you see a red X on the connected network drive in Windows Explorer.
When you log on to the file server, after you type your name and password in the Log On to Windows dialog box, a blank screen appears. The desktop does not appear.
A program that uses remote procedure call (RPC) or uses named pipes to connect to a file server stops responding.
The server temporarily stops responding and one or more event ID messages similar to the following messages appear in the System log on the file server.
You receive an error message similar to one of the following messages when you try to connect to a shared resource:
Error message 1
System error 53. The network path was not found.
Error message 2
System error 64. The specified network name is no longer available.
You are intermittently disconnected from network resources, and you cannot reconnect to the network resources on the file server. However, you can ping the server, and you can use a Remote Desktop Services session to connect to the server.
If multiple users try to access Microsoft Office documents on the server, the File is locked for editing dialog box does not always appear when the second user opens the file.
A network trace indicates a 30 to 40-second delay between an SMB Service client command and a response from the file server.
When you try to open an Access 2.0 database file (.mdb file) in Microsoft Access 97, in Access 2000, or in Access 2002, you may receive an error message that is similar to the following:
Disk or network error.
When you try to open a Microsoft Word file, you may receive the following error message:
Word failed reading from this file file_name. Please restore the network connection or replace the floppy disk and retry.
This issue may occur if a non-Microsoft program that is installed on your computer uses an outdated kernel-mode filter driver. The kernel-mode filter driver may be outdated if the following conditions are true:
One of the following programs is installed on the computer:
ARCserve Backup Agent for Open Files or ARCserve Open File Agent from Computer Associates International, Inc. is installed on your computer, and the Ofant.sys driver for the program is outdated.
Open Transaction Manager is installed on your computer, and the Otman.sys driver for the program is outdated.
Open Transaction Manager is included with certain programs from VERITAS Software Corporation, but it can also be installed separately from the VERITAS program. For example, Open Transaction Manager may be included with Open File Option. This program may be included with VERITAS Backup Exec.
A VERITAS program that uses the Otman4.sys or Otman5.sys driver (such as Open File Option) is installed on your computer, and the Otman4.sys or Otman5.sys driver for the program is outdated.
The driver for the program is incompatible with the filter driver that is installed on the computer by a non-Microsoft antivirus program. As a result, the filter driver on the server may return an incorrect status code to the Server service. For example, the filter driver may return a STATUS_SUCCESS code instead of a STATUS_OPLOCK_BREAK_IN_PROGRESS code.
To resolve this issue, contact the manufacturer of the program to inquire about the availability of a filter driver update. For more information about how to contact Computer Associates to obtain the latest update for the Ofant.sys driver, visit Computer Associates.
If you installed Open Transaction Manager separately, contact Columbia Data Products, Inc. to inquire about the availability of an update that may resolve this issue. To contact Columbia Data Products, visit Columbia Data Products.
For more information about how to contact VERITAS, visit VERITAS support
This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, see How to back up and restore the registry in Windows.
To temporarily work around this issue, restart the Server services on the server. To restart the Server services, follow these steps:
Click Start, and then click Run.
In the Open box, type cmd, and then click OK.
At the command prompt, type the following lines, and press Enter after each line:
net stop server net start server
To troubleshoot this issue, use any of the following methods:
Use Performance Logs and Alerts to monitor the Avg. Disk Queue Length counter of the PhysicalDisk performance object. Under ordinary conditions, the number of waiting input/output (I/O) requests is typically no more than 1.5 to 2 times the number of spindles that the physical disk has. Most disks have one spindle, although redundant array of independent disks (RAID) devices typically have more than one spindle. When a program runs small successive I/O operations, you see a spike in the Current Disk Queue Length counter when I/O-bound operations are queued. You may also see an increase in the Context Switches/sec counter of the System performance object.
Disable opportunistic locking on either the client or on the server. To disable opportunistic locking on the client, set the following registry value to 1:
To disable opportunistic locking on the server, set the following registry value to 0:
For more information about how to disable opportunistic locking, see Configuring opportunistic locking in Windows.
Edit the registry to temporarily deactivate the filter driver.
For more information about how to temporarily deactivate the kernel-mode filter driver, see How to temporarily deactivate the kernel mode filter driver in Windows.
The registry key that stores information for the Ofant.sys driver is Ofadriver.
Third-party information disclaimer
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.