If you try to open a file on a computer that is running Windows over the network and the file is open on another client computer that has sharing restrictions, there is a delay of approximately one second before the sharing violation error message is returned.
If a client application is accessing a number of files on the server, this delay may become significant. These symptoms can be easily seen with any multi-user, file-based application, such as the Jet database engine that has shared database files like Access.
To resolve this issue, it may be best to turn off this optimization. To do so, you must make the following two registry additions.
1. Start Registry Editor by running regedit.
![]()
2. Locate the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
3. Add the following information:
Value Name: SharingViolationDelay
Data Type: REG_DWORD
Data: 0 (Default: 200)
Value Name: SharingViolationRetries
Data Type: REG_DWORD
Data: 0 (Default: 5)
Finally, quit Registry Editor, and then restart the computer.
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
Ben Carigtan shows you how it’s done.



MOST COMMENTED
Fix “Windows was unable to find a certificate to log you on to the network”
Share a Printer from XP to Windows 7
99 ways to Make Your Computer Blazingly Fast
Windows 7 File Search Indexing Options