You have a domain controller running Windows Small Business Server 2003, and you have a domain joined Windows 7 Professional workstation. On this workstation is a user named Joe who uses a laptop and works remotely. Joe is the first at his company to have a Windows 7 computer that uses the Offline files feature. Joe cannot sync his files that are in his home network share. The following sync error appears: “The Process cannot access the file because it is being used by another process”
Every single file in the home share receives a sync error. When the user is disconnected from the network none of the files are available offline.
This problem requires you to make changes to the registry of the server. Use caution when editing registry values!
Ensure that the files aren’t infact being locked by a document management software suite or a security software. Popular computers featuring this typ of software are Dell and HP lap tops.
Offline Files in Windows 7 require Oplock to improve performance. Since Windows 7 uses SMB2.0 and Server 2003 uses SMB1 this error will occur simply because of oplocks being disabled.
On the Windows Small Business 2003 Server:
- Open up Registry editor by hitting Windows+R key and typing regedit followed by enter.
- In the left hand side browse to the following key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MRXSmb\Parameters.
- Create a DWORD value named OplocksDisabled and set it to 0 (Not disabled).
- On the left hand side browse to the following key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters.
- Change the following DWORD value EnableOplocks to 1 (Enabled).